|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.gef.ui.parts.AbstractEditPartViewer org.eclipse.gef.ui.parts.GraphicalViewerImpl sk.uniba.euromath.editor.textEditor.viewers.TextGraphicalViewerImpl
public class TextGraphicalViewerImpl
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.gef.EditPartViewer |
---|
org.eclipse.gef.EditPartViewer.Conditional |
Field Summary |
---|
Fields inherited from class org.eclipse.gef.ui.parts.AbstractEditPartViewer |
---|
constantSelection, focusPart, selection, selectionListeners |
Constructor Summary | |
---|---|
TextGraphicalViewerImpl(XMLEditor editor)
|
Method Summary | |
---|---|
void |
addSelectionChangedListener(IDOMSelectionChangedListener listener)
Adds a listener for selection changes in this selection provider. |
sk.baka.ikslibs.interval.DOMIntervalSet |
getDOMSelection()
Returns copy of the current selection of provider. |
void |
removeSelectionChangedListener(IDOMSelectionChangedListener listener)
Removes the given selection change listener from this selection provider. |
void |
selectionChanged(DOMSelectionChangedEvent event)
Notifies that the selection has changed. |
void |
setSelection(sk.baka.ikslibs.interval.DOMIntervalSet selection)
Sets new selection for this selection provider. |
Methods inherited from class org.eclipse.gef.ui.parts.GraphicalViewerImpl |
---|
createControl, createDefaultRoot, createLightweightSystem, findHandleAt, findObjectAtExcluding, flush, getEventDispatcher, getLayerManager, getLightweightSystem, getRootFigure, handleDispose, handleFocusGained, handleFocusLost, hookControl, hookDropTarget, registerAccessibleEditPart, reveal, setContextMenu, setCursor, setDragSource, setEditDomain, setRootEditPart, setRootFigure, setRouteEventsToEditDomain, unhookControl, unregisterAccessibleEditPart |
Methods inherited from class org.eclipse.gef.ui.parts.AbstractEditPartViewer |
---|
addDragSourceListener, addDragSourceListener, addDropTargetListener, addDropTargetListener, addPropertyChangeListener, addSelectionChangedListener, appendSelection, deselect, deselectAll, findObjectAt, findObjectAtExcluding, fireSelectionChanged, getContents, getContextMenu, getControl, getDelegatingDragAdapter, getDelegatingDropAdapter, getDragSource, getDropTarget, getEditDomain, getEditPartFactory, getEditPartRegistry, getFocusEditPart, getKeyHandler, getProperty, getRootEditPart, getSelectedEditParts, getSelection, getSelectionManager, getVisualPartMap, hookDragSource, init, primGetSelectedEditParts, refreshDragSourceAdapter, refreshDropTargetAdapter, removeDragSourceListener, removeDragSourceListener, removeDropTargetListener, removeDropTargetListener, removePropertyChangeListener, removeSelectionChangedListener, select, setContents, setContents, setControl, setDropTarget, setEditPartFactory, setFocus, setKeyHandler, setProperty, setSelection, setSelectionManager |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.gef.EditPartViewer |
---|
addDragSourceListener, addDragSourceListener, addDropTargetListener, addDropTargetListener, addPropertyChangeListener, appendSelection, deselect, deselectAll, findObjectAt, findObjectAtExcluding, getContents, getContextMenu, getControl, getEditDomain, getEditPartFactory, getEditPartRegistry, getFocusEditPart, getKeyHandler, getProperty, getRootEditPart, getSelectedEditParts, getSelection, getSelectionManager, getVisualPartMap, removeDragSourceListener, removeDragSourceListener, removeDropTargetListener, removeDropTargetListener, removePropertyChangeListener, select, setContents, setContents, setControl, setEditPartFactory, setFocus, setKeyHandler, setProperty, setSelectionManager |
Methods inherited from interface org.eclipse.jface.viewers.ISelectionProvider |
---|
addSelectionChangedListener, removeSelectionChangedListener, setSelection |
Constructor Detail |
---|
public TextGraphicalViewerImpl(XMLEditor editor)
editor
- Editor that uses this viewer to view its stateMethod Detail |
---|
public void addSelectionChangedListener(IDOMSelectionChangedListener listener)
IDOMSelectionProvider
addSelectionChangedListener
in interface IDOMSelectionProvider
listener
- a DOM selection changed listenerpublic sk.baka.ikslibs.interval.DOMIntervalSet getDOMSelection()
IDOMSelectionProvider
getDOMSelection
in interface IDOMSelectionProvider
public void removeSelectionChangedListener(IDOMSelectionChangedListener listener)
IDOMSelectionProvider
removeSelectionChangedListener
in interface IDOMSelectionProvider
listener
- a DOM selection changed listenerpublic void setSelection(sk.baka.ikslibs.interval.DOMIntervalSet selection)
IDOMSelectionProvider
setSelection
in interface IDOMSelectionProvider
selection
- the new XML selectionpublic void selectionChanged(DOMSelectionChangedEvent event)
IDOMSelectionChangedListener
selectionChanged
in interface IDOMSelectionChangedListener
event
- event object describing the change
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |