public abstract class PreDefinedModelExtensionObject extends ModelExtensionObject
Example: A ModelPropertyExtension can be defined within a function
package and referenced by LinkedElementTypeExtensions as well as
LinkedPropertyExtensions. As soon as a user defines one of the
referencing types, the model editor automatically creates the pre-defined
property described by the ModelPropertyExtension and sets the
corresponding references.
IFunctionPackageDefinable| Constructor and Description |
|---|
PreDefinedModelExtensionObject(java.lang.String pId,
java.lang.String pLabel,
FunctionPackageExtension pFunctionPackage)
Basic constructor.
|
| Modifier and Type | Method and Description |
|---|---|
abstract org.eclipse.emf.ecore.EClass |
getPreDefinedClass()
Gets the
EClass that this model extension pre-defines. |
getFunctionPackageExtension, getHelpContextId, getID, getLabel, isDeprecated, setDeprecated, setHelpContextId, toStringpublic PreDefinedModelExtensionObject(java.lang.String pId,
java.lang.String pLabel,
FunctionPackageExtension pFunctionPackage)
pId - the component IDpLabel - the labelpFunctionPackage - the containing function packageCopyright © 2015 Micro Focus GmbH. All rights reserved.