Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'core/org.eclipse.cdt.ui/refactor/org/eclipse/cdt/internal/ui/refactoring/RefactoringStatusEntryLabelProvider.java')
-rw-r--r--core/org.eclipse.cdt.ui/refactor/org/eclipse/cdt/internal/ui/refactoring/RefactoringStatusEntryLabelProvider.java36
1 files changed, 0 insertions, 36 deletions
diff --git a/core/org.eclipse.cdt.ui/refactor/org/eclipse/cdt/internal/ui/refactoring/RefactoringStatusEntryLabelProvider.java b/core/org.eclipse.cdt.ui/refactor/org/eclipse/cdt/internal/ui/refactoring/RefactoringStatusEntryLabelProvider.java
deleted file mode 100644
index c6afa5929c0..00000000000
--- a/core/org.eclipse.cdt.ui/refactor/org/eclipse/cdt/internal/ui/refactoring/RefactoringStatusEntryLabelProvider.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/**********************************************************************
- * Copyright (c) 2004 Rational Software Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v0.5
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v05.html
- *
- * Contributors:
- * IBM Rational Software - Initial API and implementation
-***********************************************************************/
-package org.eclipse.cdt.internal.ui.refactoring;
-
-import org.eclipse.swt.graphics.Image;
-
-import org.eclipse.jface.viewers.LabelProvider;
-
-import org.eclipse.cdt.internal.corext.refactoring.base.RefactoringStatusEntry;
-import org.eclipse.cdt.internal.ui.util.Strings;
-import org.eclipse.cdt.internal.ui.CPluginImages;
-
-public class RefactoringStatusEntryLabelProvider extends LabelProvider{
- public String getText(Object element){
- return Strings.removeNewLine(((RefactoringStatusEntry)element).getMessage());
- }
- public Image getImage(Object element){
- RefactoringStatusEntry entry= (RefactoringStatusEntry)element;
- if (entry.isFatalError())
- return CPluginImages.get(CPluginImages.IMG_OBJS_REFACTORING_FATAL);
- else if (entry.isError())
- return CPluginImages.get(CPluginImages.IMG_OBJS_REFACTORING_ERROR);
- else if (entry.isWarning())
- return CPluginImages.get(CPluginImages.IMG_OBJS_REFACTORING_WARNING);
- else
- return CPluginImages.get(CPluginImages.IMG_OBJS_REFACTORING_INFO);
- }
-}

Back to the top