|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sysord.mad.emitter.impl.AbstractViewBuilder
com.sysord.mad.emitter.impl.SWTViewBuilder
public class SWTViewBuilder
Implementation of the AbstractViewBuilder using FormToolkit.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.sysord.mad.emitter.impl.AbstractViewBuilder |
|---|
com.sysord.mad.emitter.impl.AbstractViewBuilder.ViewBuilderEventImpl |
| Field Summary | |
|---|---|
protected java.util.Map<java.lang.String,SWTSpecificWidgetContext> |
contexts
Contexts for each tab |
protected SWTSpecificWidgetContext |
currentContext
Current populating context |
protected com.sysord.mad.evaluator.FormatExpressionEvaluationService |
formatExprEvaluationService
|
static int |
GRID_COLUMNS
|
protected com.sysord.emf.tools.misc.EMFImageProvider |
imageProvider
|
org.eclipse.swt.graphics.Point |
lastOrigin
|
protected boolean |
tabListenerActive
|
protected java.util.Map<org.eclipse.emf.ecore.EClass,java.lang.Integer> |
tabsCache
Selected tab for a specific selected object. |
protected com.sysord.mad.emitter.ModelElementView |
view
Current view |
protected com.sysord.mad.widget.WidgetBuilder |
widgetBuilder
|
| Fields inherited from class com.sysord.mad.emitter.impl.AbstractViewBuilder |
|---|
configurationManager, context, listeners, logger, mao |
| Constructor Summary | |
|---|---|
SWTViewBuilder()
Create a FormViewBuilder. |
|
| Method Summary | |
|---|---|
protected void |
createSpecificView(com.sysord.mad.emitter.ModelElementView view)
|
protected org.eclipse.swt.widgets.Composite |
createView(SWTSpecificWidgetContext swtContext)
Create the composite view corresponding to the ModelElementView using
FormToolkit. |
protected void |
dispose()
Dispose this ViewBuilder. |
com.sysord.mad.widget.SpecificWidgetContext |
getSpecificWidgetContext()
|
org.eclipse.ui.forms.widgets.FormToolkit |
getToolkit(org.eclipse.swt.widgets.Composite composite)
Return the value of toolkit. |
void |
setSpecificWidgetContext(com.sysord.mad.widget.SpecificWidgetContext specificWidgetContext)
|
| Methods inherited from class com.sysord.mad.emitter.impl.AbstractViewBuilder |
|---|
addViewBuilderListener, buildView, createView, getCurrentContext, getOutputWidget, notify, removeViewBuilderListener, updateCurrentView, updateCurrentViewOuputputWidgets |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int GRID_COLUMNS
public org.eclipse.swt.graphics.Point lastOrigin
protected java.util.Map<java.lang.String,SWTSpecificWidgetContext> contexts
protected SWTSpecificWidgetContext currentContext
protected com.sysord.mad.emitter.ModelElementView view
protected java.util.Map<org.eclipse.emf.ecore.EClass,java.lang.Integer> tabsCache
protected boolean tabListenerActive
@Inject protected com.sysord.mad.widget.WidgetBuilder widgetBuilder
@Inject protected com.sysord.emf.tools.misc.EMFImageProvider imageProvider
@Inject protected com.sysord.mad.evaluator.FormatExpressionEvaluationService formatExprEvaluationService
| Constructor Detail |
|---|
public SWTViewBuilder()
FormViewBuilder.
| Method Detail |
|---|
protected void createSpecificView(com.sysord.mad.emitter.ModelElementView view)
createSpecificView in class com.sysord.mad.emitter.impl.AbstractViewBuilderpublic org.eclipse.ui.forms.widgets.FormToolkit getToolkit(org.eclipse.swt.widgets.Composite composite)
composite -
public com.sysord.mad.widget.SpecificWidgetContext getSpecificWidgetContext()
getSpecificWidgetContext in interface com.sysord.mad.widget.SpecificContextHolderpublic void setSpecificWidgetContext(com.sysord.mad.widget.SpecificWidgetContext specificWidgetContext)
setSpecificWidgetContext in interface com.sysord.mad.widget.SpecificContextHolderprotected org.eclipse.swt.widgets.Composite createView(SWTSpecificWidgetContext swtContext)
ModelElementView using
FormToolkit.
swtContext - protected void dispose()
ViewBuilder.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||