com.ibm.jdg2e.serviceability
Class ErrorDialogAction
java.lang.Object
com.ibm.jdg2e.serviceability.ErrorDialogAction
- All Implemented Interfaces:
- org.eclipse.ui.IActionDelegate, org.eclipse.ui.IWorkbenchWindowActionDelegate
- public class ErrorDialogAction
- extends java.lang.Object
- implements org.eclipse.ui.IWorkbenchWindowActionDelegate
The purpose of ErrorDialogAction is to demonstrate how to
create an error dialog with error details button enabled.
- See Also:
IWorkbenchWindowActionDelegate
|
Method Summary |
void |
dispose()
|
void |
init(org.eclipse.ui.IWorkbenchWindow window)
|
void |
run(org.eclipse.jface.action.IAction action)
Handles the creation and display of the errror dialog and at the same time,
explicitly writes diagnostics to the error log |
void |
selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErrorDialogAction
public ErrorDialogAction()
- The constructor.
dispose
public void dispose()
- Specified by:
dispose in interface org.eclipse.ui.IWorkbenchWindowActionDelegate
init
public void init(org.eclipse.ui.IWorkbenchWindow window)
- Specified by:
init in interface org.eclipse.ui.IWorkbenchWindowActionDelegate
run
public void run(org.eclipse.jface.action.IAction action)
- Handles the creation and display of the errror dialog and at the same time,
explicitly writes diagnostics to the error log
- Specified by:
run in interface org.eclipse.ui.IActionDelegate
- See Also:
IActionDelegate.run(org.eclipse.jface.action.IAction)
selectionChanged
public void selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection)
- Specified by:
selectionChanged in interface org.eclipse.ui.IActionDelegate