org.eodisp.ui.shared.models
Class RemoteConfModel

java.lang.Object
  extended by org.eodisp.ui.common.components.AbstractEodispModel
      extended by org.eodisp.ui.shared.models.RemoteConfModel
All Implemented Interfaces:
EodispModel

public class RemoteConfModel
extends AbstractEodispModel

Version:
$Id:$
Author:
eglimi

Constructor Summary
RemoteConfModel()
           
 
Method Summary
 void doSave()
          Executes the save command in the model.
 org.eodisp.util.configuration.Configuration getRemoteConfigurator()
           
 boolean hasChanges()
          Returns a value stating whether the model has some changes since the last change.
 void undo()
          This makes and undo of the last command executed by the model.
 
Methods inherited from class org.eodisp.ui.common.components.AbstractEodispModel
addModelListener, doUpdate, fireModelChanged, getModelListener, redo, removeModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteConfModel

public RemoteConfModel()
Method Detail

doSave

public void doSave()
            throws java.io.IOException
Description copied from interface: EodispModel
Executes the save command in the model. This saves the changes since the last save persistently.

Throws:
java.io.IOException - thrown when the data could not be saved persistently. This should lead to a visual indication to the user.

undo

public void undo()
This makes and undo of the last command executed by the model. How an undo is implemented depends on the model. This operation might not be available on all models. Models not supporting undo should ignore such a request.

Specified by:
undo in interface EodispModel
Overrides:
undo in class AbstractEodispModel

hasChanges

public boolean hasChanges()
Returns a value stating whether the model has some changes since the last change.

Returns:
True if the model has changes since the last change or false, if there are no changes.

getRemoteConfigurator

public org.eodisp.util.configuration.Configuration getRemoteConfigurator()