Extension SDK

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.


Field Summary
static java.lang.String EXT
           
static java.lang.String FILENAME
           
static java.lang.String NAMESPACE_URI
           
static java.lang.String ROOT_TAG
           
static java.lang.String SYSTEM
           
 
Fields inherited from class oracle.ide.model.DataContainer
_children
 
Fields inherited from class oracle.ide.model.DataNode
_objectStore
 
Fields inherited from interface oracle.ide.addin.Subject
OBJECT_MODIFIED
 
Fields inherited from interface oracle.ide.model.Category
UNDEFINED
 
Constructor Summary
IdeSystem()
          Default constructor.
IdeSystem(java.net.URL url)
           
 
Method Summary
 boolean canRemove(Element element)
          Folder interface method.
 Element getChild(java.lang.Object key)
           
 javax.swing.Icon getIcon()
          Element interface method.
 java.lang.String getLongLabel()
          Returns a long label that can be displayed to the user.
 Preferences getPreferences()
          Get the current Preferences object.
 java.lang.String getShortLabel()
          Returns a short label that can be displayed to the user.
 java.lang.String getToolTipText()
          Element interface method.
 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.
 void setPreferences(Preferences preferences)
          Set the current Preferences object.
 
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.DataNode
currentObjectStore, getURL, open, reopen, save, setObjectStore
 
Methods inherited from class oracle.ide.model.DefaultNode
equalsImpl, getCategory, setURL
 
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 oracle.ide.model.DefaultElement
getAttributes, getData
 
Methods inherited from class oracle.ide.model.DefaultDisplayable
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface oracle.ide.model.Document
getInputStream, getTimestamp, isNew, isReadOnly, open, save
 
Methods inherited from interface oracle.ide.model.Locatable
getURL, setURL
 
Methods inherited from interface oracle.ide.model.Element
getAttributes
 
Methods inherited from interface oracle.ide.model.Data
getData
 
Methods inherited from interface oracle.ide.model.Displayable
toString
 
Methods inherited from interface oracle.ide.addin.Subject
attach, detach, notifyObservers
 
Methods inherited from interface oracle.ide.model.Dirtyable
isDirty, markDirty
 
Methods inherited from interface oracle.ide.model.LazyLoadable
isOpen
 
Methods inherited from interface oracle.ide.model.Category
getCategory
 

Field Detail

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
Constructor Detail

IdeSystem

public IdeSystem()
Default constructor. Required for JavaBean status.

IdeSystem

public IdeSystem(java.net.URL url)
Method Detail

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)

Extension SDK