Class AvailableTablesLabelProvider
- java.lang.Object
-
- com._1c.g5.v8.dt.qw.ui.labelproviders.AbstractQueryWizardLabelProvider
-
- com._1c.g5.v8.dt.qw.ui.labelproviders.AvailableTablesLabelProvider
-
- All Implemented Interfaces:
DelegatingStyledCellLabelProvider.IStyledLabelProvider
,IBaseLabelProvider
,ITableLabelProvider
public class AvailableTablesLabelProvider extends AbstractQueryWizardLabelProvider implements DelegatingStyledCellLabelProvider.IStyledLabelProvider
Available tables label provider
-
-
Field Summary
-
Fields inherited from class com._1c.g5.v8.dt.qw.ui.labelproviders.AbstractQueryWizardLabelProvider
EMPTY_STRING
-
-
Constructor Summary
Constructors Constructor Description AvailableTablesLabelProvider(QueryWizardSource source, TreeViewer viewer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
org.eclipse.swt.graphics.Image
getColumnImage(Object element, int columnIndex)
String
getColumnText(Object element, int columnIndex)
org.eclipse.swt.graphics.Image
getImage(Object element)
StyledString
getStyledText(Object element)
static String
getText(Object element, ScriptVariant scriptVariant)
Get presentation for available table or field-
Methods inherited from class com._1c.g5.v8.dt.qw.ui.labelproviders.AbstractQueryWizardLabelProvider
addIssueMessage, addListener, addOverlayIcon, getToolTipText, isColumnHaveCustomLabelProvider, isLabelProperty, isToolTipTextRequired, removeListener, update
-
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
-
AvailableTablesLabelProvider
public AvailableTablesLabelProvider(QueryWizardSource source, TreeViewer viewer)
- Parameters:
source
- - query wizard source. Cannot benull
.viewer
- - tree viewer to create label provider for. Cannot benull
.
-
-
Method Detail
-
getText
public static String getText(Object element, ScriptVariant scriptVariant)
Get presentation for available table or field- Parameters:
element
- - table or fieldscriptVariant
- - script variant- Returns:
- presentation
-
getColumnImage
public org.eclipse.swt.graphics.Image getColumnImage(Object element, int columnIndex)
- Specified by:
getColumnImage
in interfaceITableLabelProvider
- Specified by:
getColumnImage
in classAbstractQueryWizardLabelProvider
-
getColumnText
public String getColumnText(Object element, int columnIndex)
- Specified by:
getColumnText
in interfaceITableLabelProvider
- Specified by:
getColumnText
in classAbstractQueryWizardLabelProvider
-
getStyledText
public StyledString getStyledText(Object element)
- Specified by:
getStyledText
in interfaceDelegatingStyledCellLabelProvider.IStyledLabelProvider
-
getImage
public org.eclipse.swt.graphics.Image getImage(Object element)
- Specified by:
getImage
in interfaceDelegatingStyledCellLabelProvider.IStyledLabelProvider
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceIBaseLabelProvider
- Overrides:
dispose
in classAbstractQueryWizardLabelProvider
-
-