Bug 402528 - Public access to graphical edit parts packages (IPictogramElementEditPart etc.)
Summary: Public access to graphical edit parts packages (IPictogramElementEditPart etc.)
Status: ASSIGNED
Alias: None
Product: Graphiti
Classification: Modeling
Component: Core (show other bugs)
Version: 0.9.0   Edit
Hardware: All All
: P4 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-06 09:52 EST by Ralf Zozmann CLA
Modified: 2013-03-08 10:54 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Zozmann CLA 2013-03-06 09:52:59 EST
We have plugins implementing additional interaction functionality based on selections (ISelection) in any editor using EMF based models. In graphical editors (as GMF and Graphiti) we have to work on selections containing the specific edit part implementation (classes from org.eclipse.graphiti.ui.internal.parts in case of Graphiti) to take the semantic model element from it (PictogramElement view = ((IPictogramElementEditPart) adaptableObject).getPictogramElement();). But coming from version 0.8.x up to the new 0.10.0 the interface declarations for the edit parts (IPictogramElementEditPart etc.) are embedded into an internal package, not visible to other bundles.
It is possible to move the interface declarations to an public/exported package so we can avoid the "Discouraged access" warning?!
Comment 1 Michael Wenz CLA 2013-03-08 10:54:41 EST
Some small parts are already part of the API. It should be possible to add more.

But this will surely not become part of our Kepler release (Graphiti 0.10.0) for lack of capacity until M6 which is week after next week and API freeze.