1
edit
Changes
no edit summary
The view makes his viewer available as selection provider via the following line:<br/>
<code>''getSite().setSelectionProvider(viewer);''</code> <br/>
This make is possible for the command which opens the editor to get the selection of the view. <br/>All workbench parts have a site, which can be accessed via the method <code>getSite()</code>.
<source lang=java>
public void createPartControl(Composite parent) {