Extension SDK

oracle.jdeveloper.model
Class MiscellaneousFiles

java.lang.Object
  |
  +--oracle.ide.model.CategoryFolder
        |
        +--oracle.jdeveloper.model.MiscellaneousFiles
All Implemented Interfaces:
Category, Data, Displayable, Element, Folder, Locatable

public class MiscellaneousFiles
extends CategoryFolder


Fields inherited from class oracle.ide.model.CategoryFolder
children, DISPLAY_URL_PROTOCOL
 
Fields inherited from interface oracle.ide.model.Category
UNDEFINED
 
Constructor Summary
MiscellaneousFiles()
           
 
Method Summary
 boolean canAdd(Element element)
          Other classes can call this method to determine whether the given Element can be added to the Folder.
 javax.swing.Icon getIcon()
          Returns an Icon that can be shown in association with this Displayable.
 
Methods inherited from class oracle.ide.model.CategoryFolder
add, canRemove, checkRefresh, containsChild, getAttributes, getCategory, getChildren, getData, getExcludePath, getLongLabel, getOwner, getShortLabel, getSourcePath, getToolTipText, getURL, mayHaveChildren, remove, removeAll, setCategory, setIcon, setOwner, setURL, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface oracle.ide.model.Displayable
toString
 

Constructor Detail

MiscellaneousFiles

public MiscellaneousFiles()
Method Detail

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 CategoryFolder
Following copied from class: oracle.ide.model.CategoryFolder
Returns:
the Icon for this node instance

canAdd

public boolean canAdd(Element element)
Description copied from interface: Folder
Other classes can call this method to determine whether the given Element can be added to the Folder.
Overrides:
canAdd in class CategoryFolder
Following copied from interface: oracle.ide.model.Folder
Parameters:
element - the Element that is about to be added to this Folder.
Returns:
true if the specified Element can be added to this Folder; false if the Element cannot be added.

Extension SDK