[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Implementing a search function for gmf editor

Hello John,

+AD4- I would like to place the button to activate the search interface in
+AD4- palette, where is this code located so I could append a button into
+AD4- it? Should i just do this in the Pallete part of gmftool and then
+AD4- concine functionality later?

You can use .gmftool model to define your tool and place it on the palette. AFAIK you should create GenericTool and set +ACI-tool class+ACI- property to the fully-qualified class name of org.eclipse.gef.Tool implementation doing the job.

-----------------
Alex Shatalin