com.ibm.jdg2e.actions.ide
Class CloseUnmodifiedViewAction
java.lang.Object
com.ibm.jdg2e.actions.ide.CloseUnmodified
com.ibm.jdg2e.actions.ide.CloseUnmodifiedViewAction
- All Implemented Interfaces:
- org.eclipse.ui.IActionDelegate, org.eclipse.ui.IViewActionDelegate
- public class CloseUnmodifiedViewAction
- extends CloseUnmodified
- implements org.eclipse.ui.IViewActionDelegate
This Resource Navigator view action closes all open files that have no
unsaved changes.
See Chapter 21 for a discussion of the implementation.
|
Method Summary |
void |
init(org.eclipse.ui.IViewPart view)
|
void |
run(org.eclipse.jface.action.IAction action)
Close unmodified files using method in superclass CloseUnmodified. |
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 |
CloseUnmodifiedViewAction
public CloseUnmodifiedViewAction()
init
public void init(org.eclipse.ui.IViewPart view)
- Specified by:
init in interface org.eclipse.ui.IViewActionDelegate
run
public void run(org.eclipse.jface.action.IAction action)
- Close unmodified files using method in superclass CloseUnmodified.
- 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