Extension SDK

oracle.jdeveloper.model
Class JavaSources

java.lang.Object
  extended byoracle.ide.model.CategoryFolder
      extended byoracle.jdeveloper.model.JavaSources
All Implemented Interfaces:
Category, Data, Displayable, Element, Folder, Locatable

public class JavaSources
extends CategoryFolder

The JavaSources class is responsible for collecting all java nodes


Field Summary
 
Fields inherited from class oracle.ide.model.CategoryFolder
children, DISPLAY_URL_PROTOCOL
 
Fields inherited from interface oracle.ide.model.Category
UNDEFINED
 
Constructor Summary
JavaSources()
           
 
Method Summary
 boolean checkRefresh(UpdateMessage change)
           
protected  URLPath getExcludePath()
          Returns the URLPath which is to be excluded from consideration when determining whether a particular Locatable element is on the sourcepath.
 javax.swing.Icon getIcon()
          Returns an Icon that can be shown in association with this Displayable.
 URLPath getSourcePath()
           
 
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
 

Constructor Detail

JavaSources

public JavaSources()
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.

Specified by:
getIcon in interface Displayable
Overrides:
getIcon in class CategoryFolder
Returns:
the Icon for this node instance

checkRefresh

public boolean checkRefresh(UpdateMessage change)
Overrides:
checkRefresh in class CategoryFolder

getSourcePath

public URLPath getSourcePath()
Overrides:
getSourcePath in class CategoryFolder

getExcludePath

protected URLPath getExcludePath()
Description copied from class: CategoryFolder
Returns the URLPath which is to be excluded from consideration when determining whether a particular Locatable element is on the sourcepath.

Overrides:
getExcludePath in class CategoryFolder

Extension SDK

 

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