_btnOpenInBrowser.addSelectionListener(new SelectionListener() {
public void widgetSelected(SelectionEvent e) {
try {
ICommandService cService = (ICommandService) getSite().getService(ICommandService.class);
IHandlerService handlerService = (IHandlerService) getSite().getService(IHandlerService.class);
Command command = cService.getCommand("de.innovationgate.eclipse.ids.commands.OpenModuleInBrowser");
IParameter paramTMLFile = command.getParameter("de.innovationgate.eclipse.ids.commands.OpenModuleInBrowser.paramTMLFilePath");
Parameterization parm = new Parameterization(paramTMLFile, getInputFile().getFullPath().toString());
ParameterizedCommand parmCommand = new ParameterizedCommand(command, new Parameterization[] { parm });
handlerService.executeCommand(parmCommand, null);
}
catch (NotDefinedException e1) {
}
catch (ExecutionException e1) {
WorkbenchUtils.showErrorDialog(getSite().getShell(), "Unable to open tml module in browser", e1.getMessage());