Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » how to get active palette tool name?
how to get active palette tool name? [message #99378] Wed, 31 January 2007 02:50 Go to next message
Eclipse UserFriend
how to get active palette tool name, Such as the name of paletteTool:
"EMPBatchActivity" ?


Re: how to get active palette tool name? [message #99578 is a reply to message #99378] Wed, 31 January 2007 09:44 Go to previous message
Eclipse UserFriend
The popup bar on the diagram background is populated with the items from
the palette. Take a look at the code in DiagramPopupBarEditPolicy to
figure out how to get the active palette tool.

I think once you have the PaletteToolEntry you want you can just do
getLabel() on it to get the name.

Regards,
Cherie

bobywolf wrote:
> how to get active palette tool name, Such as the name of paletteTool:
> "EMPBatchActivity" ?
>
>
>
Previous Topic:Generate GMF diagram for an EMF model
Next Topic:@Override directive: Eclipse bug or reference error ?
Goto Forum:
  


Current Time: Tue Jun 03 17:17:33 EDT 2025

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

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

Back to the top