Class CustomAstSelectionAction
- java.lang.Object
-
- org.eclipse.core.commands.common.EventManager
-
- org.eclipse.jface.action.AbstractAction
-
- org.eclipse.jface.action.Action
-
- org.eclipse.xtext.ui.editor.selection.AstSelectionAction
-
- com._1c.g5.v8.dt.bsl.ui.editor.selection.CustomAstSelectionAction
-
- All Implemented Interfaces:
org.eclipse.jface.action.IAction
public abstract class CustomAstSelectionAction extends org.eclipse.xtext.ui.editor.selection.AstSelectionAction
Special implementation of AstSelectionAction for Bsl language for replace methodIReadAccess.Priority#priorityReadOnly(IUnitOfWork
for processing resource to) BslXtextDocument.readOnlyDataModelWithoutSync(IUnitOfWork)
. New using method is more powerfull and do not provide lock in UI thread
-
-
Constructor Summary
Constructors Constructor Description CustomAstSelectionAction(String text, org.eclipse.xtext.ui.editor.XtextEditor xtextEditor)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
-
Methods inherited from class org.eclipse.xtext.ui.editor.selection.AstSelectionAction
createTextSelectionWork, getXtextEditor, internalSelect
-
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
-
-
-
-
Constructor Detail
-
CustomAstSelectionAction
public CustomAstSelectionAction(String text, org.eclipse.xtext.ui.editor.XtextEditor xtextEditor)
Constructor- Parameters:
text
- action text, cannot benull
xtextEditor
- actualXtextEditor
, where action was called, cannot benull
-
-