| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.openide.src.nodes.DefaultFactory
The default implementation of the hierarchy nodes factory. Uses the standard node implementations in this package.
| Constructor Summary | |
DefaultFactory(boolean writeable)
Create a new factory.  | 
|
| Method Summary | |
protected  Children | 
createClassChildren(ClassElement element)
Create children for a class node.  | 
protected  Children | 
createClassChildren(ClassElement element,
                    ElementNodeFactory factory)
Create children for a class node, with specified factory.  | 
 Node | 
createClassNode(ClassElement element)
Make a node representing a class.  | 
 Node | 
createConstructorNode(ConstructorElement element)
Make a node representing a constructor.  | 
 Node | 
createErrorNode()
Make a node indicating that there was an error creating the element children.  | 
 Node | 
createFieldNode(FieldElement element)
Make a node representing a field.  | 
 Node | 
createInitializerNode(InitializerElement element)
Make a node representing an initializer.  | 
 Node | 
createMethodNode(MethodElement element)
Make a node representing a method.  | 
 Node | 
createWaitNode()
Make a node indicating that the creation of children is still under way.  | 
 boolean | 
isWriteable()
 | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
public static final DefaultFactory READ_WRITE
public static final DefaultFactory READ_ONLY
public static final String FIELD_PUBLIC
public static final String FIELD_PROTECTED
public static final String FIELD_PRIVATE
public static final String FIELD_PACKAGE
public static final String FIELD_ST_PUBLIC
public static final String FIELD_ST_PROTECTED
public static final String FIELD_ST_PRIVATE
public static final String FIELD_ST_PACKAGE
public static final String CONSTRUCTOR_PUBLIC
public static final String CONSTRUCTOR_PROTECTED
public static final String CONSTRUCTOR_PRIVATE
public static final String CONSTRUCTOR_PACKAGE
public static final String METHOD_PUBLIC
public static final String METHOD_PROTECTED
public static final String METHOD_PRIVATE
public static final String METHOD_PACKAGE
public static final String METHOD_ST_PUBLIC
public static final String METHOD_ST_PROTECTED
public static final String METHOD_ST_PRIVATE
public static final String METHOD_ST_PACKAGE
public static final String INITIALIZER
public static final String INITIALIZER_ST
public static final String CLASS
public static final String INTERFACE
public static final String WAIT
public static final String ERROR
public static final String FIELDS_CATEGORY
public static final String CONSTRUCTORS_CATEGORY
public static final String METHODS_CATEGORY
| Constructor Detail | 
public DefaultFactory(boolean writeable)
writeable - true if the produced nodes
 should have writable propertiesElementNode.writeable| Method Detail | 
public boolean isWriteable()
public Node createMethodNode(MethodElement element)
ElementNodeFactorycreateMethodNode in interface ElementNodeFactoryorg.openide.src.nodes.ElementNodeFactoryelement - the methodpublic Node createConstructorNode(ConstructorElement element)
ElementNodeFactorycreateConstructorNode in interface ElementNodeFactoryorg.openide.src.nodes.ElementNodeFactoryelement - the constructorpublic Node createFieldNode(FieldElement element)
ElementNodeFactorycreateFieldNode in interface ElementNodeFactoryorg.openide.src.nodes.ElementNodeFactoryelement - the fieldpublic Node createInitializerNode(InitializerElement element)
ElementNodeFactorycreateInitializerNode in interface ElementNodeFactoryorg.openide.src.nodes.ElementNodeFactoryelement - the initializerpublic Node createClassNode(ClassElement element)
ElementNodeFactorycreateClassNode in interface ElementNodeFactoryorg.openide.src.nodes.ElementNodeFactoryelement - the classprotected Children createClassChildren(ClassElement element)
ClassChildren.element - a class element
protected final Children createClassChildren(ClassElement element,
                                             ElementNodeFactory factory)
ClassChildren.element - a class elementfactory - the factory which will be used to create childrenpublic Node createWaitNode()
ElementNodeFactorycreateWaitNode in interface ElementNodeFactoryorg.openide.src.nodes.ElementNodeFactorypublic Node createErrorNode()
ElementNodeFactorycreateErrorNode in interface ElementNodeFactoryorg.openide.src.nodes.ElementNodeFactory
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||