Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » ToolBar DropDown Menu for Graphiti Based Editor
ToolBar DropDown Menu for Graphiti Based Editor [message #658893] Thu, 10 March 2011 05:38
Maqsood Ahmed is currently offline Maqsood Ahmed
Messages: 41
Registered: September 2010
Member
Hi all,

I have implemented a Toolbar DropDown menu ,
Which has menu entires to Show/Hide Diffrent Graphiti rendered elements.

The problem now is that i need the menu entry to have
1)Name
2)Check Box
3)Icon- to show which item it shows/hides when checked/unchecked.

I can use Action(String,int Style) constructor.
or
Action(String name,ImageDescriptor Image)

There is no otherway i found to set all 3 together.
Is there any other way?

As of now ,I found one solution(Create a single image of check and icon) and swap with other image (Uncheck and icon).
any other views .

Thanks
Mak

Previous Topic:Bordere items
Next Topic:Pasting Near The Mouse Pointer
Goto Forum:
  


Current Time: Tue Sep 02 05:30:44 EDT 2014

Powered by FUDForum. Page generated in 0.01630 seconds