Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » How can I create two domain element by one connection ??
How can I create two domain element by one connection ?? [message #184113] Thu, 24 April 2008 08:12
Eclipse UserFriend
Originally posted by: jano333.centrum.sk

Hello everybody,

I will try to explain my problem(sorry for english):
I need by connetion whitch don't reprezent any domain object, (it has only
grafical reprezetation) to create two domain elemet: one there there,
where the connection start and the second where the connection end.
And I dont now where to put the commands for creating these elements?
Becouse if a genereted the edit part for connection it
give me in createDefaultEditPolicies metode only this:
protected void createDefaultEditPolicies()
{
super.createDefaultEditPolicies();
installEditPolicy(EditPolicy.COMPONENT_ROLE, new
ViewComponentEditPolicy());
removeEditPolicy(EditPolicyRoles.SEMANTIC_ROLE);
}

So my question is where to put the commands, or whitch polisy shoud I use?
Previous Topic:pre-filled containment
Next Topic:Problems with the stack
Goto Forum:
  


Current Time: Thu Apr 25 04:52:21 GMT 2024

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

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

Back to the top