Summary: | SelectionAction returns wrong selection on part switches | ||
---|---|---|---|
Product: | [Tools] GEF | Reporter: | Koen van Dijken <koen.van.dijken> |
Component: | GEF-Legacy GEF (MVC) | Assignee: | gef-inbox <gef-inbox> |
Status: | NEW --- | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.2 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Koen van Dijken
2007-02-12 12:57:20 EST
For an example of a "Copy" action being registered in the editorActionBarContributor and listening to the selectionProvider of the active editor to calculate is enabled state, see org.eclipse.emf.edit.ui.action.EditingDomainActionBarContributor, which is the ancestor of any EMF generated editorActionBarContributor. This is the construct in our case, with this difference that the EMF copy-action is replaced by our own copy action, which is derived from SelectionAction. |