org.eclipse.xtext.ui.editor
Class XtextEditor.DeletePreviousSubWordAction

java.lang.Object
  extended by org.eclipse.core.commands.common.EventManager
      extended by org.eclipse.jface.action.AbstractAction
          extended by org.eclipse.jface.action.Action
              extended by org.eclipse.ui.texteditor.TextNavigationAction
                  extended by org.eclipse.xtext.ui.editor.XtextEditor.PreviousSubWordAction
                      extended by org.eclipse.xtext.ui.editor.XtextEditor.DeletePreviousSubWordAction
All Implemented Interfaces:
org.eclipse.jface.action.IAction, org.eclipse.ui.texteditor.IUpdate
Enclosing class:
XtextEditor

protected class XtextEditor.DeletePreviousSubWordAction
extends XtextEditor.PreviousSubWordAction
implements org.eclipse.ui.texteditor.IUpdate

Text operation action to delete the previous sub-word.

Since:
3.0

Field Summary
 
Fields inherited from class org.eclipse.xtext.ui.editor.XtextEditor.PreviousSubWordAction
fIterator
 
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
XtextEditor.DeletePreviousSubWordAction()
          Creates a new delete previous sub-word action.
 
Method Summary
protected  void setCaretPosition(int position)
          Sets the caret position to the sub-word boundary given with position.
 void update()
          Requests that this object update itself.
 
Methods inherited from class org.eclipse.xtext.ui.editor.XtextEditor.PreviousSubWordAction
findPreviousPosition, run
 
Methods inherited from class org.eclipse.ui.texteditor.TextNavigationAction
addPropertyChangeListener, fireSelectionChanged, fireSelectionChanged, getAccelerator, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getImageDescriptor, getMenuCreator, getStyle, getText, getTextWidget, getToolTipText, isChecked, isEnabled, removePropertyChangeListener, runWithEvent, setAccelerator, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setImageDescriptor, setMenuCreator, setText, setToolTipText
 
Methods inherited from class org.eclipse.jface.action.Action
convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getActionDefinitionId, getId, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, setActionDefinitionId, setId
 
Methods inherited from class org.eclipse.jface.action.AbstractAction
firePropertyChange, firePropertyChange
 
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
 

Constructor Detail

XtextEditor.DeletePreviousSubWordAction

public XtextEditor.DeletePreviousSubWordAction()
Creates a new delete previous sub-word action.

Method Detail

setCaretPosition

protected void setCaretPosition(int position)
Description copied from class: XtextEditor.PreviousSubWordAction
Sets the caret position to the sub-word boundary given with position.

Specified by:
setCaretPosition in class XtextEditor.PreviousSubWordAction
Parameters:
position - Position where the action should move the caret

update

public void update()
Description copied from interface: org.eclipse.ui.texteditor.IUpdate
Requests that this object update itself.

Specified by:
update in interface org.eclipse.ui.texteditor.IUpdate