Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc-Andre Laperle2015-12-05 13:21:54 -0500
committerGerrit Code Review @ Eclipse.org2015-12-28 13:20:43 -0500
commit1c258538dee14f70d9f309e4500c30da6b4ee8b9 (patch)
treea1c1b4234a2b3b2c2dc8cdbdcc65a51b2d38eaa6 /build/org.eclipse.cdt.managedbuilder.ui
parent00e7081b1756173f360766dd408190cd68af9f81 (diff)
downloadorg.eclipse.cdt-1c258538dee14f70d9f309e4500c30da6b4ee8b9.tar.gz
org.eclipse.cdt-1c258538dee14f70d9f309e4500c30da6b4ee8b9.tar.xz
org.eclipse.cdt-1c258538dee14f70d9f309e4500c30da6b4ee8b9.zip
Remore unused New New Wizard
This code is not used and hasn't been touched since 2012. Now it can be referred as the "old new new wizard". Change-Id: Iccc60651a8233a5ef5b138dfcc334cfcf926d109 Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Diffstat (limited to 'build/org.eclipse.cdt.managedbuilder.ui')
-rw-r--r--build/org.eclipse.cdt.managedbuilder.ui/META-INF/MANIFEST.MF4
-rw-r--r--build/org.eclipse.cdt.managedbuilder.ui/plugin.xml23
-rw-r--r--build/org.eclipse.cdt.managedbuilder.ui/pom.xml2
-rw-r--r--build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/internal/ui/Messages.java2
-rw-r--r--[-rwxr-xr-x]build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/internal/ui/Messages.properties3
-rw-r--r--build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/wizards/ToolChainSelectionPage.java100
6 files changed, 3 insertions, 131 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.ui/META-INF/MANIFEST.MF b/build/org.eclipse.cdt.managedbuilder.ui/META-INF/MANIFEST.MF
index f489d38be0..203fb1c4c9 100644
--- a/build/org.eclipse.cdt.managedbuilder.ui/META-INF/MANIFEST.MF
+++ b/build/org.eclipse.cdt.managedbuilder.ui/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.cdt.managedbuilder.ui; singleton:=true
-Bundle-Version: 8.2.2.qualifier
+Bundle-Version: 9.0.0.qualifier
Bundle-Activator: org.eclipse.cdt.managedbuilder.ui.properties.ManagedBuilderUIPlugin
Bundle-Vendor: %providerName
Bundle-Localization: plugin
@@ -18,7 +18,7 @@ Require-Bundle: org.eclipse.core.resources;bundle-version="[3.2.0,4.0.0)",
org.eclipse.cdt.make.core,
org.eclipse.cdt.make.ui,
org.eclipse.cdt.managedbuilder.core;bundle-version="[8.1.0,9.0.0)",
- org.eclipse.cdt.ui;bundle-version="[5.0.0,6.0.0)",
+ org.eclipse.cdt.ui;bundle-version="[6.0.0,7.0.0)",
org.eclipse.ui;bundle-version="[3.2.0,4.0.0)",
org.eclipse.ui.console;bundle-version="[3.5.100,4.0.0)",
org.eclipse.ui.ide;bundle-version="[3.2.0,4.0.0)",
diff --git a/build/org.eclipse.cdt.managedbuilder.ui/plugin.xml b/build/org.eclipse.cdt.managedbuilder.ui/plugin.xml
index abc9c5e2b2..9f9adfb4a2 100644
--- a/build/org.eclipse.cdt.managedbuilder.ui/plugin.xml
+++ b/build/org.eclipse.cdt.managedbuilder.ui/plugin.xml
@@ -844,29 +844,6 @@
</description>
</wizard>
</extension>
- <extension
- point="org.eclipse.cdt.ui.projectTypePages">
- <projectTypePage
- class="org.eclipse.cdt.managedbuilder.ui.wizards.ToolChainSelectionPage"
- id="org.eclipse.cdt.managedbuilder.ui.exeProjectTypePage"
- projectType="org.eclipse.cdt.build.core.buildArtefactType.exe">
- </projectTypePage>
- <projectTypePage
- class="org.eclipse.cdt.managedbuilder.ui.wizards.ToolChainSelectionPage"
- id="org.eclipse.cdt.managedbuilder.ui.staticLibProjectTypePage"
- projectType="org.eclipse.cdt.build.core.buildArtefactType.staticLib">
- </projectTypePage>
- <projectTypePage
- class="org.eclipse.cdt.managedbuilder.ui.wizards.ToolChainSelectionPage"
- id="org.eclipse.cdt.managedbuilder.ui.sharedLibProjectTypePage"
- projectType="org.eclipse.cdt.build.core.buildArtefactType.sharedLib">
- </projectTypePage>
- <projectTypePage
- class="org.eclipse.cdt.managedbuilder.ui.wizards.ToolChainSelectionPage"
- id="org.eclipse.cdt.managedbuilder.ui.makefileProjectTypePage"
- projectType="org.eclipse.cdt.build.makefile.projectType">
- </projectTypePage>
- </extension>
<extension
point="org.eclipse.cdt.ui.LanguageSettingsProviderAssociation">
<id-association
diff --git a/build/org.eclipse.cdt.managedbuilder.ui/pom.xml b/build/org.eclipse.cdt.managedbuilder.ui/pom.xml
index 518810248f..cbb813a5e6 100644
--- a/build/org.eclipse.cdt.managedbuilder.ui/pom.xml
+++ b/build/org.eclipse.cdt.managedbuilder.ui/pom.xml
@@ -11,7 +11,7 @@
<relativePath>../../pom.xml</relativePath>
</parent>
- <version>8.2.2-SNAPSHOT</version>
+ <version>9.0.0-SNAPSHOT</version>
<artifactId>org.eclipse.cdt.managedbuilder.ui</artifactId>
<packaging>eclipse-plugin</packaging>
</project>
diff --git a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/internal/ui/Messages.java b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/internal/ui/Messages.java
index 90b13c3156..d20f4f40e5 100644
--- a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/internal/ui/Messages.java
+++ b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/internal/ui/Messages.java
@@ -278,8 +278,6 @@ public class Messages extends NLS {
public static String WizardDefaultsTab_0;
public static String WizardDefaultsTab_1;
public static String RefreshPolicyTab_resourcesTreeLabel;
- public static String ToolChainSelectionPage_Description;
- public static String ToolChainSelectionPage_Title;
static {
// Initialize resource bundle.
diff --git a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/internal/ui/Messages.properties b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/internal/ui/Messages.properties
index b7e3f6f550..a4b640700e 100755..100644
--- a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/internal/ui/Messages.properties
+++ b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/internal/ui/Messages.properties
@@ -288,9 +288,6 @@ NewCfgDialog_3=-- not selected --
NewCfgDialog_4=Import from projects
NewCfgDialog_5=Import predefined
-ToolChainSelectionPage_Description=Select the initial toolchain for this project.
-ToolChainSelectionPage_Title=Select Tool Chain
-
# Language Settings Providers
BuiltinSpecsDetectorOptionPage_AllocateConsole=Allocate console in the Console View
BuiltinSpecsDetectorOptionPage_Browse=Browse...
diff --git a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/wizards/ToolChainSelectionPage.java b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/wizards/ToolChainSelectionPage.java
deleted file mode 100644
index 5c0079ff92..0000000000
--- a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/wizards/ToolChainSelectionPage.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2012 Doug Schaefer and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Doug Schaefer - initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.managedbuilder.ui.wizards;
-
-import org.eclipse.cdt.managedbuilder.core.IToolChain;
-import org.eclipse.cdt.managedbuilder.core.ManagedBuildManager;
-import org.eclipse.cdt.managedbuilder.internal.ui.Messages;
-import org.eclipse.cdt.ui.templateengine.Template;
-import org.eclipse.cdt.ui.wizards.ProjectTypePage;
-import org.eclipse.jface.wizard.IWizard;
-import org.eclipse.jface.wizard.IWizardPage;
-import org.eclipse.jface.wizard.WizardPage;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.events.SelectionListener;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.List;
-
-/**
- * @since 8.1
- *
- */
-public class ToolChainSelectionPage extends WizardPage implements ProjectTypePage {
-
- private IWizardPage nextPage;
- private String[] toolChainIds;
- private String selectedToolChainId;
- private List toolChainList;
-
- public ToolChainSelectionPage() {
- super("ToolChainSelectionPage"); //$NON-NLS-1$
- setTitle(Messages.ToolChainSelectionPage_Title);
- setDescription(Messages.ToolChainSelectionPage_Description);
- }
-
- @Override
- public void createControl(Composite parent) {
- Composite comp = new Composite(parent, SWT.NONE);
- comp.setLayout(new GridLayout(1, true));
-
- toolChainList = new List(comp, SWT.BORDER | SWT.SINGLE);
- toolChainList.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
-
- for (String toolChainId : toolChainIds) {
- IToolChain toolChain = ManagedBuildManager.getExtensionToolChain(toolChainId);
- if (toolChain != null)
- toolChainList.add(toolChain.getName());
- }
-
- toolChainList.addSelectionListener(new SelectionListener() {
- @Override
- public void widgetSelected(SelectionEvent e) {
- if (toolChainList.getSelectionCount() == 0)
- selectedToolChainId = null;
- else
- selectedToolChainId = toolChainIds[toolChainList.getSelectionIndex()];
- }
-
- @Override
- public void widgetDefaultSelected(SelectionEvent e) {
- widgetSelected(e);
- }
- });
-
- setControl(comp);
- }
-
- @Override
- public boolean init(Template template, IWizard wizard, IWizardPage nextPage) {
- this.nextPage = nextPage;
- setWizard(wizard);
- toolChainIds = template.getTemplateInfo().getToolChainIds();
-
- // only need this page if there are multiple toolChains to select from.
- return toolChainIds != null && toolChainIds.length > 1;
- }
-
- @Override
- public IWizardPage getNextPage() {
- if (nextPage != null)
- return nextPage;
- return super.getNextPage();
- }
-
- @Override
- public boolean isPageComplete() {
- return selectedToolChainId != null;
- }
-
-}

Back to the top