Extension SDK 10.1.3.36.73

oracle.ide.model
Class MiscellaneousFolder

java.lang.Object
  extended byoracle.ide.model.Node
      extended byoracle.ide.model.DataNode
          extended byoracle.ide.model.DataContainer
              extended byoracle.ide.model.MiscellaneousFolder
All Implemented Interfaces:
oracle.javatools.data.Dirtyable, Dirtyable, Displayable, Element, Folder, LazyLoadable, Locatable, Observer, oracle.javatools.data.PropertyStorage, Subject

public class MiscellaneousFolder
extends DataContainer


Field Summary
static java.lang.String BASENAME
          The base filename of the file where the contents of the top-level 'Miscellaneous Files' folder are stored.
static java.lang.String EXT
          The file extension of the file where the contents of the top-level 'Miscellaneous Files' folder are stored.
static java.lang.String NAMESPACE_URI
          The namespace URI.
static java.lang.String ROOT_TAG
          The XML root tag name.
 
Constructor Summary
MiscellaneousFolder()
          Default constructor, used for beans instantiation.
 
Method Summary
 boolean canAdd(Element element)
          Part of the Folder interface.
 void checkAddToSystem()
           
 void checkRemoveFromSystem()
           
protected  void closeImpl()
          Subclasses should override this method to customize the close() behavior.
 javax.swing.Icon getIcon()
          Returns an Icon that can be shown in association with this Displayable.
 java.lang.String getLongLabel()
          Returns a long label that can be displayed to the user.
 java.lang.String getShortLabel()
          Returns a short label that can be displayed to the user.
 java.lang.String getToolTipText()
          Returns the tool tip text to show when the mouse pointer pauses over a UI component that represents this Displayable.
 boolean remove(Element element)
          Part of the Folder interface.
 
Methods inherited from class oracle.ide.model.DataContainer
add, add, add, canRemove, containsChild, equals, equalsImpl, getBaseDirectory, getChildren, getListOfChildren, 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, 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
toString
 

Field Detail

BASENAME

public static final java.lang.String BASENAME
The base filename of the file where the contents of the top-level 'Miscellaneous Files' folder are stored.

See Also:
Constant Field Values

EXT

public static final java.lang.String EXT
The file extension of the file where the contents of the top-level 'Miscellaneous Files' folder are stored.

See Also:
Constant Field Values

NAMESPACE_URI

public static final java.lang.String NAMESPACE_URI
The namespace URI.


ROOT_TAG

public static final java.lang.String ROOT_TAG
The XML root tag name.

See Also:
Constant Field Values
Constructor Detail

MiscellaneousFolder

public MiscellaneousFolder()
Default constructor, used for beans instantiation.

Method Detail

checkAddToSystem

public void checkAddToSystem()

checkRemoveFromSystem

public void checkRemoveFromSystem()

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

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.

Specified by:
getLongLabel in interface Displayable
Overrides:
getLongLabel in class Node

getToolTipText

public java.lang.String getToolTipText()
Description copied from interface: Displayable
Returns the tool tip text to show when the mouse pointer pauses over a UI component that represents this Displayable. In many cases it may be appropriate for this method to return the same value as Displayable.getLongLabel().

Specified by:
getToolTipText in interface Displayable
Overrides:
getToolTipText in class Node

getIcon

public javax.swing.Icon getIcon()
Description copied from interface: Displayable
Returns an Icon that can be shown in association with this Displayable. Typically the icon will be used in a tree control or list control. Therefore the icon must fit naturally within the space normally given to items within those controls. Such icons are usually 16x16 in size or, if there is a one-pixel transparent padding around the edge, 18x18 in size. It is strongly recommended that icons returned by this method be either 16x16 or 18x18 in size. If null is returned, the control may show a default icon, or it may show no icon, whichever is appropriate.

Specified by:
getIcon in interface Displayable
Overrides:
getIcon in class Node

remove

public boolean remove(Element element)
Description copied from class: DataContainer
Part of the Folder interface. The specified Element is removed from the child list. However, if the Element is null, this method does nothing. If the Element occurs more than once in the child list, then only the first instance is removed.

No notification is fired by this method.

Specified by:
remove in interface Folder
Overrides:
remove in class DataContainer
See Also:
Folder.remove(Element)

canAdd

public boolean canAdd(Element element)
Description copied from class: DataContainer
Part of the Folder interface. The default implementation returns true if and only if the specified Element is not null.

Specified by:
canAdd in interface Folder
Overrides:
canAdd in class DataContainer
Returns:
true if and only if the specified Element is not null.
See Also:
Folder.canAdd(Element)

closeImpl

protected void closeImpl()
                  throws java.io.IOException
Description copied from class: Node
Subclasses should override this method to customize the close() behavior.

Overrides:
closeImpl in class DataContainer
Throws:
java.io.IOException

Extension SDK 10.1.3.36.73

 

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