Class ApplicationsTreeContentProvider
- java.lang.Object
-
- com.e1c.g5.dt.applications.ui.view.ApplicationsTreeContentProvider
-
- All Implemented Interfaces:
IContentProvider
,IStructuredContentProvider
,ITreeContentProvider
public class ApplicationsTreeContentProvider extends Object implements ITreeContentProvider
The content provider for application view.
-
-
Constructor Summary
Constructors Constructor Description ApplicationsTreeContentProvider(IApplicationManager applicationManager)
Constructs content providerApplicationsTreeContentProvider(IApplicationManager applicationManager, boolean showArtifacts)
Constructs content provider
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object[]
getChildren(Object parentElement)
Object[]
getElements(Object inputElement)
Object
getParent(Object element)
boolean
hasChildren(Object element)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.jface.viewers.IContentProvider
dispose, inputChanged
-
-
-
-
Constructor Detail
-
ApplicationsTreeContentProvider
@Inject public ApplicationsTreeContentProvider(IApplicationManager applicationManager)
Constructs content provider- Parameters:
applicationManager
- the application manager, cannot beenull
-
ApplicationsTreeContentProvider
public ApplicationsTreeContentProvider(IApplicationManager applicationManager, boolean showArtifacts)
Constructs content provider- Parameters:
applicationManager
- the application manager, cannot beenull
showArtifacts
- iftrue
then artifact will be shown in the tree viewer
-
-
Method Detail
-
getElements
public Object[] getElements(Object inputElement)
- Specified by:
getElements
in interfaceIStructuredContentProvider
- Specified by:
getElements
in interfaceITreeContentProvider
-
getChildren
public Object[] getChildren(Object parentElement)
- Specified by:
getChildren
in interfaceITreeContentProvider
-
getParent
public Object getParent(Object element)
- Specified by:
getParent
in interfaceITreeContentProvider
-
hasChildren
public boolean hasChildren(Object element)
- Specified by:
hasChildren
in interfaceITreeContentProvider
-
-