super();
}
- abstract protected Configuration getConfiguration();
+ abstract protected Configuration getConfiguration(String name);
public void setActiveEditor(IAction action, IEditorPart targetEditor) {
if (targetEditor != null && (targetEditor instanceof AbstractTextEditor)) {
} else {
page.bringToTop(part);
}
- Configuration config = getConfiguration();
+ Configuration config = getConfiguration(null);
String templateString = generateUrl(config, config.getURL());
if (templateString != null && !templateString.equals("")) {
((BrowserView) part).setUrl(templateString);
+ } else {
+ ((BrowserView) part).setUrl(config.getURL());
}
} catch (Exception e) {
}