Sunday, February 17, 2008

How to launch a tool programmatically

So you have your nice tool and want to launch it without having the user to click on a dedicated button?


IAction tool = ApplicationGIS.getToolManager().getToolAction(toolId, toolCategoryId);
tool.run();

No comments: