|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ojb.tools.mapping.reversedb2.propertyEditors.EditableTreeNodeWithProperties
org.apache.ojb.tools.mapping.reversedb2.ojbmetatreemodel.OjbMetaTreeNode
org.apache.ojb.tools.mapping.reversedb2.ojbmetatreemodel.OjbMetaRootNode
This represents the root of the repository.xml tree model. It contains the ClassDescriptor objects for this repository and the default JDBC connection.
| Field Summary | |
(package private) java.util.HashMap |
cldToNodes
|
| Fields inherited from class org.apache.ojb.tools.mapping.reversedb2.ojbmetatreemodel.OjbMetaTreeNode |
alChildren |
| Fields inherited from class org.apache.ojb.tools.mapping.reversedb2.propertyEditors.EditableTreeNodeWithProperties |
propertyChangeDelegate |
| Constructor Summary | |
OjbMetaRootNode(DescriptorRepository pRepository,
OjbMetaDataTreeModel model)
Creates a new instance of OjbMetaRootNode |
|
| Method Summary | |
protected boolean |
_load()
Purpose of this method is to fill the children of the node. |
boolean |
actionListCachable()
Some objects may alter the list of actions they present depending on the state they are in. |
boolean |
actionListStatic()
Some objects may return a list of actions depending on the state they are in or the way they have been created. |
void |
addClassDescriptor(ClassDescriptor cld)
|
java.util.Iterator |
getActions()
Get a bunch of java.util.Action objects that this object wants to offer in a context-menu. |
boolean |
getAllowsChildren()
|
java.lang.Object |
getAssociatedDescriptor()
Return the descriptor object this node is associated with. |
java.lang.Object |
getAttribute(java.lang.String strKey)
Get an attribute of this node as Object. |
OjbMetaClassDescriptorNode |
getClassDescriptorNodeForClassDescriptor(ClassDescriptor cld)
|
java.lang.Class |
getPropertyEditorClass()
Return the property editor class for this PropertyEditorTarget. |
boolean |
isLeaf()
|
void |
setAttribute(java.lang.String strKey,
java.lang.Object value)
Set an attribute of this node as Object. |
| Methods inherited from class org.apache.ojb.tools.mapping.reversedb2.ojbmetatreemodel.OjbMetaTreeNode |
children, compareTo, getChildAt, getChildCount, getIndex, getOjbMetaTreeModel, getParent, getRepository, load |
| Methods inherited from class org.apache.ojb.tools.mapping.reversedb2.propertyEditors.EditableTreeNodeWithProperties |
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
java.util.HashMap cldToNodes
| Constructor Detail |
public OjbMetaRootNode(DescriptorRepository pRepository,
OjbMetaDataTreeModel model)
| Method Detail |
public boolean getAllowsChildren()
getAllowsChildren in interface javax.swing.tree.TreeNodegetAllowsChildren in class OjbMetaTreeNodeTreeNode.getAllowsChildren()public java.lang.Class getPropertyEditorClass()
PropertyEditorTarget
public boolean isLeaf()
isLeaf in interface javax.swing.tree.TreeNodeisLeaf in class OjbMetaTreeNodeTreeNode.isLeaf()public java.lang.Object getAttribute(java.lang.String strKey)
getAttribute in interface PropertyEditorTargetgetAttribute in class EditableTreeNodeWithProperties
public void setAttribute(java.lang.String strKey,
java.lang.Object value)
setAttribute in interface PropertyEditorTargetsetAttribute in class EditableTreeNodeWithPropertiespublic OjbMetaClassDescriptorNode getClassDescriptorNodeForClassDescriptor(ClassDescriptor cld)
protected boolean _load()
_load in class OjbMetaTreeNodepublic void addClassDescriptor(ClassDescriptor cld)
public java.util.Iterator getActions()
ActionTarget
ActionTarget#getActions()public boolean actionListCachable()
ActionTarget
ActionTarget#actionListCacheable()public boolean actionListStatic()
ActionTarget
ActionTargetpublic java.lang.Object getAssociatedDescriptor()
getAssociatedDescriptor in class OjbMetaTreeNode
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||