aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzzhongwei2013-01-20 22:09:49 (EST)
committerzzhongwei2013-01-20 22:10:19 (EST)
commitaafe067647fd4e1a27632dfff4293ba845fd1e5b (patch)
tree385fe61dba82abb7bd0aee2c27bcc3f7c4fb970d
parent9c419dbfa7c92d2be54253855c88fa3514be6d78 (diff)
downloadorg.eclipse.pdt-aafe067647fd4e1a27632dfff4293ba845fd1e5b.zip
org.eclipse.pdt-aafe067647fd4e1a27632dfff4293ba845fd1e5b.tar.gz
org.eclipse.pdt-aafe067647fd4e1a27632dfff4293ba845fd1e5b.tar.bz2
fix compilation error
-rw-r--r--plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/actions/newprojectwizard/NewWizardNewPage.java19
1 files changed, 1 insertions, 18 deletions
diff --git a/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/actions/newprojectwizard/NewWizardNewPage.java b/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/actions/newprojectwizard/NewWizardNewPage.java
index 60d8387..a403253 100644
--- a/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/actions/newprojectwizard/NewWizardNewPage.java
+++ b/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/actions/newprojectwizard/NewWizardNewPage.java
@@ -35,11 +35,9 @@ import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Label;
import org.eclipse.ui.IWorkbenchWizard;
-import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.activities.WorkbenchActivityHelper;
import org.eclipse.ui.dialogs.FilteredTree;
import org.eclipse.ui.internal.WorkbenchMessages;
-import org.eclipse.ui.internal.decorators.ContributingPluginDecorator;
import org.eclipse.ui.internal.dialogs.*;
import org.eclipse.ui.model.AdaptableList;
import org.eclipse.ui.model.WorkbenchLabelProvider;
@@ -335,22 +333,7 @@ class NewWizardNewPage implements ISelectionChangedListener {
final TreeViewer treeViewer = filterTree.getViewer();
treeViewer.setContentProvider(new WizardContentProvider());
- treeViewer.setLabelProvider(new DelegatingLabelProviderWithTooltip(
- new WorkbenchLabelProvider(), PlatformUI.getWorkbench()
- .getDecoratorManager()
- .getLabelDecorator(ContributingPluginDecorator.ID)) {
- protected Object unwrapElement(Object element) {
- if (element instanceof WorkbenchWizardElement) {
- element = ((WorkbenchWizardElement) element)
- .getConfigurationElement();
- }
- if (element instanceof WizardCollectionElement) {
- element = ((WizardCollectionElement) element)
- .getConfigurationElement();
- }
- return element;
- }
- });
+ treeViewer.setLabelProvider(new WorkbenchLabelProvider());
treeViewer.addSelectionChangedListener(this);
ArrayList inputArray = new ArrayList();