Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] On buttonclick open change style dialog.

There is an action already defined, have a look at how it is added to the LayerView toolbar.

-- 
Jody Garnett

On Monday, 22 April 2013 at 8:59 PM, Amit Shukla wrote:

Hello there,

I just want to open udigs default style editor(change style) dialog on button click.
In similar way i have open TablView like
TableView view = (TableView) ApplicationGIS.getView(true,
                                        "net.refractions.udig.tool.select.TableView");
                                if (view == null) {
                                    IWorkbenchPage page = PlatformUI.getWorkbench()
                                            .getActiveWorkbenchWindow().getActivePage();
                                    view = (TableView) page
                                            .findView("net.refractions.udig.tool.select.TableView");
                                    if (!page.isPartVisible(view))
                                        page.bringToTop(view);
                                }

But how to open the style editor????

Thanks
Amit
_______________________________________________
User-friendly Desktop Internet GIS (uDig)


Back to the top