oracle.ide.model
Class IdeSystem
java.lang.Object
|
+--oracle.ide.model.DefaultDisplayable
|
+--oracle.ide.model.DefaultElement
|
+--oracle.ide.model.DefaultDocument
|
+--oracle.ide.model.DefaultNode
|
+--oracle.ide.model.DataNode
|
+--oracle.ide.model.DataContainer
|
+--oracle.ide.model.IdeSystem
- All Implemented Interfaces:
- Category, Container, Data, Dirtyable, Displayable, Document, Element, Folder, LazyLoadable, Locatable, Node, Subject
- public final class IdeSystem
- extends DataContainer
This a new class that is under development to replace IdeSystem.
Methods inherited from class oracle.ide.model.DataContainer |
add, add, add, canAdd, close, containsChild, copyToImpl, getBaseDirectory, getChildren, getListOfChildren, mayHaveChildren, remove, removeAll, removeAll, resetSubDirtyableOwners, setListOfChildren, setSubDirtyableOwner, size |
Methods inherited from class oracle.ide.model.DefaultDocument |
attach, copyToImpl, createSubject, detach, ensureOpen, equalsImpl, getInputStream, getSubject, getTimestamp, getTimestampDirectly, isDirty, isNew, isOpen, isReadOnly, markDirty, notifyObservers, refreshTimestamp, setOpen, setTimestampDirectly |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.ide.model.Data |
getData |
SYSTEM
public static final java.lang.String SYSTEM
EXT
public static final java.lang.String EXT
FILENAME
public static final java.lang.String FILENAME
NAMESPACE_URI
public static final java.lang.String NAMESPACE_URI
ROOT_TAG
public static final java.lang.String ROOT_TAG
IdeSystem
public IdeSystem()
- Default constructor. Required for JavaBean status.
IdeSystem
public IdeSystem(java.net.URL url)
getPreferences
public Preferences getPreferences()
- Get the current
Preferences
object.
setPreferences
public void setPreferences(Preferences preferences)
- Set the current
Preferences
object.
getShortLabel
public java.lang.String getShortLabel()
- Description copied from interface:
Displayable
- Returns a short label that can be displayed to the user.
Generally, the value of the returned
String
is considered
translatable and should therefore be placed in an appropriate
resource file. When possible, the returned label should be
reasonably short enough to show in the navigator or explorer
windows but long enough to clearly identify and distinguish the
Displayable
.
- Overrides:
getShortLabel
in class DefaultDocument
- Following copied from interface:
oracle.ide.model.Displayable
- Returns:
- a short descriptive label of the
Displayable
that can be shown to the user.
getLongLabel
public java.lang.String getLongLabel()
- Description copied from interface:
Displayable
- Returns a long label that can be displayed to the user. Generally,
the value of the returned
String
is considered translatable
and should therefore be placed in an appropriate resource file.
The long label differs from the short label essentially on length.
Usually the long label will only be shown on-demand and in places
where horizontal space is more available. Examples are the status
bar and tooltips.
- Overrides:
getLongLabel
in class DefaultDocument
- Following copied from interface:
oracle.ide.model.Displayable
- Returns:
- a long descriptive label of the
Displayable
that
can be shown to the user.
getIcon
public javax.swing.Icon getIcon()
- Element interface method. Returns the system icon.
- Overrides:
getIcon
in class DefaultDisplayable
- See Also:
DefaultDisplayable.getIcon()
,
Displayable.getIcon()
getToolTipText
public java.lang.String getToolTipText()
- Element interface method. Always returns
null
.
- Overrides:
getToolTipText
in class DefaultDocument
- See Also:
DefaultDisplayable.getToolTipText()
,
Displayable.getToolTipText()
canRemove
public boolean canRemove(Element element)
- Folder interface method. Returns
true
if the folder is
the MiscellaneousFolder
.
- Overrides:
canRemove
in class DataContainer
- See Also:
DefaultFolder.canRemove(Element)
,
Folder.canRemove(Element)
remove
public boolean remove(Element element)
- If the specified
Element
is the MiscellaneousFolder
,
then all children are first removed from the folder; otherwise, let the
superclass remove the element.
- Overrides:
remove
in class DataContainer
- Following copied from class:
oracle.ide.model.DataContainer
- See Also:
Folder.remove(Element)
getChild
public Element getChild(java.lang.Object key)