| |
|
| net.refractions.udig.project.ui.internal.MapEditorSelectionProvider
MapEditorSelectionProvider | public class MapEditorSelectionProvider extends AdapterImpl implements IMapEditorSelectionProvider(Code) | | Uses the EditManager and SelectionModel to provide a curent selection.
Listen to EditManager and SelectionModel events and notify the Eclipse Platform of selection
changes.
Responsibilities:
- Listen for EditLayer and EditFeature changes in LayerManager
- Listen for SelectionModel selection changes
- set the selection of the eclipse Platform to one that reflects the state of SelectionModel
and LayerManager
author: Jesse since: 0.6 |
selection | IStructuredSelection selection(Code) | | |
MapEditorSelectionProvider | public MapEditorSelectionProvider()(Code) | | Construct MapEditorSelectionProvider .
|
addSelectionChangedListener | public void addSelectionChangedListener(ISelectionChangedListener listener)(Code) | | See Also: org.eclipse.jface.viewers.ISelectionProvider.addSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener) |
fireSelectionChangedEvent | protected void fireSelectionChangedEvent(SelectionChangedEvent event)(Code) | | |
getListeners | public Set<ISelectionChangedListener> getListeners()(Code) | | |
getSelection | public ISelection getSelection()(Code) | | See Also: org.eclipse.jface.viewers.ISelectionProvider.getSelection |
notifyChanged | public void notifyChanged(Notification msg)(Code) | | See Also: org.eclipse.emf.common.notify.impl.AdapterImpl.notifyChanged(org.eclipse.emf.common.notify.Notification) |
removeSelectionChangedListener | public void removeSelectionChangedListener(ISelectionChangedListener listener)(Code) | | See Also: org.eclipse.jface.viewers.ISelectionProvider.removeSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener) |
setActiveMap | public void setActiveMap(IMap map2, IEditorPart editor)(Code) | | |
setSelection | public void setSelection(ISelection selection)(Code) | | See Also: org.eclipse.jface.viewers.ISelectionProvider.setSelection(org.eclipse.jface.viewers.ISelection) |
|
|
|