|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the selection of RichDocumentView
.
The selection changes when a new view is opened, or the user switches views between opened views.
The interface is designed to be used with Eclipse selection service. The following is a typical scenario to use the selection service in Lotus® Symphony:
1. Create an ISelectionListenerprivate ISelectionListener selectionListener = new ISelectionListener() { public void selectionChanged(IWorkbenchPart arg0, final ISelection arg1) { RichDocumentViewSelection selection = ( RichDocumentViewSelection )arg1; } };
2. Add the ISelectionListener to Eclipse selection serviceIWorkbenchWindow window = PlatformUI.getWorkbench(). getActiveWorkbenchWindow(); ISelectionService service = window.getSelectionService(); service.addSelectionListener(selectionListener);
Method Summary | |
---|---|
RichDocumentView |
getView()
Returns the target view which fires the selection. |
Methods inherited from interface org.eclipse.jface.viewers.ISelection |
---|
isEmpty |
Method Detail |
public RichDocumentView getView()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |