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, getLongLabel, getSubject, getTimestamp, getTimestampDirectly, isDirty, isNew, isOpen, isReadOnly, markDirty, notifyObservers, refreshTimestamp, setOpen, setTimestampDirectly, setURLDirectly |
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
- See Also:
- Constant Field Values
EXT
public static final java.lang.String EXT
- See Also:
- Constant Field Values
FILENAME
public static final java.lang.String FILENAME
- See Also:
- Constant Field Values
NAMESPACE_URI
public static final java.lang.String NAMESPACE_URI
ROOT_TAG
public static final java.lang.String ROOT_TAG
- See Also:
- Constant Field Values
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
.
- Specified by:
getShortLabel
in interface Displayable
- Overrides:
getShortLabel
in class DefaultDocument
- See Also:
Displayable.getShortLabel()
getIcon
public javax.swing.Icon getIcon()
- Element interface method. Returns the system icon.
- Specified by:
getIcon
in interface Displayable
- Overrides:
getIcon
in class DefaultDisplayable
- See Also:
DefaultDisplayable.getIcon()
,
Displayable.getIcon()
getToolTipText
public java.lang.String getToolTipText()
- Element interface method. Always returns
null
.
- Specified by:
getToolTipText
in interface Displayable
- 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
.
- Specified by:
canRemove
in interface Folder
- Overrides:
canRemove
in class DataContainer
- Returns:
true
if and only if the specified
Element
is not null
.- 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.
- Specified by:
remove
in interface Folder
- Overrides:
remove
in class DataContainer
- See Also:
Folder.remove(Element)
getChild
public Element getChild(java.lang.Object key)
Copyright © 1997, 2004, Oracle. All rights reserved.