Ticket #15 (closed defect: fixed)
ISelectionService from partSite
| Reported by: | gerhardt_f | Owned by: | webster_p |
|---|---|---|---|
| Priority: | minor | Milestone: | EclipseCon 2009 |
| Component: | RCP Mail | Version: | |
| Keywords: | Cc: |
Description (last modified by webster_p) (diff)
From Paul Webster:
The ISelectionService is now available from the part site:
ISelectionService selectionService = (ISelectionService)
getSite().getService(ISelectionService.class);
selectionService.addSelectionListener(this);
The advantage is that the listener is cleaned up automatically on part dispose.
Attachments
Change History
Changed 4 years ago by gerhardt_f
-
attachment
selection-v01.patch
added
comment:1 Changed 4 years ago by gerhardt_f
- Status changed from new to closed
- Resolution set to fixed
pwebster: released to SVN
comment:2 Changed 4 years ago by gerhardt_f
- Description modified (diff)
The advantage is that the listener is cleaned up automatically on part dispose.
Nice!
comment:3 Changed 4 years ago by webster_p
- Status changed from closed to reopened
- Resolution fixed deleted
- Description modified (diff)
Note: See
TracTickets for help on using
tickets.

Slight change to the ISelectionService