|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.core.commands.common.EventManager org.eclipse.jface.action.AbstractAction org.eclipse.jface.action.Action org.eclipse.jdt.ui.actions.SelectionDispatchAction org.eclipse.xtend.shared.ui.editor.navigation.OpenAction
public class OpenAction
OpenAction is instantiated by the editor and will be invoked when the user presses the F3 key.
Field Summary |
---|
Fields inherited from interface org.eclipse.jface.action.IAction |
---|
AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_UNSPECIFIED, CHECKED, DESCRIPTION, ENABLED, HANDLED, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT |
Constructor Summary | |
---|---|
OpenAction(AbstractXtendXpandEditor editor)
Creates a new OpenAction . |
Method Summary | |
---|---|
protected boolean |
checkEnabled(org.eclipse.jface.text.ITextSelection selection)
|
protected org.eclipse.jface.text.IRegion |
getHyperlinkRegion(org.eclipse.jface.text.ITextSelection selection)
Given a ITextSelection (i.e. |
void |
run(org.eclipse.jface.text.ITextSelection selection)
|
void |
selectionChanged(org.eclipse.jface.text.ITextSelection selection)
|
Methods inherited from class org.eclipse.jdt.ui.actions.SelectionDispatchAction |
---|
getSelection, getSelectionProvider, getShell, getSite, run, run, run, run, selectionChanged, selectionChanged, selectionChanged, selectionChanged, setSpecialSelectionProvider, update |
Methods inherited from class org.eclipse.jface.action.Action |
---|
convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText |
Methods inherited from class org.eclipse.jface.action.AbstractAction |
---|
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener |
Methods inherited from class org.eclipse.core.commands.common.EventManager |
---|
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.jface.action.IAction |
---|
addPropertyChangeListener, removePropertyChangeListener |
Constructor Detail |
---|
public OpenAction(AbstractXtendXpandEditor editor)
OpenAction
.
editor
- the Properties file editor which provides the context
information for this actionMethod Detail |
---|
public void selectionChanged(org.eclipse.jface.text.ITextSelection selection)
selectionChanged
in class org.eclipse.jdt.ui.actions.SelectionDispatchAction
protected boolean checkEnabled(org.eclipse.jface.text.ITextSelection selection)
selection
-
public void run(org.eclipse.jface.text.ITextSelection selection)
run
in class org.eclipse.jdt.ui.actions.SelectionDispatchAction
protected org.eclipse.jface.text.IRegion getHyperlinkRegion(org.eclipse.jface.text.ITextSelection selection)
textViewer
- The underlying text viewer.offset
- The cursor location.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |