Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » node' name
node' name [message #155163] Sat, 13 October 2007 05:09 Go to next message
Eclipse UserFriend
Originally posted by: hanzhaogang.gmail.com

hi guys,
in my projects, the nodes' names are out of the node figures,i can
delete the names, while the node figures are still there.
my question is how can i provent the name to be deleted seperately?
thanks.
Re: node' name [message #155217 is a reply to message #155163] Sun, 14 October 2007 03:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hanzhaogang.gmail.com

solved
Re: node' name [message #155360 is a reply to message #155217] Mon, 15 October 2007 08:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jakub.jurkiewicz.gmail.com

Could you write how you achieved the expected result? (In the future
someone else might be looking for the answer for the same question.)

kind regards,
Jakub Jurkiewicz
http://eclipser-blog.blogspot.com

hanzhaogang pisze:
> solvedŁŹ thanks
> "hanzhaogang" <hanzhaogang@gmail.com> Đ´ČëĎűϢĐÂÎĹ:feq20s$9gg$1@build.eclipse.org...
>> hi guys,
>> in my projects, the nodes' names are out of the node figures,i can
>> delete the names, while the node figures are still there.
>> my question is how can i provent the name to be deleted seperately?
>> thanks.
>>
>>
>
>
Re: node' name [message #157259 is a reply to message #155360] Fri, 26 October 2007 10:48 Go to previous message
Eclipse UserFriend
Originally posted by: hanzhaogang.gmail.com

i create a NodeNameEditPolicy, and ,if the NodeName is generated out of the
Node(not in the node),there will be something like "NodeNameEditPart". In
its "createDefaultEditPolicy" method i install the NodeNameEditPolicy to the
"NodeNameEditPart". The NodeNameEditPolicy can provent the user to delete
the name without deleting the node at the same time.

Hope this helps.


"Jakub Jurkiewicz" <jakub.jurkiewicz@gmail.com>
??????:fevo18$nae$4@build.eclipse.org...
> Could you write how you achieved the expected result? (In the future
> someone else might be looking for the answer for the same question.)
>
> kind regards,
> Jakub Jurkiewicz
> http://eclipser-blog.blogspot.com
>
> hanzhaogang pisze:
>> solved
Previous Topic:how to recover all information from the diagram
Next Topic:Add problem view
Goto Forum:
  


Current Time: Sat May 10 11:20:35 EDT 2025

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

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

Back to the top