Extension SDK 10.1.2


oracle.ide.model
Class IdeSystem

java.lang.Object
  extended byoracle.ide.model.DefaultDisplayable
      extended byoracle.ide.model.DefaultElement
          extended byoracle.ide.model.DefaultDocument
              extended byoracle.ide.model.DefaultNode
                  extended byoracle.ide.model.DataNode
                      extended byoracle.ide.model.DataContainer
                          extended byoracle.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.
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, fireObjectOpened, getURL, open, 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, getLongLabel, getSubject, getTimestamp, getTimestampDirectly, isDirty, isNew, isOpen, isReadOnly, markDirty, notifyObservers, refreshTimestamp, setOpen, setTimestampDirectly, setURLDirectly

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
getLongLabel, 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
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

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.
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)

Extension SDK


Copyright © 1997, 2004, Oracle. All rights reserved.