public abstract class NewElementHandler
extends org.eclipse.core.commands.AbstractHandler
Constructor and Description |
---|
NewElementHandler() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
execute(org.eclipse.core.commands.ExecutionEvent event) |
<type extends TreeNode> |
execute(TreeNode par) |
<type extends TreeNode> |
execute(TreeNode par,
java.lang.String templ,
java.lang.String type) |
java.lang.String |
getElementType() |
abstract java.lang.String[] |
getElementTypes() |
java.lang.String |
getShowedElementType() |
java.lang.String |
getShowedElementType(java.lang.String tp) |
boolean |
isEnabled() |
public TreeDB tree
public java.lang.String getElementType()
public abstract java.lang.String[] getElementTypes()
public java.lang.String getShowedElementType()
public java.lang.String getShowedElementType(java.lang.String tp)
public <type extends TreeNode> type execute(TreeNode par, java.lang.String templ, java.lang.String type)
public java.lang.Object execute(org.eclipse.core.commands.ExecutionEvent event) throws org.eclipse.core.commands.ExecutionException
org.eclipse.core.commands.ExecutionException
public boolean isEnabled()
isEnabled
in interface org.eclipse.core.commands.IHandler
isEnabled
in class org.eclipse.core.commands.AbstractHandler