Module org.nasdanika.html.flow
Package org.nasdanika.html.flow
Class FlowElementActionBuilder<T extends FlowElement<?>>
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.AdapterImpl
-
- org.nasdanika.html.emf.EObjectActionBuilder<T>
-
- org.nasdanika.html.flow.PackageElementActionBuilder<T>
-
- org.nasdanika.html.flow.ParticipantResponsibilityActionBuilder<T>
-
- org.nasdanika.html.flow.FlowElementActionBuilder<T>
-
- All Implemented Interfaces:
AutoCloseable,BiFunction<BiSupplier<Action,BiConsumer<EObject,Action>>,ProgressMonitor,Action>,Adapter,Adapter.Internal,Diagnosable,ExecutionParticipant,ExecutionParticipantInfo,Function<BiSupplier<Action,BiConsumer<EObject,Action>>,Action>,ActionBuilder
- Direct Known Subclasses:
ActivityActionBuilder,PseudoStateActionBuilder,ServiceActionBuilder
public class FlowElementActionBuilder<T extends FlowElement<?>> extends ParticipantResponsibilityActionBuilder<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.nasdanika.html.emf.EObjectActionBuilder
EObjectActionBuilder.ContentProvider<T extends Object>, EObjectActionBuilder.EObjectActionResolverAdapter
-
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
Adapter.Internal
-
-
Field Summary
-
Fields inherited from class org.nasdanika.html.flow.PackageElementActionBuilder
descriptionTabLengthThreshold
-
Fields inherited from class org.nasdanika.html.emf.EObjectActionBuilder
context
-
Fields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
target
-
Fields inherited from interface org.nasdanika.common.Diagnosable
SUCCESS
-
-
Constructor Summary
Constructors Constructor Description FlowElementActionBuilder(T value, Context context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<ETypedElement>getProperties()protected ObjectgetTypedElementValue(ETypedElement typedElement)protected voidpopulateRepresentation(Diagram representation, FlowStateDiagramGenerator flowStateDiagramGenerator)protected voidpopulateRepresentation(Diagram representation, Action action, EObjectActionResolver.Context context, ProgressMonitor progressMonitor)Populates empty representations.protected voidresolve(Action action, EObjectActionResolver.Context context, ProgressMonitor progressMonitor)-
Methods inherited from class org.nasdanika.html.flow.PackageElementActionBuilder
buildAction, createGenerator, createPropertiesTable, name
-
Methods inherited from class org.nasdanika.html.emf.EObjectActionBuilder
adaptChild, addContent, buildDynamicTable, buildDynamicTable, buildTable, buildTable, configureETypedElementLabel, createChildAction, createColumnBuilder, createColumnBuilder, createColumnBuilder, createColumnBuilder, createColumnBuilder, createColumnBuilders, createColumnBuilders, createDiagnosticAction, createDynamicColumnBuilder, createDynamicColumnBuilder, createDynamicColumnBuilder, createDynamicColumnBuilder, createDynamicColumnBuilder, createDynamicColumnBuilders, createDynamicColumnBuilders, createEMapTable, createETypedElementLabel, createFloatLeftNavigation, createFloatRightNavigation, createLeftNavigation, createRightNavigation, createTableAction, createTableAction, createText, execute, getArguments, getDiagnostic, getFeatureDiagnostic, getSeverityColor, getTarget, getTypedElementValue, gitRemoteLink, isEmptyValue, isSet, newAction, renderList, renderValue, size, sortKeys, temporalValue, typedElementIcon, typedElementLabelText
-
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
isAdapterForType, notifyChanged, setTarget, unsetTarget
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nasdanika.html.model.app.util.ActionBuilder
asActionProvider, asActionProvider
-
Methods inherited from interface java.util.function.BiFunction
andThen
-
Methods inherited from interface org.nasdanika.common.Diagnosable
diagnose
-
Methods inherited from interface org.nasdanika.common.ExecutionParticipant
close, commit, rollback, split, split, splitAndCommit, splitAndCommit, splitAndDiagnose, splitAndDiagnose, splitAndRollback, splitAndRollback
-
Methods inherited from interface org.nasdanika.common.Function
apply, asFunction, before, splitAndExecute, splitAndExecute, then, then, then
-
-
-
-
Constructor Detail
-
FlowElementActionBuilder
public FlowElementActionBuilder(T value, Context context)
-
-
Method Detail
-
getProperties
protected List<ETypedElement> getProperties()
- Overrides:
getPropertiesin classParticipantResponsibilityActionBuilder<T extends FlowElement<?>>
-
getTypedElementValue
protected Object getTypedElementValue(ETypedElement typedElement) throws Exception
- Overrides:
getTypedElementValuein classEObjectActionBuilder<T extends FlowElement<?>>- Throws:
Exception
-
resolve
protected void resolve(Action action, EObjectActionResolver.Context context, ProgressMonitor progressMonitor) throws Exception
- Overrides:
resolvein classPackageElementActionBuilder<T extends FlowElement<?>>- Throws:
Exception
-
populateRepresentation
protected void populateRepresentation(Diagram representation, Action action, EObjectActionResolver.Context context, ProgressMonitor progressMonitor) throws Exception
Description copied from class:PackageElementActionBuilderPopulates empty representations. An empty representation indicates that it has to be auto-populated. Non-empty representations indicate that they were pre-populated, e.g. manually, and should not be auto-populated.- Overrides:
populateRepresentationin classPackageElementActionBuilder<T extends FlowElement<?>>- Throws:
Exception
-
populateRepresentation
protected void populateRepresentation(Diagram representation, FlowStateDiagramGenerator flowStateDiagramGenerator)
-
-