[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] Palette entry and action mapping

Hi guys, some days ago i've posted a question about how to get Right-mouse menu actions mapped with commands. So far i've managed to understand how that works (thanks to you guys) and got some of my stuff working. Now i'am trying to implement a Palette entry and trying to map it to an action, so that a command may be executed.

Don't know if i've been clear enough.

Situation:

I have one tool for creation and one tool for selection, all is working fine. The requests from those tools have a known (by default) type, like the one i can build on my menu-entry actions. How do i build a request-type for another Palette-entry that may be recognized by my getCommand on my policies? (is there any subcall of tool i should be using instead of Creation and Selections tools??)

thanks!