[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] swither for a diagram

Hi All,

I need to implement a switcher related to the diagram. It should have a pre-defined set of values based on external information, and switch diagram's editing mode and colouring.

The question is, how do I implement such a switcher. Generally speaking, I see 3 options:

(1) insert it into the palette, as a column of buttons below the tools' buttons;
(2) implement a tabs group for the diagram;
(3) have it separately somewhere in Eclipse toolbars.


I've tried (1) and it looks very non-standard, so uneasy. So does (2). I haven't investigated option (3) yet.

Could anyone please advise me the quickest method and probably point me somewhere in the docs/examples if my need has already been addressed and solved? Or at least say I'm a freaking geek and will have to solve my geeky problems on my own

Many thanks,
Alexey