|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.w3c.jigadm.editors.ResourceHelper
|
+--org.w3c.jigadmin.editors.ResourceHelper
|
+--org.w3c.jigadmin.editors.FramedResourceHelper
The resource editor.
| Field Summary | |
protected javax.swing.JPanel |
attrs
|
protected FrameBrowser |
browser
|
protected javax.swing.JPanel |
comp
|
protected java.lang.String |
name
|
protected RemoteResourceWrapper |
rrw
|
protected RemoteResourceWrapper |
selected_rrw
|
| Fields inherited from class org.w3c.jigadm.editors.ResourceHelper |
rls |
| Constructor Summary | |
FramedResourceHelper()
|
|
| Method Summary | |
protected void |
build(boolean framed)
Build the interface |
void |
clearChanged()
set the current resource to be the original resource (ie: the hasChanged() method must return false now. |
void |
commitChanges()
commit the changes (if any) |
java.awt.Component |
getComponent()
Get the heper Component |
javax.swing.JMenuBar |
getMenuBar(java.awt.Window parent)
Get the dedicated MenuBar |
java.lang.String |
getTitle()
Get the helper title. |
boolean |
hasChanged()
tells if the edited resource in the helper has changed |
void |
initialize(RemoteResourceWrapper rw,
java.util.Properties p)
initialize the helper |
void |
resetChanges()
undo the not-yet-commited changes |
protected void |
updateAttrs(RemoteResourceWrapper rrw)
Update the AttributesHelper |
| Methods inherited from class org.w3c.jigadmin.editors.ResourceHelper |
errorPopup, msgPopup |
| Methods inherited from class org.w3c.jigadm.editors.ResourceHelper |
addResourceListener, getValue, processEvent, removeResourceListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String name
protected javax.swing.JPanel comp
protected javax.swing.JPanel attrs
protected RemoteResourceWrapper rrw
protected RemoteResourceWrapper selected_rrw
protected FrameBrowser browser
| Constructor Detail |
public FramedResourceHelper()
| Method Detail |
public java.lang.String getTitle()
getTitle in class ResourceHelperpublic java.awt.Component getComponent()
getComponent in class ResourceHelperpublic boolean hasChanged()
public void clearChanged()
public void commitChanges()
throws RemoteAccessException
RemoteAccessException - if a remote access error occurs.public void resetChanges()
protected void updateAttrs(RemoteResourceWrapper rrw)
rrw - the RemoteResourceWrapper of the RemoteReource to edit.
public void initialize(RemoteResourceWrapper rw,
java.util.Properties p)
throws RemoteAccessException
p - some Properties, used to fine-tune the helper
RemoteAccessException - if a remote access error occurs.public javax.swing.JMenuBar getMenuBar(java.awt.Window parent)
parent - the Window parent.protected void build(boolean framed)
framed - is the resource a FramedResource or not?
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||