Class SWTCategorizationElementRenderer
- java.lang.Object
-
- org.eclipse.emf.ecp.view.model.common.AbstractRenderer<VELEMENT>
-
- org.eclipse.emfforms.spi.swt.core.AbstractSWTRenderer<VELEMENT>
-
- org.eclipse.emf.ecp.view.spi.categorization.swt.AbstractJFaceTreeRenderer<VCategorizationElement>
-
- org.eclipse.emf.ecp.view.spi.categorization.swt.SWTCategorizationElementRenderer
-
public class SWTCategorizationElementRenderer extends AbstractJFaceTreeRenderer<VCategorizationElement>
The Class ViewSWTRenderer.- Author:
- Eugen Neufeld
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecp.view.spi.categorization.swt.AbstractJFaceTreeRenderer
AbstractJFaceTreeRenderer.TreeTableLabelProvider
-
-
Field Summary
-
Fields inherited from class org.eclipse.emfforms.spi.swt.core.AbstractSWTRenderer
CUSTOM_VARIANT
-
-
Constructor Summary
Constructors Constructor Description SWTCategorizationElementRenderer(VCategorizationElement vElement, ViewModelContext viewContext, ReportService reportService, EMFFormsRendererFactory emfFormsRendererFactory)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected VCategorizationElement
getCategorizationElement()
The VCategorizationElement to set the current selection onto.protected org.eclipse.emf.common.util.EList<VAbstractCategorization>
getCategorizations()
The list of categorizations to display in the tree.-
Methods inherited from class org.eclipse.emf.ecp.view.spi.categorization.swt.AbstractJFaceTreeRenderer
addButtons, addTreeEditor, createdEditorPane, createTreeViewer, dispose, getGridDescription, getTreeLabelProvider, initTreeViewer, renderControl, setupTreeViewer, showCategorization
-
Methods inherited from class org.eclipse.emfforms.spi.swt.core.AbstractSWTRenderer
applyEnable, applyReadOnly, applyValidation, applyValidation, applyVisible, canReveal, finalizeRendering, getControls, getDefaultFontName, ignoreEnableOnReadOnly, init, isRenderingFinished, postInit, preInit, render, scrollToReveal, scrollToReveal, setControlEnabled
-
Methods inherited from class org.eclipse.emf.ecp.view.model.common.AbstractRenderer
checkRenderer, getRenderer, getReportService, getVElement, getViewModelContext, register
-
-
-
-
Constructor Detail
-
SWTCategorizationElementRenderer
@Inject public SWTCategorizationElementRenderer(VCategorizationElement vElement, ViewModelContext viewContext, ReportService reportService, EMFFormsRendererFactory emfFormsRendererFactory)
Default constructor.- Parameters:
vElement
- the view model element to be renderedviewContext
- the view contextreportService
- theReportService
emfFormsRendererFactory
- TheEMFFormsRendererFactory
- Since:
- 1.6
-
-
Method Detail
-
getCategorizations
protected org.eclipse.emf.common.util.EList<VAbstractCategorization> getCategorizations()
The list of categorizations to display in the tree.- Specified by:
getCategorizations
in classAbstractJFaceTreeRenderer<VCategorizationElement>
- Returns:
- the list of
VAbstractCategorization
- See Also:
AbstractJFaceTreeRenderer.getCategorizations()
-
getCategorizationElement
protected VCategorizationElement getCategorizationElement()
The VCategorizationElement to set the current selection onto.- Specified by:
getCategorizationElement
in classAbstractJFaceTreeRenderer<VCategorizationElement>
- Returns:
- the VCategorizationElement
- See Also:
AbstractJFaceTreeRenderer.getCategorizationElement()
-
-