Skip to content

Commit

Permalink
removed last references to MavenPlugin.getDefault
Browse files Browse the repository at this point in the history
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
  • Loading branch information
ifedorenko committed May 27, 2011
1 parent ceed416 commit 554d9f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Expand Up @@ -25,6 +25,7 @@
import org.eclipse.jface.dialogs.IDialogSettings;
import org.eclipse.jface.wizard.WizardPage;
import org.eclipse.m2e.core.MavenPlugin;
import org.eclipse.m2e.core.internal.MavenPluginActivator;
import org.eclipse.m2e.core.project.ProjectImportConfiguration;
import org.eclipse.m2e.core.ui.internal.M2EUIPluginActivator;
import org.eclipse.m2e.core.ui.internal.Messages;
Expand Down Expand Up @@ -128,7 +129,7 @@ private void initDialogSettings() {
IDialogSettings pluginSettings;

// This is strictly to get SWT Designer working locally without blowing up.
if( MavenPlugin.getDefault() == null ) {
if( MavenPluginActivator.getDefault() == null ) {
pluginSettings = new DialogSettings("Workbench");
}
else {
Expand Down
Expand Up @@ -117,6 +117,7 @@
import org.eclipse.m2e.core.embedder.MavenRuntime;
import org.eclipse.m2e.core.embedder.MavenRuntimeManager;
import org.eclipse.m2e.core.internal.IMavenConstants;
import org.eclipse.m2e.core.internal.MavenPluginActivator;
import org.eclipse.m2e.core.internal.index.nexus.NexusIndexManager;
import org.eclipse.m2e.core.internal.repository.RepositoryRegistry;
import org.eclipse.m2e.core.project.IMavenProjectFacade;
Expand Down Expand Up @@ -205,7 +206,7 @@ public Object run() {
PrefUtil.getAPIPreferenceStore().setValue(IWorkbenchPreferenceConstants.ENABLE_ANIMATIONS, false);

// fullScreen();
MavenPlugin.getDefault(); // force m2e to load so its indexing jobs will
MavenPluginActivator.getDefault(); // force m2e to load so its indexing jobs will
// be scheduled.

openPerspective("org.eclipse.jdt.ui.JavaPerspective");
Expand Down

0 comments on commit 554d9f2

Please sign in to comment.