How can I create two domain element by one connection ?? [message #184113] |
Thu, 24 April 2008 08:12 |
Eclipse User |
|
|
|
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?
|
|
|
Powered by
FUDForum. Page generated in 0.02640 seconds