Package com._1c.g5.v8.dt.common.gef
Class PartModelLabelProvider
- java.lang.Object
-
- com._1c.g5.v8.dt.common.gef.PartModelLabelProvider
-
- All Implemented Interfaces:
ISelectionChangedListener
,ISelectionProvider
public class PartModelLabelProvider extends Object implements ISelectionProvider, ISelectionChangedListener
-
-
Constructor Summary
Constructors Constructor Description PartModelLabelProvider(org.eclipse.gef.GraphicalViewer viewer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addSelectionChangedListener(ISelectionChangedListener listener)
protected IStructuredSelection
fromViewerSelection(ISelection sel)
ISelection
getSelection()
void
removeSelectionChangedListener(ISelectionChangedListener listener)
void
selectionChanged(SelectionChangedEvent event)
void
setSelection(ISelection sel)
-
-
-
Method Detail
-
addSelectionChangedListener
public void addSelectionChangedListener(ISelectionChangedListener listener)
- Specified by:
addSelectionChangedListener
in interfaceISelectionProvider
-
getSelection
public ISelection getSelection()
- Specified by:
getSelection
in interfaceISelectionProvider
-
removeSelectionChangedListener
public void removeSelectionChangedListener(ISelectionChangedListener listener)
- Specified by:
removeSelectionChangedListener
in interfaceISelectionProvider
-
setSelection
public void setSelection(ISelection sel)
- Specified by:
setSelection
in interfaceISelectionProvider
-
selectionChanged
public void selectionChanged(SelectionChangedEvent event)
- Specified by:
selectionChanged
in interfaceISelectionChangedListener
-
fromViewerSelection
protected IStructuredSelection fromViewerSelection(ISelection sel)
-
-