public class ActionUrl extends java.lang.Object implements JDOMExternalizable
Modifier and Type | Field and Description |
---|---|
static int |
ADDED |
static int |
DELETED |
static int |
MOVE |
int |
myInitialPosition |
Constructor and Description |
---|
ActionUrl() |
ActionUrl(java.util.ArrayList<java.lang.String> groupPath,
java.lang.Object component,
int actionType,
int position) |
Modifier and Type | Method and Description |
---|---|
static void |
changePathInActionsTree(javax.swing.JTree tree,
ActionUrl url) |
boolean |
equals(java.lang.Object object) |
int |
getAbsolutePosition() |
int |
getActionType() |
java.lang.Object |
getComponent() |
AnAction |
getComponentAction() |
java.util.ArrayList<java.lang.String> |
getGroupPath() |
static java.util.ArrayList<java.lang.String> |
getGroupPath(javax.swing.tree.TreePath treePath) |
int |
getInitialPosition() |
java.lang.String |
getParentGroup() |
java.lang.String |
getRootGroup() |
int |
hashCode() |
boolean |
isGroupContainsInPath(ActionGroup group) |
void |
readExternal(Element element) |
void |
setAbsolutePosition(int absolutePosition) |
void |
setActionType(int actionType) |
void |
setComponent(java.lang.Object object) |
void |
setGroupPath(java.util.ArrayList<java.lang.String> groupPath) |
void |
setInitialPosition(int initialPosition) |
java.lang.String |
toString() |
void |
writeExternal(Element element) |
public static final int ADDED
public static final int DELETED
public static final int MOVE
public int myInitialPosition
public ActionUrl()
public ActionUrl(java.util.ArrayList<java.lang.String> groupPath, java.lang.Object component, int actionType, int position)
public java.util.ArrayList<java.lang.String> getGroupPath()
public java.lang.String getParentGroup()
public java.lang.String getRootGroup()
public java.lang.Object getComponent()
public AnAction getComponentAction()
public int getActionType()
public void setActionType(int actionType)
public int getAbsolutePosition()
public void setAbsolutePosition(int absolutePosition)
public int getInitialPosition()
public void setInitialPosition(int initialPosition)
public void readExternal(Element element) throws InvalidDataException
readExternal
in interface JDOMExternalizable
InvalidDataException
public void writeExternal(Element element) throws WriteExternalException
writeExternal
in interface JDOMExternalizable
WriteExternalException
public boolean isGroupContainsInPath(ActionGroup group)
public static void changePathInActionsTree(javax.swing.JTree tree, ActionUrl url)
public static java.util.ArrayList<java.lang.String> getGroupPath(javax.swing.tree.TreePath treePath)
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void setComponent(java.lang.Object object)
public void setGroupPath(java.util.ArrayList<java.lang.String> groupPath)
public java.lang.String toString()
toString
in class java.lang.Object