Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » How to get FeatureProvider from a PE
How to get FeatureProvider from a PE [message #1403885] Mon, 28 July 2014 12:57 Go to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 811
Registered: August 2010
Location: Colorado Springs, CO
Senior Member

Hi Michael,

Sorry if this has been asked before, but is there any way to get the FeatureProvider from a PictogramElement? I've looked at all the Graphiti services and haven't found anything.

Thanks!
Bob
Re: How to get FeatureProvider from a PE [message #1404226 is a reply to message #1403885] Wed, 30 July 2014 14:41 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Bob,

only based upon a pictogram element it is not possible to retrieve the
feature provider, but usually the element lives inside a diagram editor
which allows to retrieve the diagram type provider that again can be asked
for the feature provider.

Michael
Re: How to get FeatureProvider from a PE [message #1404293 is a reply to message #1404226] Thu, 31 July 2014 02:43 Go to previous message
Hernan Gonzalez is currently offline Hernan GonzalezFriend
Messages: 188
Registered: October 2010
Location: Buenos Aires, Argentina
Senior Member
Well, actually going up to the Diagram which contains the PE would suffice, because the Diagram is "weak wired" (via the EmfService ) to a DiagramTypeProvider, no?

https://www.eclipse.org/forums/index.php/t/737789/
Previous Topic:Rotating AbstractText? Read this!
Next Topic:Move existing Shapes to new ContainerShape
Goto Forum:
  


Current Time: Tue Mar 19 04:20:07 GMT 2024

Powered by FUDForum. Page generated in 0.01831 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top