edu.bonn.xulu.appl
Class ModelControlManager
java.lang.Object
AbstractObjectTraceable
edu.bonn.xulu.appl.AbstractManager
edu.bonn.xulu.appl.ModelControlManager
- All Implemented Interfaces:
- XuluComponent, XuluConstants
public class ModelControlManager
- extends AbstractManager
Der ModelManager verwaltet alle in der Xulu-Modelling-Platform aktiven
Modell-Instanzen durch eine Liste der zugehoerigen Kontrollfenster.
Der Manager fungiert als AbstractObjectTraceable
,
so dass ObjectListener
angeschlossen werden
koennen, welche automatisch durch ein AbstractManager.ChangeEvent
informiert werden, wenn sich der Inhalt des Managers aendert.
- Version:
- 1.0
- Author:
- Martin Schmitz (University of Bonn/Germany)
Fields inherited from interface edu.bonn.xulu.appl.XuluConstants |
EXTENTION_BUNDLE, ICONS_DIR, LOCALES_BASE, RESOURCE_DIR, SWING_RES, VERSION, VERSION_DATE, XULU_ICON, XULU_INFOICON, XULU_STARTICON, XULU_VIS_RES, XULUERR_RES, XULUGUI_RES |
Methods inherited from class edu.bonn.xulu.appl.AbstractManager |
add, add, checkDuplicateAndError, dispose, get, getCount, getDuplicatedAllowed, isDisposed, remove, remove, removeAll |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModelControlManager
public ModelControlManager()
- Erzeugt einen neuen (leeren) ModelManager.
checkComponentAndError
public void checkComponentAndError(AbstractManager.ContentType comp)
- Prueft, ob eine Komponente im ModelManager verwaltet werden
kann.
- Specified by:
checkComponentAndError
in class AbstractManager
- Parameters:
comp
- Komponente
- Throws:
UnsupportedOperationException
- falls es sich bei der Komponente
nicht um eine Instanz von ModelControlFrame
handelt
getAll
public ModelControlFrame[] getAll()
- Liefert alle registrierte Modell-Kontroll-Fenster als Array.
- Overrides:
getAll
in class AbstractManager
- Returns:
- leerer
ModelControlFrame[]
-Array falls keine Instanzen
im Manager registriert sind.