java.lang.Object
org.nasdanika.html.ecore.EObjectActionSupplier<T>
org.nasdanika.html.ecore.EModelElementActionSupplier<T>
org.nasdanika.html.ecore.ENamedElementActionSupplier<T>
org.nasdanika.html.ecore.ETypedElementActionSupplier<EOperation>
org.nasdanika.html.ecore.EOperationActionSupplier
- All Implemented Interfaces:
AutoCloseable,BiFunction<EClass,,org.nasdanika.common.ProgressMonitor, org.nasdanika.html.model.app.Action> org.nasdanika.common.Diagnosable,org.nasdanika.common.ExecutionParticipant,org.nasdanika.common.ExecutionParticipantInfo,org.nasdanika.common.Function<EClass,,org.nasdanika.html.model.app.Action> EcoreActionSupplier
public class EOperationActionSupplier
extends ETypedElementActionSupplier<EOperation>
implements EcoreActionSupplier
-
Field Summary
Fields inherited from class org.nasdanika.html.ecore.EModelElementActionSupplier
context, descriptionTabLengthThreshold, elementPredicate, eNamedElementComparator, ePackagePathComputer, ICONS_BASE, labelProviderFields inherited from class org.nasdanika.html.ecore.EObjectActionSupplier
eObjectFields inherited from interface org.nasdanika.common.Diagnosable
SUCCESSFields inherited from interface org.nasdanika.common.Function
NOP -
Constructor Summary
ConstructorsConstructorDescriptionEOperationActionSupplier(EOperation value, org.nasdanika.common.Context context, Function<EPackage, String> ePackagePathComputer, Predicate<EModelElement> elementPredicate, BiFunction<ENamedElement, String, String> labelProvider) -
Method Summary
Modifier and TypeMethodDescriptionstatic StringeOperationSignature(EOperation eOperation, Function<EPackage, String> ePackageEncoder) org.nasdanika.html.model.app.Actionprotected org.nasdanika.html.bootstrap.TablepropertiesTable(EClass contextEClass, org.nasdanika.common.ProgressMonitor monitor) Methods inherited from class org.nasdanika.html.ecore.ETypedElementActionSupplier
addRow, getDefaultLabelMethods inherited from class org.nasdanika.html.ecore.ENamedElementActionSupplier
nameMethods inherited from class org.nasdanika.html.ecore.EModelElementActionSupplier
addContent, cardinality, computeLabel, encodeEPackage, genericName, genericName, genericType, genericTypeArguments, genericTypeArguments, getEModelElementFirstDocSentence, getInstanceClass, getReferrers, getUses, header, interpolatedMarkdown, link, link, path, retainDocumentable, size, typeParametersMethods inherited from class org.nasdanika.html.ecore.EObjectActionSupplier
adaptChildMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunction
andThenMethods inherited from interface org.nasdanika.common.Diagnosable
diagnoseMethods inherited from interface org.nasdanika.common.ExecutionParticipant
close, commit, rollback, split, split, splitAndCommit, splitAndCommit, splitAndDiagnose, splitAndDiagnose, splitAndRollback, splitAndRollbackMethods inherited from interface org.nasdanika.common.ExecutionParticipantInfo
name, sizeMethods inherited from interface org.nasdanika.common.Function
apply, before, splitAndExecute, splitAndExecute, then, then, then, toFunction
-
Constructor Details
-
EOperationActionSupplier
public EOperationActionSupplier(EOperation value, org.nasdanika.common.Context context, Function<EPackage, String> ePackagePathComputer, Predicate<EModelElement> elementPredicate, BiFunction<ENamedElement, String, String> labelProvider)
-
-
Method Details
-
execute
public org.nasdanika.html.model.app.Action execute(EClass contextEClass, org.nasdanika.common.ProgressMonitor progressMonitor) - Specified by:
executein interfaceorg.nasdanika.common.Function<EClass,org.nasdanika.html.model.app.Action> - Overrides:
executein classETypedElementActionSupplier<EOperation>
-
eOperationSignature
public static String eOperationSignature(EOperation eOperation, Function<EPackage, String> ePackageEncoder) throws NoSuchAlgorithmException- Throws:
NoSuchAlgorithmException
-
propertiesTable
protected org.nasdanika.html.bootstrap.Table propertiesTable(EClass contextEClass, org.nasdanika.common.ProgressMonitor monitor) - Overrides:
propertiesTablein classETypedElementActionSupplier<EOperation>
-