Class SourcesContentProvider
- java.lang.Object
-
- com._1c.g5.v8.dt.qw.ui.contentproviders.AbstractQueryWizardContentProvider
-
- com._1c.g5.v8.dt.qw.ui.contentproviders.SourcesContentProvider
-
- All Implemented Interfaces:
IQueryWizardEditProviderHolder
,IContentProvider
,IStructuredContentProvider
,ITreeContentProvider
public class SourcesContentProvider extends AbstractQueryWizardContentProvider
Content provider for sources
-
-
Field Summary
-
Fields inherited from class com._1c.g5.v8.dt.qw.ui.contentproviders.AbstractQueryWizardContentProvider
editProvider
-
-
Constructor Summary
Constructors Constructor Description SourcesContentProvider(QueryWizardSource source)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Object[]
getChildren(Object parentElement)
Object[]
getElements(Object inputElement)
static List<? extends DbViewElement>
getSourceRealFields(Object sourceItem, QueryWizardSource queryWizardSource)
Get real fields for source or field from sourceboolean
hasChildren(Object element)
-
Methods inherited from class com._1c.g5.v8.dt.qw.ui.contentproviders.AbstractQueryWizardContentProvider
dispose, getEditProvider, getParent, inputChanged, setEditProvider
-
-
-
-
Constructor Detail
-
SourcesContentProvider
public SourcesContentProvider(QueryWizardSource source)
- Parameters:
source
- - query wizard source
-
-
Method Detail
-
getSourceRealFields
public static List<? extends DbViewElement> getSourceRealFields(Object sourceItem, QueryWizardSource queryWizardSource)
Get real fields for source or field from source- Parameters:
sourceItem
- - source or fieldqueryWizardsource
- - query wizard source- Returns:
- array of fields
-
getChildren
public Object[] getChildren(Object parentElement)
- Specified by:
getChildren
in interfaceITreeContentProvider
- Overrides:
getChildren
in classAbstractQueryWizardContentProvider
-
hasChildren
public boolean hasChildren(Object element)
- Specified by:
hasChildren
in interfaceITreeContentProvider
- Overrides:
hasChildren
in classAbstractQueryWizardContentProvider
-
-