Class ResourcesGroupsLabelProvider
- java.lang.Object
-
- org.eclipse.core.commands.common.EventManager
-
- org.eclipse.jface.viewers.BaseLabelProvider
-
- org.eclipse.jface.viewers.CellLabelProvider
-
- org.eclipse.jface.viewers.ColumnLabelProvider
-
- com._1c.g5.v8.dt.dcs.ui.resources.ResourcesGroupsLabelProvider
-
- All Implemented Interfaces:
ICheckBoxLabelProvider
,IBaseLabelProvider
,IColorProvider
,IFontProvider
,ILabelProvider
,IToolTipProvider
public class ResourcesGroupsLabelProvider extends ColumnLabelProvider implements ICheckBoxLabelProvider
LabelProvider групп ресурса
-
-
Constructor Summary
Constructors Constructor Description ResourcesGroupsLabelProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isEnabled(Object element, int columnIndex)
Whether checkbox is enabledboolean
isSelected(Object element, int columnIndex)
Whether checkbox is selectedboolean
isVisible(Object element, int columnIndex)
Whether checkbox is visible (if visibility changes for different items)void
update(ViewerCell cell)
-
Methods inherited from class org.eclipse.jface.viewers.ColumnLabelProvider
createImageProvider, createTextImageProvider, createTextProvider, getBackground, getFont, getForeground, getImage, getText
-
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, dispose, 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, dispose, isLabelProperty, removeListener
-
Methods inherited from interface org.eclipse.jface.viewers.ILabelProvider
getImage, getText
-
-
-
-
Method Detail
-
update
public void update(ViewerCell cell)
- Overrides:
update
in classColumnLabelProvider
-
isVisible
public boolean isVisible(Object element, int columnIndex)
Description copied from interface:ICheckBoxLabelProvider
Whether checkbox is visible (if visibility changes for different items)- Specified by:
isVisible
in interfaceICheckBoxLabelProvider
- Parameters:
element
- current element, can't be nullcolumnIndex
- index of column- Returns:
- true if checkbox is visible, false otherwise
-
isEnabled
public boolean isEnabled(Object element, int columnIndex)
Description copied from interface:ICheckBoxLabelProvider
Whether checkbox is enabled- Specified by:
isEnabled
in interfaceICheckBoxLabelProvider
- Parameters:
element
- current element, can't be nullcolumnIndex
- index of column- Returns:
- true if checkbox is enable, false otherwise
-
isSelected
public boolean isSelected(Object element, int columnIndex)
Description copied from interface:ICheckBoxLabelProvider
Whether checkbox is selected- Specified by:
isSelected
in interfaceICheckBoxLabelProvider
- Parameters:
element
- current element, can't be nullcolumnIndex
- index of column- Returns:
- true if checkbox is selected, false otherwise
-
-