oracle.ide.model
Class MiscellaneousFolder
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.MiscellaneousFolder
- All Implemented Interfaces:
- Category, Container, Data, Dirtyable, Displayable, Document, Element, Folder, LazyLoadable, Locatable, Node, 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. |
Methods inherited from class oracle.ide.model.DataContainer |
add, add, add, canRemove, containsChild, copyToImpl, getBaseDirectory, getChildren, getListOfChildren, mayHaveChildren, remove, removeAll, removeAll, resetSubDirtyableOwners, setListOfChildren, setSubDirtyableOwner, size |
Methods inherited from class oracle.ide.model.DefaultDocument |
attach, copyToImpl, createSubject, detach, ensureOpen, equalsImpl, getInputStream, getLongLabel, getSubject, getTimestamp, getTimestampDirectly, getToolTipText, isDirty, isNew, isOpen, isReadOnly, markDirty, notifyObservers, refreshTimestamp, setOpen, setTimestampDirectly |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.ide.model.Data |
getData |
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.
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.
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.
MiscellaneousFolder
public MiscellaneousFolder()
- Default constructor, used for beans instantiation.
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
.
- 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.
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.
- Overrides:
getIcon
in class DefaultDisplayable
- Following copied from interface:
oracle.ide.model.Displayable
- Returns:
- the
Icon
to be displayed for the
Displayable
.
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.
- Overrides:
remove
in class DataContainer
- Following copied from class:
oracle.ide.model.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
.
- Overrides:
canAdd
in class DataContainer
- Following copied from class:
oracle.ide.model.DataContainer
- Returns:
true
if and only if the specified
Element
is not null
.- See Also:
Folder.canAdd(Element)
close
public void close()
- Description copied from interface:
Document
- Closes the
Document
and unloads any associated data.
When this method returns, the state of the Document
object should be equivalent to when the Document
object has just been instantiated but not yet opened.
- Overrides:
close
in class DataContainer
- Following copied from class:
oracle.ide.model.DefaultDocument
- See Also:
Document.close()