Class AssociatedInfobasesContentProvider
- java.lang.Object
-
- com._1c.g5.v8.dt.platform.services.ui.infobases.AssociatedInfobasesContentProvider
-
- All Implemented Interfaces:
IContentProvider
,IStructuredContentProvider
public class AssociatedInfobasesContentProvider extends Object implements IStructuredContentProvider
Content provider to provide infobases input with associated infobases at top of the input list. Associated infobases will be separated from others infobases by the '-----
' separator.Clients are intended to
set project
to see associated infobases (if they exists) at top of the input list.
-
-
Constructor Summary
Constructors Constructor Description AssociatedInfobasesContentProvider(IInfobaseAssociationManager infobaseAssociationManager)
Creates an instance ofAssociatedInfobasesContentProvider
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
Object[]
getElements(Object inputElement)
void
inputChanged(Viewer viewer, Object oldInput, Object newInput)
void
setProject(org.eclipse.core.resources.IProject project)
Sets the project.
-
-
-
Constructor Detail
-
AssociatedInfobasesContentProvider
public AssociatedInfobasesContentProvider(IInfobaseAssociationManager infobaseAssociationManager)
Creates an instance ofAssociatedInfobasesContentProvider
- Parameters:
infobaseAssociationManager
- the infobase association manager, cannot benull
-
-
Method Detail
-
getElements
public Object[] getElements(Object inputElement)
- Specified by:
getElements
in interfaceIStructuredContentProvider
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceIContentProvider
-
inputChanged
public void inputChanged(Viewer viewer, Object oldInput, Object newInput)
- Specified by:
inputChanged
in interfaceIContentProvider
-
setProject
public void setProject(org.eclipse.core.resources.IProject project)
Sets the project.- Parameters:
project
- the project to set, cannot benull
-
-