public class AppServerNavigatorModel extends DefaultManageableFolder implements CompositeManageable
DefaultManageableElement.TypeIterator<T>manageable_, STATE_CHANGED, STRUCTURE_CHANGED| Constructor and Description |
|---|
AppServerNavigatorModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(AppServerRoots roots)
Add a new
AppServerRoots to this model. |
javax.swing.Icon |
getIcon()
This implementation returns a plain document icon.
|
AppServerRoots |
getIdeAppServerRoots()
Returns the
AppServerRoots for IDE connections. |
java.util.List<Manageable> |
getManageables() |
java.lang.String |
getShortLabel()
This implementation returns a place-holder
String. |
protected java.util.List<Element> |
loadChildren()
Refresh the children cache.
|
void |
remove(AppServerRoots roots)
Remove an
AppServerRoots from this model. |
int |
size()
Returns the current number of children in the folder.
|
add, canAdd, canRemove, containsChild, fetchOnBackgroundThread, getChildren, getChildrenList, getManageable, mayHaveChildren, moStateChanged, moStructureChanged, recognize, refresh, refreshFolder, reloadChildren, remove, removeAll, setStateIfattach, detach, fireStateChanged, fireStructureChanged, getData, getParent, getWaitCursor, isWaitCursorEnabled, notifyObservers, setManageable, setWaitCursorEnabled, updategetAttributesgetLongLabel, getToolTipText, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAttributes, getDatagetLongLabel, getToolTipText, toStringpublic void add(AppServerRoots roots)
AppServerRoots to this model.
Caller should call fireStructureChanged to ensure views on this model
are notified.roots - public void remove(AppServerRoots roots)
AppServerRoots from this model.
Client should call fireStructureChanged to ensure that all views
are notified.roots - a container of AppServerRoot objectspublic AppServerRoots getIdeAppServerRoots()
AppServerRoots for IDE connections.protected java.util.List<Element> loadChildren()
DefaultManageableFolderloadChildren in class DefaultManageableFolderpublic int size()
Foldersize in interface Foldersize in class DefaultManageableFolderpublic java.util.List<Manageable> getManageables()
getManageables in interface CompositeManageablepublic javax.swing.Icon getIcon()
DefaultDisplayablegetIcon in interface DisplayablegetIcon in class DefaultManageableFolderIcon to be displayed for the
Displayable.Displayable.getIcon()public java.lang.String getShortLabel()
DefaultDisplayableString.getShortLabel in interface DisplayablegetShortLabel in class DefaultDisplayableDisplayable
that can be shown to the user.Displayable.getShortLabel()