oracle.jdeveloper.model
Class ApplicationCode
java.lang.Object
oracle.ide.model.CategoryFolder
oracle.jdeveloper.model.Sources
oracle.jdeveloper.model.ApplicationCode
- All Implemented Interfaces:
- Category, Data, Displayable, Element, Folder, Locatable
- public class ApplicationCode
- extends Sources
The ApplicationCode
class is responsible for collecting all application code based on the project source path.
Method Summary |
javax.swing.Icon |
getIcon()
Returns an Icon that can be shown in association with this Displayable . |
URLPath |
getSourcePath()
We override this method because we need to add the content providers source path. |
boolean |
isStrict()
The ApplicationCode filter should not require the package filter to be strict. |
protected boolean |
useFactory()
If the children of this folder should be created using a factory return true from this method. |
Methods inherited from class oracle.ide.model.CategoryFolder |
add, canAdd, canRemove, containsChild, getAttributes, getCategory, getChildren, getData, getLongLabel, getOwner, getShortLabel, getToolTipText, getURL, matchElement, mayHaveChildren, remove, removeAll, setCategory, setIcon, setOwner, setURL, size, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ApplicationCode
public ApplicationCode()
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 CategoryFolder
-
- Returns:
- the Icon for this node instance
getSourcePath
public URLPath getSourcePath()
- We override this method because we need to add the content providers source path. The modelers path comes from the content providers path.
-
- Overrides:
getSourcePath
in class Sources
isStrict
public boolean isStrict()
- The ApplicationCode filter should not require the package filter to be strict.
-
- Overrides:
isStrict
in class CategoryFolder
useFactory
protected boolean useFactory()
- Description copied from class:
CategoryFolder
- If the children of this folder should be created using a factory return
true
from this method. This implementation always returns false
.
-
- Overrides:
useFactory
in class CategoryFolder
Copyright © 1997, 2004, Oracle. All rights reserved.