org.w3c.jigadm.editors
Class ResourcesHelper
java.lang.Object
org.w3c.jigadm.editors.ResourceHelper
org.w3c.jigadm.editors.ResourcesHelper
- All Implemented Interfaces:
- ResourceHelperInterface
public class ResourcesHelper
- extends ResourceHelper
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourcesHelper
public ResourcesHelper()
addResource
protected void addResource()
getWrapper
protected RemoteResourceWrapper getWrapper()
getComponent
public java.awt.Component getComponent()
- Specified by:
getComponent
in class ResourceHelper
commitChanges
public void commitChanges()
throws RemoteAccessException
- commit changes (if any)
- Throws:
RemoteAccessException
- if a remote access error occurs.
hasChanged
public boolean hasChanged()
- Description copied from interface:
ResourceHelperInterface
- tells if the edited resource in the helper has changed
- Returns:
- true if the values changed.
to get more informations about what has changed, you can use the
three methods below.
resetChanges
public void resetChanges()
- Description copied from interface:
ResourceHelperInterface
- undo the not-yet-commited changes
clearChanged
public void clearChanged()
- Description copied from interface:
ResourceHelperInterface
- set the current resource to be the original resource (ie: the
hasChanged() method must return false now.
to do a "fine tuned" reset, use one of the three following method.
getTitle
public final java.lang.String getTitle()
- Specified by:
getTitle
in class ResourceHelper
initAddPanel
protected void initAddPanel(java.util.Properties config)
initialize
public void initialize(RemoteResourceWrapper rrw,
java.util.Properties pr)
throws RemoteAccessException
- initialize this helper
- Parameters:
rrw
- The RemoteResourceWrapperpr
- The properties
- Throws:
RemoteAccessException
- if a remote access error occurs.