Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.jface.databinding.viewers
Class ObservableMapCellLabelProvider

java.lang.Object
  extended by 

org.eclipse.core.commands.common.EventManager
      extended by 

org.eclipse.jface.viewers.BaseLabelProvider
          extended by 

org.eclipse.jface.viewers.CellLabelProvider
              extended by 
org.eclipse.jface.databinding.viewers.ObservableMapCellLabelProvider
All Implemented Interfaces:
IBaseLabelProvider

public class ObservableMapCellLabelProvider
extends CellLabelProvider

A label provider based on one or more observable maps that track attributes that this label provider uses for display. The default behavior is to display the first attribute's value. Clients may customize by subclassing and overriding update(ViewerCell).

Since:
1.3

Constructor Summary
  ObservableMapCellLabelProvider ( IObservableMap attributeMap)
          Creates a new label provider that tracks changes to one attribute.
protected ObservableMapCellLabelProvider ( IObservableMap[] attributeMaps)
          Creates a new label provider that tracks changes to more than one attribute.
 
Method Summary
 void dispose ()
          The BaseLabelProvider implementation of this IBaseLabelProvider method clears its internal listener list.
 void update ( ViewerCell cell)
          Update the label for cell.
 
Methods inherited from class org.eclipse.jface.viewers. CellLabelProvider
dispose, getToolTipBackgroundColor, getToolTipDisplayDelayTime, getToolTipFont, getToolTipForegroundColor, getToolTipImage, getToolTipShift, getToolTipStyle, getToolTipText, getToolTipTimeDisplayed, initialize, useNativeToolTip
 
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
 

Constructor Detail

ObservableMapCellLabelProvider

public ObservableMapCellLabelProvider(
IObservableMap attributeMap)
Creates a new label provider that tracks changes to one attribute.

Parameters:
attributeMap -

ObservableMapCellLabelProvider

protected ObservableMapCellLabelProvider(
IObservableMap[] attributeMaps)
Creates a new label provider that tracks changes to more than one attribute. This constructor should be used by subclasses that override update(ViewerCell) and make use of more than one attribute.

Parameters:
attributeMaps -
Method Detail

dispose

public void dispose()
Description copied from class: BaseLabelProvider
The BaseLabelProvider implementation of this IBaseLabelProvider method clears its internal listener list. Subclasses may extend but should call the super implementation.

Specified by:
dispose in interface IBaseLabelProvider
Overrides:
dispose in class BaseLabelProvider

update

public void update(
ViewerCell cell)
Description copied from class: CellLabelProvider
Update the label for cell.

Specified by:
update in class CellLabelProvider
Parameters:
cell - ViewerCell

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire