public class RestResourceTreeNode extends AbstractModelItemTreeNode<RestResource> implements PropertyChangeListener
AbstractModelItemTreeNode.ReorderPropertyChangeListener
Constructor and Description |
---|
RestResourceTreeNode(RestResource restResource,
SoapUITreeModel treeModel) |
Modifier and Type | Method and Description |
---|---|
void |
addChildResource(RestResource restResource) |
int |
getChildCount() |
SoapUITreeNode |
getChildNode(int index) |
int |
getIndexOfChild(Object child) |
SoapUITreeNode |
getParentTreeNode() |
void |
methodAdded(RestMethod method) |
void |
methodRemoved(RestMethod method) |
void |
propertyChange(PropertyChangeEvent evt) |
void |
release() |
void |
removeChildResource(RestResourceTreeNode childResource) |
String |
toString() |
children, getActions, getAllowsChildren, getChildAt, getIndex, getModelItem, getParent, getPopup, getTreeModel, initOrdering, isLeaf, reorder, sortModelItems, valueChanged
public RestResourceTreeNode(RestResource restResource, SoapUITreeModel treeModel)
public SoapUITreeNode getParentTreeNode()
getParentTreeNode
in interface SoapUITreeNode
getParentTreeNode
in class AbstractModelItemTreeNode<RestResource>
public String toString()
toString
in class AbstractModelItemTreeNode<RestResource>
public int getChildCount()
getChildCount
in interface SoapUITreeNode
getChildCount
in interface TreeNode
getChildCount
in class AbstractModelItemTreeNode<RestResource>
public SoapUITreeNode getChildNode(int index)
getChildNode
in interface SoapUITreeNode
getChildNode
in class AbstractModelItemTreeNode<RestResource>
public int getIndexOfChild(Object child)
getIndexOfChild
in interface SoapUITreeNode
getIndexOfChild
in class AbstractModelItemTreeNode<RestResource>
public void release()
release
in interface SoapUITreeNode
release
in class AbstractModelItemTreeNode<RestResource>
public void addChildResource(RestResource restResource)
public void removeChildResource(RestResourceTreeNode childResource)
public void methodAdded(RestMethod method)
public void methodRemoved(RestMethod method)
public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
propertyChange
in class AbstractModelItemTreeNode<RestResource>
Copyright © 2019. All Rights Reserved.