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, setStateIf
attach, detach, fireStateChanged, fireStructureChanged, getData, getParent, getWaitCursor, isWaitCursorEnabled, notifyObservers, setManageable, setWaitCursorEnabled, update
getAttributes
getLongLabel, getToolTipText, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAttributes, getData
getLongLabel, getToolTipText, toString
public 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()
DefaultManageableFolder
loadChildren
in class DefaultManageableFolder
public int size()
Folder
size
in interface Folder
size
in class DefaultManageableFolder
public java.util.List<Manageable> getManageables()
getManageables
in interface CompositeManageable
public javax.swing.Icon getIcon()
DefaultDisplayable
getIcon
in interface Displayable
getIcon
in class DefaultManageableFolder
Icon
to be displayed for the
Displayable
.Displayable.getIcon()
public java.lang.String getShortLabel()
DefaultDisplayable
String
.getShortLabel
in interface Displayable
getShortLabel
in class DefaultDisplayable
Displayable
that can be shown to the user.Displayable.getShortLabel()