- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.AdapterImpl
-
- org.nasdanika.html.emf.EObjectActionBuilder<T>
-
- org.nasdanika.html.flow.PackageElementActionBuilder<Package>
-
- org.nasdanika.html.flow.PackageActionBuilder
-
- 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 PackageActionBuilder extends PackageElementActionBuilder<Package>
-
-
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 PackageActionBuilder(Package value, Context context)
-
Method Summary
-
Methods inherited from class org.nasdanika.html.flow.PackageElementActionBuilder
createGenerator, createPropertiesTable, getProperties, name, populateRepresentation, resolve
-
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
-
PackageActionBuilder
public PackageActionBuilder(Package 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<Package>- Throws:
Exception
-
createSubPackageActions
protected List<Action> createSubPackageActions(BiConsumer<EObject,Action> registry, Consumer<Consumer<EObjectActionResolver.Context>> resolveConsumer, ProgressMonitor progressMonitor) throws Exception
Creates a list of actions for sub-packages.- Parameters:
progressMonitor-- Returns:
- An empty list if there are no sub-packages. A singleton list containing a grouping action containing sub-package actions otherwise.
- Throws:
Exception
-
createActivityActions
protected List<Action> createActivityActions(BiConsumer<EObject,Action> registry, Consumer<Consumer<EObjectActionResolver.Context>> resolveConsumer, ProgressMonitor progressMonitor) throws Exception
Creates a list of actions for activities.- Parameters:
progressMonitor-- Returns:
- An empty list if there are no activities. A singleton list containing a grouping action containing activity actions otherwise.
- Throws:
Exception
-
createParticipantActions
protected List<Action> createParticipantActions(BiConsumer<EObject,Action> registry, Consumer<Consumer<EObjectActionResolver.Context>> resolveConsumer, ProgressMonitor progressMonitor) throws Exception
Creates a list of actions for participants.- Parameters:
progressMonitor-- Returns:
- An empty list if there are no participants. A singleton list containing a grouping action containing participant actions otherwise.
- Throws:
Exception
-
createResourceActions
protected List<Action> createResourceActions(BiConsumer<EObject,Action> registry, Consumer<Consumer<EObjectActionResolver.Context>> resolveConsumer, ProgressMonitor progressMonitor) throws Exception
Creates a list of actions for resources.- Parameters:
progressMonitor-- Returns:
- An empty list if there are no resources. A singleton list containing a grouping action containing resource actions otherwise.
- Throws:
Exception
-
createArtifactActions
protected List<Action> createArtifactActions(BiConsumer<EObject,Action> registry, Consumer<Consumer<EObjectActionResolver.Context>> resolveConsumer, ProgressMonitor progressMonitor) throws Exception
Creates a list of actions for activities.- Parameters:
progressMonitor-- Returns:
- An empty list if there are no activities. A singleton list containing a grouping action containing actvity actions otherwise.
- Throws:
Exception
-
-