Class StandardAttributeNavigatorAdapter
- java.lang.Object
-
- org.eclipse.ui.model.WorkbenchAdapter
-
- com._1c.g5.v8.dt.navigator.adapters.NavigatorAdapterBase
-
- com._1c.g5.v8.dt.navigator.adapters.ModelNavigatorAdapterBase<Field>
-
- com._1c.g5.v8.dt.md.ui.navigator.adapters.StandardAttributeNavigatorAdapter
-
- 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 StandardAttributeNavigatorAdapter extends ModelNavigatorAdapterBase<Field>
Standard attribute navigator adapter,Field
adapter in fact.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StandardAttributeNavigatorAdapter.Folder
Navigator adapter for "Standard Attributes" 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 StandardAttributeNavigatorAdapter(IV8ProjectManager projectManager, ISymbolicNameService symbolicNameService, IModelParentSupport modelParentSupport, IResourceLookup resourceLookup)
Instantiates a new standard attribute navigator adapter.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StandardAttributeNavigatorAdapter.Folder
create(FieldSource fieldSource, IResourceLookup resourceLookup)
Creates a new navigator adapter for the "Standard attributes" folder.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)
-
Methods inherited from class com._1c.g5.v8.dt.navigator.adapters.ModelNavigatorAdapterBase
getChildren, getLabel, getModel, hasChildren
-
Methods inherited from class com._1c.g5.v8.dt.navigator.adapters.NavigatorAdapterBase
getAdapter
-
-
-
-
Constructor Detail
-
StandardAttributeNavigatorAdapter
public StandardAttributeNavigatorAdapter(IV8ProjectManager projectManager, ISymbolicNameService symbolicNameService, IModelParentSupport modelParentSupport, IResourceLookup resourceLookup)
Instantiates a new standard attribute navigator adapter.- Parameters:
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 StandardAttributeNavigatorAdapter.Folder create(FieldSource fieldSource, IResourceLookup resourceLookup)
Creates a new navigator adapter for the "Standard attributes" folder.- Parameters:
fieldSource
- the field source to create the adapter for, may not benull
.resourceLookup
- the resource lookup, cannot benull
- Returns:
- the standard attributes navigator adapter.
-
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<Field>
-
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<Field>
- Parameters:
o
- the object this adapter tries to adapt, may not benull
.- Returns:
- the label feature.
-
getParent
public Object getParent(Object o)
- Specified by:
getParent
in interfaceorg.eclipse.ui.model.IWorkbenchAdapter
- Specified by:
getParent
in classNavigatorAdapterBase
-
-