|
Eclipse Platform Release 3.3 |
|||||||||||
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
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.
Subclasses may extend but should call the super implementation. |
Image |
getImage(Object element)
The LabelProvider implementation of this
ILabelProvider method returns null .
Subclasses may override. |
String |
getText(Object element)
The LabelProvider implementation of this
ILabelProvider method returns the element's
toString string. Subclasses may override. |
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 useMethod 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 IBaseLabelProvider
dispose
in class BaseLabelProvider
public Image getImage(Object element)
LabelProvider
implementation of this
ILabelProvider
method returns null
.
Subclasses may override.
getImage
in interface ILabelProvider
getImage
in class LabelProvider
public String getText(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
|
Eclipse Platform Release 3.3 |
|||||||||||
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, 2007. All rights reserved.