- 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<Artifact>
-
- org.nasdanika.html.flow.ArtifactActionBuilder
-
- 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
public class ArtifactActionBuilder extends ParticipantResponsibilityActionBuilder<Artifact>
-
-
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 ArtifactActionBuilder(Artifact value, Context context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ActionbuildAction(Action action, BiConsumer<EObject,Action> registry, Consumer<Consumer<EObjectActionResolver.Context>> resolveConsumer, ProgressMonitor progressMonitor)protected List<ETypedElement>getProperties()protected voidpopulateRepresentation(Diagram representation, ArtifactComponentDiagramGenerator artifactComponentDiagramGenerator)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
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, 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
-
ArtifactActionBuilder
public ArtifactActionBuilder(Artifact value, Context context)
-
-
Method Detail
-
buildAction
protected Action buildAction(Action action, BiConsumer<EObject,Action> registry, Consumer<Consumer<EObjectActionResolver.Context>> resolveConsumer, ProgressMonitor progressMonitor) throws Exception
- Overrides:
buildActionin classPackageElementActionBuilder<Artifact>- Throws:
Exception
-
getProperties
protected List<ETypedElement> getProperties()
- Overrides:
getPropertiesin classParticipantResponsibilityActionBuilder<Artifact>
-
resolve
protected void resolve(Action action, EObjectActionResolver.Context context, ProgressMonitor progressMonitor) throws Exception
- Overrides:
resolvein classPackageElementActionBuilder<Artifact>- 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<Artifact>- Throws:
Exception
-
populateRepresentation
protected void populateRepresentation(Diagram representation, ArtifactComponentDiagramGenerator artifactComponentDiagramGenerator)
-
-