|
|||||||||
| 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.MmFederatesModel
public class MmFederatesModel
| Nested Class Summary | |
|---|---|
class |
MmFederatesModel.MmFederatesListModel
The list model for the list of federates. |
| Field Summary | |
|---|---|
static java.lang.String |
BUNDLE_DESCRIPTION
|
static java.lang.String |
BUNDLE_ID
|
static java.lang.String |
BUNDLE_NAME
|
static java.lang.String |
BUNDLE_VERSION
|
(package private) static org.apache.log4j.Logger |
logger
Log4J logger for this class |
| Constructor Summary | |
|---|---|
MmFederatesModel()
|
|
| Method Summary | |
|---|---|
void |
doSave()
Executes the save command in the model. |
void |
doUpdate()
Instructs the model to do an update of its data. |
java.lang.String |
getFederateInfo(FederateBean federateBean)
|
MmFederatesModel.MmFederatesListModel |
getFederatesListModel()
|
boolean |
hasChanges()
Returns a value stating whether the model has some changes since the last change. |
boolean |
isFedRegistered(Federate localFederate)
Checks if a Federate is already registered in the repository. |
void |
setTrustedSimManagers(Federate federate,
commonj.sdo.DataObject[] trustedSimManagers)
|
| Methods inherited from class org.eodisp.ui.common.components.AbstractEodispModel |
|---|
addModelListener, fireModelChanged, getModelListener, redo, removeModelListener, undo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static org.apache.log4j.Logger logger
public static final java.lang.String BUNDLE_NAME
public static final java.lang.String BUNDLE_ID
public static final java.lang.String BUNDLE_VERSION
public static final java.lang.String BUNDLE_DESCRIPTION
| Constructor Detail |
|---|
public MmFederatesModel()
| 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 void doUpdate()
AbstractEodispModel
Instructs the model to do an update of its data. Many
EodispModels are just intermediated models for view
components and do not hold the actual data. The actual data is usually
retrieved and maintained by a persistency framework. Thus, if the real
data has been changed, a model can be informed of this updated and it can
be instructed to reload the data.
This should in most cases lead to an update of the visual component representing the data as well.
doUpdate in interface EodispModeldoUpdate in class AbstractEodispModelpublic boolean hasChanges()
public MmFederatesModel.MmFederatesListModel getFederatesListModel()
public boolean isFedRegistered(Federate localFederate)
MmEmfHelper#isFederateRegistered(Object, Object).
somId - The id of the SOM in question.
public java.lang.String getFederateInfo(FederateBean federateBean)
public void setTrustedSimManagers(Federate federate,
commonj.sdo.DataObject[] trustedSimManagers)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||