Class CompareWithEditorAction
- java.lang.Object
-
- org.eclipse.core.commands.common.EventManager
-
- org.eclipse.core.commands.AbstractHandler
-
- de.loskutov.anyedit.actions.compare.CompareWithAction
-
- de.loskutov.anyedit.actions.compare.CompareWithEditorAction
-
- All Implemented Interfaces:
org.eclipse.core.commands.IHandler
,org.eclipse.core.commands.IHandler2
,org.eclipse.ui.IActionDelegate
,org.eclipse.ui.IObjectActionDelegate
public class CompareWithEditorAction extends CompareWithAction
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CompareWithEditorAction.EditorsContentProvider
This provider must not be re-used for more then one execution, as it creates cache of editors(package private) static class
CompareWithEditorAction.EditorsLabelProvider
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
COMPARE_EDITOR_ID
-
Fields inherited from class de.loskutov.anyedit.actions.compare.CompareWithAction
editor, selectedContent
-
-
Constructor Summary
Constructors Constructor Description CompareWithEditorAction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StreamContent
createRightContent(StreamContent left)
static org.eclipse.ui.dialogs.ListDialog
createSelectionDialog(AbstractEditor myEditor, ContentWrapper selectedContent, java.lang.String message)
void
selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection)
-
Methods inherited from class de.loskutov.anyedit.actions.compare.CompareWithAction
createContent, createContentFromFile, createLeftContent, execute, run, setActivePart
-
Methods inherited from class org.eclipse.core.commands.AbstractHandler
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled, setEnabled
-
-
-
-
Field Detail
-
COMPARE_EDITOR_ID
private static final java.lang.String COMPARE_EDITOR_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
selectionChanged
public void selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection)
- Specified by:
selectionChanged
in interfaceorg.eclipse.ui.IActionDelegate
- Overrides:
selectionChanged
in classCompareWithAction
-
createRightContent
protected StreamContent createRightContent(StreamContent left) throws org.eclipse.core.runtime.CoreException
- Specified by:
createRightContent
in classCompareWithAction
- Throws:
org.eclipse.core.runtime.CoreException
-
createSelectionDialog
public static org.eclipse.ui.dialogs.ListDialog createSelectionDialog(AbstractEditor myEditor, ContentWrapper selectedContent, java.lang.String message)
-
-