public class CommandInvokingDoubleClickListener
extends java.lang.Object
implements org.eclipse.jface.viewers.IDoubleClickListener
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
commandId |
protected java.lang.String |
exceptionMessage |
Constructor and Description |
---|
CommandInvokingDoubleClickListener(java.lang.String commandId,
java.lang.String exceptionMessage) |
Modifier and Type | Method and Description |
---|---|
void |
doubleClick(org.eclipse.jface.viewers.DoubleClickEvent event) |
protected void |
handleException(org.eclipse.core.commands.common.CommandException e)
Subclasses may add additional error handling when the command invocation was not successful
|
protected java.lang.String commandId
protected java.lang.String exceptionMessage
public CommandInvokingDoubleClickListener(java.lang.String commandId, java.lang.String exceptionMessage)
public void doubleClick(org.eclipse.jface.viewers.DoubleClickEvent event)
doubleClick
in interface org.eclipse.jface.viewers.IDoubleClickListener
protected void handleException(org.eclipse.core.commands.common.CommandException e)
e
- the exception that occured while executing the command