|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DESModelType
Descriptor for a DES model type. A plugin wishing to implement a new DES
model type should implement this interface and the register it with the
ModelManager.
ModelManager.registerModel(DESModelType)| Method Summary | |
|---|---|
DESModel |
createModel(java.lang.String name)
Creates and returns a new model of this type. |
java.lang.String |
getDescription()
Returns a human-readable description of this type of model. |
java.awt.Image |
getIcon()
Returns an small image (icon) which can be displayed to the user to identify the model type. |
java.lang.Class<?> |
getMainPerspective()
Returns the "main" perspective of models of this type. |
java.lang.Class<?>[] |
getModelPerspectives()
Returns all the DES model perspectives which models of this type implement. |
| Method Detail |
|---|
java.lang.Class<?>[] getModelPerspectives()
FSAModel. Custom perspectives can be returned as well.
java.lang.Class<?> getMainPerspective()
FSAModel perspective
since this is the main perspective of the model.
java.lang.String getDescription()
"Petri net".
java.awt.Image getIcon()
DESModel createModel(java.lang.String name)
name - the name which will be used to identify the model instance.
Preferably a unique string.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||