Module org.nasdanika.html.ecore
Package org.nasdanika.html.ecore
Class ETypedElementActionSupplier<T extends ETypedElement>
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<T>
- 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
- Direct Known Subclasses:
EOperationActionSupplier,EParameterActionSupplier,EStructuralFeatureActionSupplier
public class ETypedElementActionSupplier<T extends ETypedElement>
extends ENamedElementActionSupplier<T>
-
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
ConstructorsConstructorDescriptionETypedElementActionSupplier(T value, org.nasdanika.common.Context context, Function<EPackage, String> ePackagePathComputer, Predicate<EModelElement> elementPredicate, BiFunction<ENamedElement, String, String> labelProvider) -
Method Summary
Modifier and TypeMethodDescriptionAdds a row to the table, returns cell content collection for adding content.org.nasdanika.html.model.app.Actionprotected StringgetDefaultLabel(org.nasdanika.common.ProgressMonitor progressMonitor) protected org.nasdanika.html.bootstrap.TablepropertiesTable(EClass contextEClass, org.nasdanika.common.ProgressMonitor monitor) Methods 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.Function
apply, before, splitAndExecute, splitAndExecute, then, then, then, toFunction
-
Constructor Details
-
ETypedElementActionSupplier
public ETypedElementActionSupplier(T 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 classENamedElementActionSupplier<T extends ETypedElement>
-
getDefaultLabel
- Overrides:
getDefaultLabelin classENamedElementActionSupplier<T extends ETypedElement>
-
propertiesTable
protected org.nasdanika.html.bootstrap.Table propertiesTable(EClass contextEClass, org.nasdanika.common.ProgressMonitor monitor) -
addRow
Adds a row to the table, returns cell content collection for adding content.- Parameters:
table-header-- Returns:
-