Extension SDK 10.1.3.36.73

oracle.ide.model
Class IdeSystem

java.lang.Object
  extended byoracle.ide.model.Node
      extended byoracle.ide.model.DataNode
          extended byoracle.ide.model.DataContainer
              extended byoracle.ide.model.IdeSystem
All Implemented Interfaces:
oracle.javatools.data.Dirtyable, Dirtyable, Displayable, Element, Folder, LazyLoadable, Locatable, Observer, oracle.javatools.data.PropertyStorage, 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
           
 
Constructor Summary
IdeSystem()
          Default constructor.
IdeSystem(java.net.URL url)
           
 
Method Summary
 boolean canRemove(Element element)
          Folder interface method.
 Element getChild(java.lang.Class type)
           
 javax.swing.Icon getIcon()
          Element interface method.
 java.util.List getListOfChildren()
          Fulfills the public accessor part of the Folder contract.
 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, closeImpl, containsChild, equals, equalsImpl, getBaseDirectory, getChildren, getProperties, getProperty, getProperty, getSharedPropertiesOnly, getTransientProperties, getUserPropertiesOnly, mayHaveChildren, openImpl, postCloseImpl, remove, removeAll, removeAll, resetSubDirtyableOwners, setListOfChildren, setProperty, setSubDirtyableOwner, size, update
 
Methods inherited from class oracle.ide.model.DataNode
getObjectStoreTarget, getURL, newObjectStore, saveImpl
 
Methods inherited from class oracle.ide.model.Node
_getReadWriteLockInternal, addNodeListener, addNodeListenerForType, addNodeListenerForTypeHierarchy, attach, close, createSubject, delete, deleteImpl, detach, ensureOpen, equalsImpl, getAttributes, getData, getInputStream, getLongLabel, getSubject, getTimestamp, isDirty, isNew, isOpen, isReadOnly, isTrackedInNodeCache, markDirty, notifyObservers, open, refreshTimestamp, removeNodeListener, removeNodeListenerForType, removeNodeListenerForTypeHierarchy, rename, renameImpl, reportOpenException, revert, revertImpl, runWhileSynchronized, save, setOpen, setTimestampDirectly, setURL, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface oracle.ide.model.Element
getAttributes, getData
 
Methods inherited from interface oracle.ide.model.Displayable
getLongLabel, toString
 

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

getListOfChildren

public java.util.List getListOfChildren()
Description copied from class: DataContainer
Fulfills the public accessor part of the Folder contract.

Overrides:
getListOfChildren in class DataContainer
Returns:
a List view of the child @{link Element}s contained by this DataFolder.

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 Node

getIcon

public javax.swing.Icon getIcon()
Element interface method. Returns the system icon.

Specified by:
getIcon in interface Displayable
Overrides:
getIcon in class Node
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 Node
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.Class type)

Extension SDK 10.1.3.36.73

 

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