|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jface.action.ContributionItem
org.eclipse.gmf.runtime.common.ui.services.statusline.StatusLineMessageContributionItem
public class StatusLineMessageContributionItem
A default implementation of a contribution item that provides content for the
message contribution in the status line. The default status line manager
provides the ability to display an icon and message. This class is not really
a ContributionItem but rather a label provider that is returned by the
StatusLineService
| Constructor Summary | |
|---|---|
StatusLineMessageContributionItem()
Constructor for a StatusLineMessageContributionItem. |
|
| Method Summary | |
|---|---|
void |
addListener(ILabelProviderListener listener)
|
Image |
getImage(java.lang.Object element)
|
ILabelProvider |
getLabelProvider()
Get the label provider. |
java.lang.String |
getText(java.lang.Object element)
|
boolean |
isLabelProperty(java.lang.Object element,
java.lang.String property)
|
void |
removeListener(ILabelProviderListener listener)
|
void |
setLabelProvider(ILabelProvider aLabelProvider)
Set the label provider. |
| Methods inherited from class org.eclipse.jface.action.ContributionItem |
|---|
dispose, fill, fill, fill, fill, getId, getParent, isDirty, isDynamic, isEnabled, isGroupMarker, isSeparator, isVisible, saveWidgetState, setId, setParent, setVisible, toString, update, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.jface.viewers.IBaseLabelProvider |
|---|
dispose |
| Constructor Detail |
|---|
public StatusLineMessageContributionItem()
workbenchPage - - workbench page to be usedid - - contribution item id| Method Detail |
|---|
public void addListener(ILabelProviderListener listener)
addListener in interface IBaseLabelProviderpublic Image getImage(java.lang.Object element)
getImage in interface ILabelProviderpublic ILabelProvider getLabelProvider()
CommonLabelProvider.
public java.lang.String getText(java.lang.Object element)
getText in interface ILabelProvider
public boolean isLabelProperty(java.lang.Object element,
java.lang.String property)
isLabelProperty in interface IBaseLabelProviderpublic void removeListener(ILabelProviderListener listener)
removeListener in interface IBaseLabelProviderpublic void setLabelProvider(ILabelProvider aLabelProvider)
aLabelProvider - the label provider.
|
Runtime | |||||||||
| 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., Borland Software Corp., and others 2005,2006. All rights reserved.