Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorOleg Krasilnikov2007-12-05 09:55:58 +0000
committerOleg Krasilnikov2007-12-05 09:55:58 +0000
commit4834d59667a8c369814b4462afc98b257710317e (patch)
tree8e03c8a5b36af21295fca3c04c36369b730d974f /build
parent8f1b9f6726b2fe6787adfde6893cf56740cdd3b4 (diff)
downloadorg.eclipse.cdt-4834d59667a8c369814b4462afc98b257710317e.tar.gz
org.eclipse.cdt-4834d59667a8c369814b4462afc98b257710317e.tar.xz
org.eclipse.cdt-4834d59667a8c369814b4462afc98b257710317e.zip
Bug # 211935 : Cannot customize CDTMainWizardPage because of key methods being "private"/ "static"
Diffstat (limited to 'build')
-rw-r--r--build/org.eclipse.cdt.managedbuilder.ui.tests/src/org/eclipse/cdt/managedbuilder/ui/tests/TestCProjectPlatformPage.java13
1 files changed, 11 insertions, 2 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.ui.tests/src/org/eclipse/cdt/managedbuilder/ui/tests/TestCProjectPlatformPage.java b/build/org.eclipse.cdt.managedbuilder.ui.tests/src/org/eclipse/cdt/managedbuilder/ui/tests/TestCProjectPlatformPage.java
index 9a2f7c709eb..aaf746a5eae 100644
--- a/build/org.eclipse.cdt.managedbuilder.ui.tests/src/org/eclipse/cdt/managedbuilder/ui/tests/TestCProjectPlatformPage.java
+++ b/build/org.eclipse.cdt.managedbuilder.ui.tests/src/org/eclipse/cdt/managedbuilder/ui/tests/TestCProjectPlatformPage.java
@@ -10,6 +10,8 @@
*******************************************************************************/
package org.eclipse.cdt.managedbuilder.ui.tests;
+import java.util.List;
+
import junit.framework.TestCase;
import org.eclipse.cdt.core.parser.util.ArrayUtil;
@@ -20,7 +22,6 @@ import org.eclipse.cdt.ui.wizards.CDTProjectWizard;
import org.eclipse.cdt.ui.wizards.CWizardHandler;
import org.eclipse.cdt.ui.wizards.IWizardItemsListListener;
import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.IPath;
import org.eclipse.jface.wizard.WizardPage;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Shell;
@@ -79,7 +80,8 @@ public class TestCProjectPlatformPage extends TestCase implements IWizardItemsLi
/* Test the new page, create page, set selection lifecycle. */
public void testProject() throws Exception {
- IPath p = ResourcesPlugin.getWorkspace().getRoot().getLocation();
+ //IPath p =
+ ResourcesPlugin.getWorkspace().getRoot().getLocation();
/*
NewModelProjectWizard wiz = new CDTProjectWizard();
/*
@@ -133,9 +135,16 @@ public class TestCProjectPlatformPage extends TestCase implements IWizardItemsLi
// TODO Auto-generated method stub
}
+ public List filterItems(List items) {
+ return items;
+ }
}
// methods of IToolChainListListener
public boolean isCurrent() { return currentState; }
public void toolChainListChanged(int count) {}
+
+ public List filterItems(List items) {
+ return items;
+ }
}

Back to the top