Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Create Pictogramm Element from Contextmenu
Create Pictogramm Element from Contextmenu [message #683779] Tue, 14 June 2011 08:16 Go to previous message
Phillipp  is currently offline Phillipp
Messages: 24
Registered: May 2011
Junior Member
Hi,

again I have come across a problem where I could use some help.

I want to limit the creation of a specific shape to 2-shapes of my diagram and I do not want the user to drag-and-drop the features on the canvas. In this case I want to link a generalization to a shape and therefore need the "owning shape" of the generalization.

The use-case should look like this:
1. select one of the shapes that can have a generalization
2. right click and select the generalization-type from the submenu
3. BO is created in the Model-File
4. the graphical representation is added to the canvas and linked to the BO

I have done the first three steps with CostumFeatures but I don't know how to add a graphical representation to the BO without adding it to the palette.

The second problem is that I would like to add a shape to the canvas an connect it to the shape that is generalized. So the BO gets a Connection and a shape as representation.

Whereas my favorite version would be a connection that can't be selected Smile

I hope someone gets what I mean if not I can also upload a drawing to visualize it better.

Greets,
Phillipp
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Graphiti planning for Juno
Next Topic:GRAPHITI based editor in a RCP
Goto Forum:
  


Current Time: Tue May 21 11:06:07 EDT 2013

Powered by FUDForum. Page generated in 0.08136 seconds