Class BasicTabularSectionNavigatorAdapter
- java.lang.Object
-
- org.eclipse.ui.model.WorkbenchAdapter
-
- com._1c.g5.v8.dt.navigator.adapters.NavigatorAdapterBase
-
- com._1c.g5.v8.dt.navigator.adapters.ModelNavigatorAdapterBase<M>
-
- com._1c.g5.v8.dt.md.ui.navigator.adapters.MdModelNavigatorAdapterBase<BasicTabularSection>
-
- com._1c.g5.v8.dt.md.ui.navigator.adapters.BasicTabularSectionNavigatorAdapter
-
- All Implemented Interfaces:
INavigatorContentProviderStateAware
,org.eclipse.core.runtime.IAdaptable
,org.eclipse.ui.model.IWorkbenchAdapter
,org.eclipse.ui.model.IWorkbenchAdapter2
,org.eclipse.ui.model.IWorkbenchAdapter3
public class BasicTabularSectionNavigatorAdapter extends MdModelNavigatorAdapterBase<BasicTabularSection> implements INavigatorContentProviderStateAware
Basic tabular section navigator adapter.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BasicTabularSectionNavigatorAdapter.Folder<M extends org.eclipse.emf.ecore.EObject>
Navigator adapter for "Tabular Sections" folder of a domain model object.
-
Field Summary
-
Fields inherited from class com._1c.g5.v8.dt.md.ui.navigator.adapters.MdModelNavigatorAdapterBase
configurationProvider, MD_MODEL_NAVIGATOR_ADAPTERS
-
Fields inherited from class com._1c.g5.v8.dt.navigator.adapters.ModelNavigatorAdapterBase
symbolicNameService
-
Fields inherited from class com._1c.g5.v8.dt.navigator.adapters.NavigatorAdapterBase
NO_CHILDREN
-
-
Constructor Summary
Constructors Constructor Description BasicTabularSectionNavigatorAdapter(BasicTabularSection model, IConfigurationProvider configurationProvider, ISymbolicNameService symbolicNameService, IModelParentSupport modelParentSupport, IResourceLookup resourceLookup, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, INavigatorContentProviderStateProvider navigatorContentProviderStateProvider)
Instantiates a new basic tabular section navigator adapter.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BasicTabularSectionNavigatorAdapter.Folder<BusinessProcess>
create(BusinessProcess businessProcess, IResourceLookup resourceLookup, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, INavigatorContentProviderStateProvider navigatorContentProviderStateProvider)
Creates a new navigator adapter for "Tabular sections" folder ofBusinessProcess
business object.static BasicTabularSectionNavigatorAdapter.Folder<Catalog>
create(Catalog catalog, IResourceLookup resourceLookup, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, INavigatorContentProviderStateProvider navigatorContentProviderStateProvider)
Creates a new navigator adapter for "Tabular sections" folder ofCatalog
business object.static BasicTabularSectionNavigatorAdapter.Folder<ChartOfAccounts>
create(ChartOfAccounts chart, IResourceLookup resourceLookup, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, INavigatorContentProviderStateProvider navigatorContentProviderStateProvider)
Creates a new navigator adapter for "Tabular sections" folder ofChartOfAccounts
business object.static BasicTabularSectionNavigatorAdapter.Folder<ChartOfCalculationTypes>
create(ChartOfCalculationTypes chart, IResourceLookup resourceLookup, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, INavigatorContentProviderStateProvider navigatorContentProviderStateProvider)
Creates a new navigator adapter for "Tabular sections" folder ofChartOfCalculationTypes
business object.static BasicTabularSectionNavigatorAdapter.Folder<ChartOfCharacteristicTypes>
create(ChartOfCharacteristicTypes chart, IResourceLookup resourceLookup, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, INavigatorContentProviderStateProvider navigatorContentProviderStateProvider)
Creates a new navigator adapter for "Tabular sections" folder ofChartOfCharacteristicTypes
business object.static BasicTabularSectionNavigatorAdapter.Folder<DataProcessor>
create(DataProcessor dataProcessor, IResourceLookup resourceLookup, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, INavigatorContentProviderStateProvider navigatorContentProviderStateProvider)
Creates a new navigator adapter for "Tabular sections" folder ofDataProcessor
business object.static BasicTabularSectionNavigatorAdapter.Folder<Document>
create(Document document, IResourceLookup resourceLookup, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, INavigatorContentProviderStateProvider navigatorContentProviderStateProvider)
Creates a new navigator adapter for "Tabular sections" folder ofDocument
business object.static BasicTabularSectionNavigatorAdapter.Folder<ExchangePlan>
create(ExchangePlan exchangePlan, IResourceLookup resourceLookup, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, INavigatorContentProviderStateProvider navigatorContentProviderStateProvider)
Creates a new navigator adapter for "Tabular sections" folder ofExchangePlan
business object.static BasicTabularSectionNavigatorAdapter.Folder<ExternalDataProcessor>
create(ExternalDataProcessor externalDataProcessor, IResourceLookup resourceLookup, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, INavigatorContentProviderStateProvider navigatorContentProviderStateProvider)
Creates a new navigator adapter for "Tabular sections" folder ofExternalDataProcessor
business object.static BasicTabularSectionNavigatorAdapter.Folder<ExternalReport>
create(ExternalReport externalReport, IResourceLookup resourceLookup, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, INavigatorContentProviderStateProvider navigatorContentProviderStateProvider)
Creates a new navigator adapter for "Tabular sections" folder ofExternalReport
business object.static BasicTabularSectionNavigatorAdapter.Folder<Report>
create(Report report, IResourceLookup resourceLookup, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, INavigatorContentProviderStateProvider navigatorContentProviderStateProvider)
Creates a new navigator adapter for "Tabular sections" folder ofReport
business object.static BasicTabularSectionNavigatorAdapter.Folder<Task>
create(Task task, IResourceLookup resourceLookup, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, INavigatorContentProviderStateProvider navigatorContentProviderStateProvider)
Creates a new navigator adapter for "Tabular sections" folder ofTask
business object<T> T
getAdapter(Class<T> adapter)
Object[]
getChildren(Object obj)
INavigatorContentProviderStateProvider
getNavigatorContentProviderState()
Gets actualINavigatorContentProviderStateProvider
Object
getParent(Object o)
boolean
hasChildren(Object element)
Return true in case of have children.void
setNavigatorContentProviderState(INavigatorContentProviderStateProvider navigatorContentProviderState)
-
Methods inherited from class com._1c.g5.v8.dt.md.ui.navigator.adapters.MdModelNavigatorAdapterBase
getConfiguration
-
Methods inherited from class com._1c.g5.v8.dt.navigator.adapters.ModelNavigatorAdapterBase
getImageDescriptor, getLabel, getLabelFeature, getModel
-
-
-
-
Constructor Detail
-
BasicTabularSectionNavigatorAdapter
public BasicTabularSectionNavigatorAdapter(BasicTabularSection model, IConfigurationProvider configurationProvider, ISymbolicNameService symbolicNameService, IModelParentSupport modelParentSupport, IResourceLookup resourceLookup, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, INavigatorContentProviderStateProvider navigatorContentProviderStateProvider)
Instantiates a new basic tabular section navigator adapter.- Parameters:
model
- the modelconfigurationProvider
- the configuration provider, cannot benull
symbolicNameService
- the symbolic name service, cannot benull
modelParentSupport
- the model parent support, cannot benull
resourceLookup
- the resource lookup, cannot benull
qualifiedNameProvider
- actualIQualifiedNameProvider
for getting full qualified name of the objects, can't benull
qualifiedNameProvider
- the qualified name provider, cannot benull
navigatorContentProviderStateProvider
- the navigator content provider state provider, can not benull
-
-
Method Detail
-
create
public static BasicTabularSectionNavigatorAdapter.Folder<Catalog> create(Catalog catalog, IResourceLookup resourceLookup, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, INavigatorContentProviderStateProvider navigatorContentProviderStateProvider)
Creates a new navigator adapter for "Tabular sections" folder ofCatalog
business object.- Parameters:
catalog
- the catalog, cannot benull
resourceLookup
- the resource lookup, can not benull
qualifiedNameProvider
- actualIQualifiedNameProvider
for getting full qualified name of the objects, can't benull
navigatorContentProviderStateProvider
- the navigator content provider state provider, can not benull
- Returns:
- the basic tabular sections navigator adapter, cannot be
null
-
create
public static BasicTabularSectionNavigatorAdapter.Folder<ExchangePlan> create(ExchangePlan exchangePlan, IResourceLookup resourceLookup, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, INavigatorContentProviderStateProvider navigatorContentProviderStateProvider)
Creates a new navigator adapter for "Tabular sections" folder ofExchangePlan
business object.- Parameters:
exchangePlan
- the exchange plan, cannot benull
resourceLookup
- the resource lookup, can not benull
qualifiedNameProvider
- actualIQualifiedNameProvider
for getting full qualified name of the objects, can't benull
navigatorContentProviderStateProvider
- the navigator content provider state provider, can not benull
- Returns:
- the basic tabular sections navigator adapter, cannot be
null
-
create
public static BasicTabularSectionNavigatorAdapter.Folder<Document> create(Document document, IResourceLookup resourceLookup, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, INavigatorContentProviderStateProvider navigatorContentProviderStateProvider)
Creates a new navigator adapter for "Tabular sections" folder ofDocument
business object.- Parameters:
document
- the document, cannot benull
resourceLookup
- the resource lookup, can not benull
qualifiedNameProvider
- actualIQualifiedNameProvider
for getting full qualified name of the objects, can't benull
navigatorContentProviderStateProvider
- the navigator content provider state provider, can not benull
- Returns:
- the basic tabular sections navigator adapter, cannot be
null
-
create
public static BasicTabularSectionNavigatorAdapter.Folder<Report> create(Report report, IResourceLookup resourceLookup, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, INavigatorContentProviderStateProvider navigatorContentProviderStateProvider)
Creates a new navigator adapter for "Tabular sections" folder ofReport
business object.- Parameters:
report
- the report, cannot benull
resourceLookup
- the resource lookup, can not benull
qualifiedNameProvider
- actualIQualifiedNameProvider
for getting full qualified name of the objects, can't benull
navigatorContentProviderStateProvider
- the navigator content provider state provider, can not benull
- Returns:
- the basic tabular sections navigator adapter, cannot be
null
-
create
public static BasicTabularSectionNavigatorAdapter.Folder<ExternalReport> create(ExternalReport externalReport, IResourceLookup resourceLookup, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, INavigatorContentProviderStateProvider navigatorContentProviderStateProvider)
Creates a new navigator adapter for "Tabular sections" folder ofExternalReport
business object.- Parameters:
externalReport
- the externalReport, cannot benull
resourceLookup
- the resource lookup, can not benull
qualifiedNameProvider
- actualIQualifiedNameProvider
for getting full qualified name of the objects, can't benull
navigatorContentProviderStateProvider
- the navigator content provider state provider, can not benull
- Returns:
- the basic tabular sections navigator adapter, never
null
-
create
public static BasicTabularSectionNavigatorAdapter.Folder<DataProcessor> create(DataProcessor dataProcessor, IResourceLookup resourceLookup, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, INavigatorContentProviderStateProvider navigatorContentProviderStateProvider)
Creates a new navigator adapter for "Tabular sections" folder ofDataProcessor
business object.- Parameters:
dataProcessor
- the data processor, cannot benull
resourceLookup
- the resource lookup, can not benull
qualifiedNameProvider
- actualIQualifiedNameProvider
for getting full qualified name of the objects, can't benull
navigatorContentProviderStateProvider
- the navigator content provider state provider, can not benull
- Returns:
- the basic tabular sections navigator adapter, cannot be
null
-
create
public static BasicTabularSectionNavigatorAdapter.Folder<ExternalDataProcessor> create(ExternalDataProcessor externalDataProcessor, IResourceLookup resourceLookup, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, INavigatorContentProviderStateProvider navigatorContentProviderStateProvider)
Creates a new navigator adapter for "Tabular sections" folder ofExternalDataProcessor
business object.- Parameters:
externalDataProcessor
- the external data processor, cannot benull
resourceLookup
- the resource lookup, can not benull
qualifiedNameProvider
- actualIQualifiedNameProvider
for getting full qualified name of the objects, can't benull
navigatorContentProviderStateProvider
- the navigator content provider state provider, can not benull
- Returns:
- the basic tabular sections navigator adapter, cannot be
null
-
create
public static BasicTabularSectionNavigatorAdapter.Folder<ChartOfAccounts> create(ChartOfAccounts chart, IResourceLookup resourceLookup, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, INavigatorContentProviderStateProvider navigatorContentProviderStateProvider)
Creates a new navigator adapter for "Tabular sections" folder ofChartOfAccounts
business object.- Parameters:
chart
- the chart of accounts, cannot benull
resourceLookup
- the resource lookup, can not benull
qualifiedNameProvider
- actualIQualifiedNameProvider
for getting full qualified name of the objects, can't benull
navigatorContentProviderStateProvider
- the navigator content provider state provider, can not benull
- Returns:
- the basic tabular sections navigator adapter, cannot be
null
-
create
public static BasicTabularSectionNavigatorAdapter.Folder<ChartOfCalculationTypes> create(ChartOfCalculationTypes chart, IResourceLookup resourceLookup, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, INavigatorContentProviderStateProvider navigatorContentProviderStateProvider)
Creates a new navigator adapter for "Tabular sections" folder ofChartOfCalculationTypes
business object.- Parameters:
chart
- the chart of calculation types, cannot benull
resourceLookup
- the resource lookup, can not benull
qualifiedNameProvider
- actualIQualifiedNameProvider
for getting full qualified name of the objects, can't benull
navigatorContentProviderStateProvider
- the navigator content provider state provider, can not benull
- Returns:
- the basic tabular sections navigator adapter, cannot be
null
-
create
public static BasicTabularSectionNavigatorAdapter.Folder<ChartOfCharacteristicTypes> create(ChartOfCharacteristicTypes chart, IResourceLookup resourceLookup, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, INavigatorContentProviderStateProvider navigatorContentProviderStateProvider)
Creates a new navigator adapter for "Tabular sections" folder ofChartOfCharacteristicTypes
business object.- Parameters:
chart
- the chart of characteristic types, cannot benull
resourceLookup
- the resource lookup, can not benull
qualifiedNameProvider
- actualIQualifiedNameProvider
for getting full qualified name of the objects, can't benull
navigatorContentProviderStateProvider
- the navigator content provider state provider, can not benull
- Returns:
- the basic tabular sections navigator adapter, cannot be
null
-
create
public static BasicTabularSectionNavigatorAdapter.Folder<BusinessProcess> create(BusinessProcess businessProcess, IResourceLookup resourceLookup, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, INavigatorContentProviderStateProvider navigatorContentProviderStateProvider)
Creates a new navigator adapter for "Tabular sections" folder ofBusinessProcess
business object.- Parameters:
businessProcess
- theBusinessProcess
, cannot benull
resourceLookup
- the resource lookup, can not benull
qualifiedNameProvider
- actualIQualifiedNameProvider
for getting full qualified name of the objects, can't benull
navigatorContentProviderStateProvider
- the navigator content provider state provider, can not benull
- Returns:
- the basic tabular sections navigator adapter, cannot be
null
-
create
public static BasicTabularSectionNavigatorAdapter.Folder<Task> create(Task task, IResourceLookup resourceLookup, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, INavigatorContentProviderStateProvider navigatorContentProviderStateProvider)
Creates a new navigator adapter for "Tabular sections" folder ofTask
business object- Parameters:
task
- theTask
, cannot benull
resourceLookup
- the resource lookup, can not benull
qualifiedNameProvider
- actualIQualifiedNameProvider
for getting full qualified name of the objects, can't benull
navigatorContentProviderStateProvider
- the navigator content provider state provider, can not benull
- Returns:
- the basic tabular sections navigator adapter, cannot be
null
-
getChildren
public Object[] getChildren(Object obj)
Description copied from class:ModelNavigatorAdapterBase
- Specified by:
getChildren
in interfaceorg.eclipse.ui.model.IWorkbenchAdapter
- Overrides:
getChildren
in classModelNavigatorAdapterBase<BasicTabularSection>
-
hasChildren
public boolean hasChildren(Object element)
Description copied from class:NavigatorAdapterBase
Return true in case of have children.- Overrides:
hasChildren
in classModelNavigatorAdapterBase<BasicTabularSection>
- Returns:
-
getParent
public Object getParent(Object o)
- Specified by:
getParent
in interfaceorg.eclipse.ui.model.IWorkbenchAdapter
- Specified by:
getParent
in classNavigatorAdapterBase
-
getAdapter
public <T> T getAdapter(Class<T> adapter)
- Specified by:
getAdapter
in interfaceorg.eclipse.core.runtime.IAdaptable
- Overrides:
getAdapter
in classNavigatorAdapterBase
-
setNavigatorContentProviderState
public void setNavigatorContentProviderState(INavigatorContentProviderStateProvider navigatorContentProviderState)
Description copied from interface:INavigatorContentProviderStateAware
- Specified by:
setNavigatorContentProviderState
in interfaceINavigatorContentProviderStateAware
- Parameters:
navigatorContentProviderState
- newINavigatorContentProviderStateProvider
, can't benull
-
getNavigatorContentProviderState
public INavigatorContentProviderStateProvider getNavigatorContentProviderState()
Description copied from interface:INavigatorContentProviderStateAware
Gets actualINavigatorContentProviderStateProvider
- Specified by:
getNavigatorContentProviderState
in interfaceINavigatorContentProviderStateAware
- Returns:
- actual
INavigatorContentProviderStateProvider
, nevernull
-
-