Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Create a pictogram element programmatically
Create a pictogram element programmatically [message #1288680] Tue, 08 April 2014 19:38 Go to next message
Simone Di Cola is currently offline Simone Di ColaFriend
Messages: 60
Registered: February 2014
Member
Hi all,
is it possible to create a pictogram element (and its relative business object) programmatically? If so, how?

Thanks for your attention
Simone
Re: Create a pictogram element programmatically [message #1290737 is a reply to message #1288680] Thu, 10 April 2014 11:39 Go to previous messageGo to next message
Simone Di Cola is currently offline Simone Di ColaFriend
Messages: 60
Registered: February 2014
Member
I've read the tutorial, and I've understood that the create feature does the job.
But, reading the tutorial, it says "In this example we want create a EClass via the palette."

I'd like to know how can I do this without dropping anything from the palette.

Thanks
Simone
Re: Create a pictogram element programmatically [message #1297001 is a reply to message #1290737] Tue, 15 April 2014 10:57 Go to previous message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Simone,

usually create features will be added to the palette and will allow dragging
new items from the palette into the editor area. They also allow drag & drop
from outside (e.g. a project explorer entry as demonstrated in the
tutorial). Of course yoy may also trigger the create feature
programmatically.

Michael
Previous Topic:No undo for update feature
Next Topic:Migration to GEF 4
Goto Forum:
  


Current Time: Thu Apr 18 23:51:03 GMT 2024

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

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

Back to the top