|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.commands.common.EventManager
org.eclipse.jface.viewers.BaseLabelProvider
org.eclipse.jface.viewers.LabelProvider
org.eclipse.ltk.ui.refactoring.history.RefactoringHistoryLabelProvider
public class RefactoringHistoryLabelProvider
Label provider to display a refactoring history. This label provider can be
used in conjunction with RefactoringHistoryContentProvider or
directly on RefactoringDescriptorProxy and RefactoringHistory
elements.
Note: this class is not indented to be subclassed outside the refactoring framework.
IRefactoringHistoryControl,
RefactoringHistoryControlConfiguration,
RefactoringHistoryContentProvider| Constructor Summary | |
|---|---|
RefactoringHistoryLabelProvider(RefactoringHistoryControlConfiguration configuration)
Creates a new refactoring history label provider. |
|
| Method Summary | |
|---|---|
void |
dispose()
The BaseLabelProvider implementation of this
IBaseLabelProvider method clears its internal listener list. |
Image |
getImage(Object element)
The LabelProvider implementation of this
ILabelProvider method returns null. |
String |
getText(Object element)
The LabelProvider implementation of this
ILabelProvider method returns the element's
toString string. |
| Methods inherited from class org.eclipse.jface.viewers.BaseLabelProvider |
|---|
addListener, fireLabelProviderChanged, isLabelProperty, removeListener |
| Methods inherited from class org.eclipse.core.commands.common.EventManager |
|---|
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.jface.viewers.IBaseLabelProvider |
|---|
addListener, isLabelProperty, removeListener |
| Constructor Detail |
|---|
public RefactoringHistoryLabelProvider(RefactoringHistoryControlConfiguration configuration)
configuration - the refactoring history control configuration to use| Method Detail |
|---|
public void dispose()
BaseLabelProvider implementation of this
IBaseLabelProvider method clears its internal listener list.
Subclasses may extend but should call the super implementation.
dispose in interface IBaseLabelProviderdispose in class BaseLabelProviderpublic Image getImage(Object element)
LabelProvider implementation of this
ILabelProvider method returns null.
Subclasses may override.
getImage in interface ILabelProvidergetImage in class LabelProviderelement - the element for which to provide the label image
null
if there is no image for the given objectpublic String getText(Object element)
LabelProvider implementation of this
ILabelProvider method returns the element's
toString string. Subclasses may override.
getText in interface ILabelProvidergetText in class LabelProviderelement - the element for which to provide the label text
null
if there is no text label for the given object
|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.