|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eodisp.ui.common.components.AbstractEodispModel
org.eodisp.ui.mm.models.MmFederateInfoModel
public class MmFederateInfoModel
This is the model for the MmFederateInfoDialog dialog.
| Constructor Summary | |
|---|---|
MmFederateInfoModel(Federate federate)
Constructor. |
|
| Method Summary | |
|---|---|
void |
doSave()
Executes the save command in the model. |
java.lang.String |
getInfoText()
Returns the information text stored in the repository together with the federate. |
boolean |
hasChanges()
Returns a value stating whether the model has some changes since the last change. |
void |
setInfoText(java.lang.String infoText)
Sets the information text stored in the repository together with the federate. |
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 |
|---|
public MmFederateInfoModel(Federate federate)
federate - The federate for which information should be received or
stored.| Method Detail |
|---|
public void doSave()
throws java.io.IOException
java.io.IOException - thrown when the data could not be saved persistently. This
should lead to a visual indication to the user.public boolean hasChanges()
public void undo()
undo in interface EodispModelundo in class AbstractEodispModelpublic java.lang.String getInfoText()
In order to get this text, the application must be connected to the repository and the federate must be registered.
public void setInfoText(java.lang.String infoText)
In order to set this text, the application must be connected to the repository and the federate must be registered.
infoText - the additional information to be associated with the federate.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||