org.eclipse.amp.escape.command
Class ExecuteJavaHandler
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.core.commands.AbstractHandler
org.eclipse.amp.escape.command.ResourceHandler
org.eclipse.amp.escape.command.ExecuteHandler
org.eclipse.amp.escape.command.ExecuteJavaHandler
- All Implemented Interfaces:
- org.eclipse.core.commands.IHandler, org.eclipse.core.commands.IHandler2
- Direct Known Subclasses:
- ExecuteJavaHeadlessHandler
public class ExecuteJavaHandler
- extends ExecuteHandler
The Class ExecuteJavaHandler.
Method Summary |
org.eclipse.jdt.core.IType |
getType(java.lang.Object object)
|
boolean |
isSupertype(java.lang.Object sel,
java.lang.String className)
Checks if is supertype. |
boolean |
isTypeSupertype(org.eclipse.jdt.core.IType type,
java.lang.String className)
Checks if is supertype. |
Methods inherited from class org.eclipse.core.commands.AbstractHandler |
addHandlerListener, dispose, isEnabled, isHandled, removeHandlerListener |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExecuteJavaHandler
public ExecuteJavaHandler(boolean headless)
- Instantiates a new execute java handler.
- Parameters:
headless
- the headless
ExecuteJavaHandler
public ExecuteJavaHandler()
- Instantiates a new execute java handler.
isTypeSupertype
public boolean isTypeSupertype(org.eclipse.jdt.core.IType type,
java.lang.String className)
- Checks if is supertype.
- Parameters:
type
- the typeclassName
- the class name
- Returns:
- true, if is supertype
isSupertype
public boolean isSupertype(java.lang.Object sel,
java.lang.String className)
- Checks if is supertype.
- Parameters:
sel
- the selclassName
- the class name
- Returns:
- true, if is supertype
getType
public org.eclipse.jdt.core.IType getType(java.lang.Object object)