Skip to main content



      Home
Home » Modeling » Graphiti » AddGraphicalRepresentation doesn't carry properties
AddGraphicalRepresentation doesn't carry properties [message #986477] Tue, 20 November 2012 10:34 Go to next message
Eclipse UserFriend
Hi.

In AbstractFeature class, we have this method, which we can invoke in order to achieve a visual representation of our object. I think this doesn't handle properties.

protected PictogramElement addGraphicalRepresentation(IAreaContext context, Object newObject) {
		return getFeatureProvider().addIfPossible(new AddContext(context, newObject));
	}


If one, explicitlly puts a property in the context and call addGraphicalRepresentation, the constructor AddContext does not copy the properties, so properties never get on destination feature. Am I right?

Thanks

[Updated on: Tue, 20 November 2012 10:34] by Moderator

Re: AddGraphicalRepresentation doesn't carry properties [message #986744 is a reply to message #986477] Wed, 21 November 2012 09:02 Go to previous messageGo to next message
Eclipse UserFriend
Rui,

right. Would you please file a bugzilla?

Thanks,
Michael
Re: AddGraphicalRepresentation doesn't carry properties [message #986783 is a reply to message #986744] Wed, 21 November 2012 10:47 Go to previous message
Eclipse UserFriend
Ok.
It's filed: https://bugs.eclipse.org/bugs/show_bug.cgi?id=394801

Thanks
Previous Topic:Export Graphiti diagram image via API
Next Topic:Basic Questions
Goto Forum:
  


Current Time: Wed Jul 23 17:22:52 EDT 2025

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

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

Back to the top