|
org.openide.src 1.8.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openide.src.nodes.DefaultFactory
public class 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)
ElementNodeFactory
createMethodNode
in interface ElementNodeFactory
element
- the method
public Node createConstructorNode(ConstructorElement element)
ElementNodeFactory
createConstructorNode
in interface ElementNodeFactory
element
- the constructor
public Node createFieldNode(FieldElement element)
ElementNodeFactory
createFieldNode
in interface ElementNodeFactory
element
- the field
public Node createInitializerNode(InitializerElement element)
ElementNodeFactory
createInitializerNode
in interface ElementNodeFactory
element
- the initializer
public Node createClassNode(ClassElement element)
ElementNodeFactory
createClassNode
in interface ElementNodeFactory
element
- the class
protected 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 children
public Node createWaitNode()
ElementNodeFactory
createWaitNode
in interface ElementNodeFactory
public Node createErrorNode()
ElementNodeFactory
createErrorNode
in interface ElementNodeFactory
|
org.openide.src 1.8.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |