Class VariableUsageContentProvider
java.lang.Object
org.palladiosimulator.editors.commons.dialogs.variableusage.VariableUsageContentProvider
- All Implemented Interfaces:
IContentProvider
,IStructuredContentProvider
,ITreeContentProvider
- Direct Known Subclasses:
VariableUsageInputParameterContentProvider
,VariableUsageOutputParameterContentProvider
The Class VariableUsageContentProvider.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Dispose.Object[]
getChildren
(Object parent) Gets the children.Object[]
getElements
(Object inputElement) Gets the elements.Gets the parent.boolean
hasChildren
(Object element) Checks for children.void
inputChanged
(Viewer viewer, Object oldInput, Object newInput) Input changed.
-
Constructor Details
-
VariableUsageContentProvider
public VariableUsageContentProvider()
-
-
Method Details
-
getElements
Gets the elements.- Specified by:
getElements
in interfaceIStructuredContentProvider
- Specified by:
getElements
in interfaceITreeContentProvider
- Parameters:
inputElement
- the input element- Returns:
- the elements
- See Also:
-
dispose
public void dispose()Dispose.- Specified by:
dispose
in interfaceIContentProvider
- See Also:
-
inputChanged
Input changed.- Specified by:
inputChanged
in interfaceIContentProvider
- Parameters:
viewer
- the vieweroldInput
- the old inputnewInput
- the new input- See Also:
-
getChildren
Gets the children.- Specified by:
getChildren
in interfaceITreeContentProvider
- Parameters:
parent
- the parent- Returns:
- the children
- See Also:
-
getParent
Gets the parent.- Specified by:
getParent
in interfaceITreeContentProvider
- Parameters:
element
- the element- Returns:
- the parent
- See Also:
-
hasChildren
Checks for children.- Specified by:
hasChildren
in interfaceITreeContentProvider
- Parameters:
element
- the element- Returns:
- true, if successful
- See Also:
-