Module org.nasdanika.html.ecore
Package org.nasdanika.html.ecore
Class ENamedElementActionSupplier<T extends ENamedElement>
java.lang.Object
org.nasdanika.html.ecore.EObjectActionSupplier<T>
org.nasdanika.html.ecore.EModelElementActionSupplier<T>
org.nasdanika.html.ecore.ENamedElementActionSupplier<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:
EClassifierActionSupplier,EEnumLiteralActionSupplier,EPackageActionSupplier,ETypedElementActionSupplier
public class ENamedElementActionSupplier<T extends ENamedElement>
extends EModelElementActionSupplier<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
ConstructorsConstructorDescriptionENamedElementActionSupplier(T value, org.nasdanika.common.Context context, Function<EPackage, String> ePackagePathComputer, Predicate<EModelElement> elementPredicate, BiFunction<ENamedElement, String, String> labelProvider) -
Method Summary
Methods 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
-
ENamedElementActionSupplier
public ENamedElementActionSupplier(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 classEModelElementActionSupplier<T extends ENamedElement>
-
getDefaultLabel
-
name
- Specified by:
namein interfaceorg.nasdanika.common.ExecutionParticipantInfo- Overrides:
namein classEModelElementActionSupplier<T extends ENamedElement>
-