public abstract class AbstractModelExtensionAtribute extends SimpleModelExtensionAttribute implements IModelExtensionWithEnabledCondition
| Constructor and Description |
|---|
AbstractModelExtensionAtribute(java.lang.String pID,
java.lang.String pLabel,
boolean pMandatory,
java.lang.String pCategory,
java.lang.String pDescription,
boolean pModelLabel,
FunctionPackageExtension pFunctionPackage)
Basic constructor.
|
| Modifier and Type | Method and Description |
|---|---|
REnabledCondition |
getEnabledCondition()
Gets the enabled condition of this instance.
|
boolean |
isModelLabel()
Gets whether this attribute should be shown in the object label.
|
void |
setEnabledCondition(REnabledCondition pVisibleWhen)
Sets the enabled condition of this instance.
|
getCategory, getDescription, isMandatory, isMultiLine, setMultiLinegetFunctionPackageExtension, getHelpContextId, getID, getLabel, isDeprecated, setDeprecated, setHelpContextId, toStringpublic AbstractModelExtensionAtribute(java.lang.String pID,
java.lang.String pLabel,
boolean pMandatory,
java.lang.String pCategory,
java.lang.String pDescription,
boolean pModelLabel,
FunctionPackageExtension pFunctionPackage)
pID - the attribute IDpLabel - the labelpMandatory - whether the attribute is mandatorypCategory - the categorypDescription - the attribute descriptionpModelLabel - whether this should be added to the model editor label of the
componentpFunctionPackage - the defining function packagepublic boolean isModelLabel()
public REnabledCondition getEnabledCondition()
IModelExtensionWithEnabledConditiongetEnabledCondition in interface IModelExtensionWithEnabledConditionnull if there is none
(always enabled)public void setEnabledCondition(REnabledCondition pVisibleWhen)
IModelExtensionWithEnabledConditionsetEnabledCondition in interface IModelExtensionWithEnabledConditionpVisibleWhen - the enabled condition to set or null if the
instance should always be enabledCopyright © 2015 Micro Focus GmbH. All rights reserved.