|
Eclipse Platform Release 3.2 |
|||||||||
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.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 LabelProvider implementation of this
IBaseLabelProvider method does nothing. |
Image |
getImage(java.lang.Object element)
The LabelProvider implementation of this
ILabelProvider method returns null . |
java.lang.String |
getText(java.lang.Object element)
The LabelProvider implementation of this
ILabelProvider method returns the element's toString
string. |
Methods inherited from class org.eclipse.jface.viewers.LabelProvider |
---|
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 |
Constructor Detail |
---|
public RefactoringHistoryLabelProvider(RefactoringHistoryControlConfiguration configuration)
configuration
- the refactoring history control configuration to useMethod Detail |
---|
public void dispose()
LabelProvider
implementation of this
IBaseLabelProvider
method does nothing. Subclasses may extend.
dispose
in interface IBaseLabelProvider
dispose
in class LabelProvider
public Image getImage(java.lang.Object element)
LabelProvider
implementation of this
ILabelProvider
method returns null
. Subclasses may
override.
getImage
in interface ILabelProvider
getImage
in class LabelProvider
element
- the element for which to provide the label image
null
if there is no image for the given objectpublic java.lang.String getText(java.lang.Object element)
LabelProvider
implementation of this
ILabelProvider
method returns the element's toString
string. Subclasses may override.
getText
in interface ILabelProvider
getText
in class LabelProvider
element
- the element for which to provide the label text
null
if there is no text label for the given object
|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.