Class StandardTabularSectionDescriptionNavigatorAdapter
- java.lang.Object
-
- org.eclipse.ui.model.WorkbenchAdapter
-
- com._1c.g5.v8.dt.navigator.adapters.NavigatorAdapterBase
-
- com._1c.g5.v8.dt.navigator.adapters.ModelNavigatorAdapterBase<StandardTabularPart>
-
- com._1c.g5.v8.dt.md.ui.navigator.adapters.StandardTabularSectionDescriptionNavigatorAdapter
-
- All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable
,org.eclipse.ui.model.IWorkbenchAdapter
,org.eclipse.ui.model.IWorkbenchAdapter2
,org.eclipse.ui.model.IWorkbenchAdapter3
public class StandardTabularSectionDescriptionNavigatorAdapter extends ModelNavigatorAdapterBase<StandardTabularPart>
StandardTabularSectionDescription
navigator adapter.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StandardTabularSectionDescriptionNavigatorAdapter.Folder
Navigator adapter forStandardTabularPartSource
folder.
-
Field Summary
-
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 StandardTabularSectionDescriptionNavigatorAdapter(StandardTabularPart model, IV8ProjectManager projectManager, ISymbolicNameService symbolicNameService, IModelParentSupport modelParentSupport, IResourceLookup resourceLookup)
Instantiates a new standard tabular sections navigator adapter.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StandardTabularSectionDescriptionNavigatorAdapter.Folder
create(StandardTabularPartSource standardTabularPartSource, IResourceLookup resourceLookup)
Creates a new navigator adapter for the "Standard tabular sections" folder.Object[]
getChildren(Object o)
org.eclipse.jface.resource.ImageDescriptor
getImageDescriptor(Object object)
protected org.eclipse.emf.ecore.EAttribute
getLabelFeature(Object o)
Gets the label feature to fetch the label from.Object
getParent(Object o)
boolean
hasChildren(Object element)
Return true in case of have children.-
Methods inherited from class com._1c.g5.v8.dt.navigator.adapters.ModelNavigatorAdapterBase
getLabel, getModel
-
Methods inherited from class com._1c.g5.v8.dt.navigator.adapters.NavigatorAdapterBase
getAdapter
-
-
-
-
Constructor Detail
-
StandardTabularSectionDescriptionNavigatorAdapter
public StandardTabularSectionDescriptionNavigatorAdapter(StandardTabularPart model, IV8ProjectManager projectManager, ISymbolicNameService symbolicNameService, IModelParentSupport modelParentSupport, IResourceLookup resourceLookup)
Instantiates a new standard tabular sections navigator adapter.- Parameters:
model
- the model, cannot benull
projectManager
- the V8 project manager provider, cannot benull
symbolicNameService
- the symbolic name service, cannot benull
modelParentSupport
- the model parent support, cannot benull
resourceLookup
- the resource lookup, cannot benull
-
-
Method Detail
-
create
public static StandardTabularSectionDescriptionNavigatorAdapter.Folder create(StandardTabularPartSource standardTabularPartSource, IResourceLookup resourceLookup)
Creates a new navigator adapter for the "Standard tabular sections" folder.- Parameters:
standardTabularPartSource
- the field source to create the adapter for, may not benull
.- Returns:
- the standard tabular sections navigator adapter.
-
getChildren
public Object[] getChildren(Object o)
Description copied from class:ModelNavigatorAdapterBase
- Specified by:
getChildren
in interfaceorg.eclipse.ui.model.IWorkbenchAdapter
- Overrides:
getChildren
in classModelNavigatorAdapterBase<StandardTabularPart>
-
hasChildren
public boolean hasChildren(Object element)
Description copied from class:NavigatorAdapterBase
Return true in case of have children.- Overrides:
hasChildren
in classModelNavigatorAdapterBase<StandardTabularPart>
- Returns:
-
getParent
public Object getParent(Object o)
- Specified by:
getParent
in interfaceorg.eclipse.ui.model.IWorkbenchAdapter
- Specified by:
getParent
in classNavigatorAdapterBase
-
getImageDescriptor
public org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(Object object)
Description copied from class:ModelNavigatorAdapterBase
- Specified by:
getImageDescriptor
in interfaceorg.eclipse.ui.model.IWorkbenchAdapter
- Overrides:
getImageDescriptor
in classModelNavigatorAdapterBase<StandardTabularPart>
-
getLabelFeature
protected org.eclipse.emf.ecore.EAttribute getLabelFeature(Object o)
Description copied from class:ModelNavigatorAdapterBase
Gets the label feature to fetch the label from.- Overrides:
getLabelFeature
in classModelNavigatorAdapterBase<StandardTabularPart>
- Parameters:
o
- the object this adapter tries to adapt, may not benull
.- Returns:
- the label feature.
-
-