/** Loads the dialog settings using the page name as a section name. */ private void initDialogSettings() { IDialogSettings pluginSettings; // This is strictly to get SWT Designer working locally without blowing up. if (MavenDependencyConversionActivator.getDefault() == null) { pluginSettings = new DialogSettings("Workbench"); } else { pluginSettings = MavenDependencyConversionActivator.getDefault().getDialogSettings(); } dialogSettings = pluginSettings.getSection(getName()); if (dialogSettings == null) { dialogSettings = pluginSettings.addNewSection(getName()); pluginSettings.addSection(dialogSettings); } }
private void initImages() { jarImage = MavenDependencyConversionActivator.getJarIcon(); projectImage = MavenDependencyConversionActivator.getProjectIcon(); okImage = MavenDependencyConversionActivator.getOkIcon(); unresolvedImage = MavenDependencyConversionActivator.getWarningIcon(); failedImage = MavenDependencyConversionActivator.getFailedIcon(); loadingImage = MavenDependencyConversionActivator.getLoadingIcon(); }