|
Extension SDK 10.1.3.36.73 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectoracle.ide.model.Node
oracle.ide.model.DataNode
oracle.ide.model.DataContainer
oracle.ide.model.MiscellaneousFolder
| 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 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 |
public static final java.lang.String BASENAME
public static final java.lang.String EXT
public static final java.lang.String NAMESPACE_URI
public static final java.lang.String ROOT_TAG
| Constructor Detail |
public MiscellaneousFolder()
| Method Detail |
public void checkAddToSystem()
public void checkRemoveFromSystem()
public java.lang.String getShortLabel()
DisplayableString 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.
getShortLabel in interface DisplayablegetShortLabel in class Nodepublic java.lang.String getLongLabel()
DisplayableString 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.
getLongLabel in interface DisplayablegetLongLabel in class Nodepublic java.lang.String getToolTipText()
DisplayableDisplayable.
In many cases it may be appropriate for this method to return the
same value as Displayable.getLongLabel().
getToolTipText in interface DisplayablegetToolTipText in class Nodepublic javax.swing.Icon getIcon()
DisplayableIcon 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.
getIcon in interface DisplayablegetIcon in class Nodepublic boolean remove(Element element)
DataContainerFolder 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.
remove in interface Folderremove in class DataContainerFolder.remove(Element)public boolean canAdd(Element element)
DataContainerFolder interface. The default implementation
returns true if and only if the specified
Element is not null.
canAdd in interface FoldercanAdd in class DataContainertrue if and only if the specified
Element is not null.Folder.canAdd(Element)
protected void closeImpl()
throws java.io.IOException
Node
closeImpl in class DataContainerjava.io.IOException
|
Extension SDK 10.1.3.36.73 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright © 1997, 2005, Oracle.All rights reserved.