org.eclipse.xtext.xtext.ui.graph.actions
Class RailroadSelectionLinker
java.lang.Object
org.eclipse.xtext.xtext.ui.graph.actions.RailroadSelectionLinker
- All Implemented Interfaces:
- java.util.EventListener, org.eclipse.jface.util.IPropertyChangeListener
public class RailroadSelectionLinker
- extends java.lang.Object
- implements org.eclipse.jface.util.IPropertyChangeListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RailroadSelectionLinker
public RailroadSelectionLinker()
activate
public void activate()
deactivate
public void deactivate()
selectFigure
protected void selectFigure(org.eclipse.draw2d.IFigure selectedFigure)
selectGrammarText
protected void selectGrammarText(org.eclipse.draw2d.IFigure selectedFigure,
boolean isActivateEditor)
diagramSelectionChanged
public void diagramSelectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
textSelectionChanged
public void textSelectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
findFigureForTextOffset
protected ISelectable findFigureForTextOffset(org.eclipse.draw2d.IFigure figure,
int offset,
ISelectable currentBestFigure)
propertyChange
public void propertyChange(org.eclipse.jface.util.PropertyChangeEvent event)
- Description copied from interface:
org.eclipse.jface.util.IPropertyChangeListener
- Notification that a property has changed.
This method gets called when the observed object fires a property
change event.
- Specified by:
propertyChange
in interface org.eclipse.jface.util.IPropertyChangeListener
- Parameters:
event
- the property change event object describing which property
changed and how
setXtextEditor
public void setXtextEditor(XtextEditor xtextEditor)
removeTextSelectionListener
protected void removeTextSelectionListener(XtextEditor editor)