public class TypedElementDefaultPropertyDescriptor extends UMLItemPropertyDescriptor
Modifier and Type | Class and Description |
---|---|
protected static class |
TypedElementDefaultPropertyDescriptor.PropertyType |
UMLItemPropertyDescriptor.UMLItemDelegator
adapterFactory, BOOLEAN_VALUE_IMAGE, category, commandOwner, description, displayName, ecorePackage, feature, filterFlags, GENERIC_VALUE_IMAGE, INTEGRAL_VALUE_IMAGE, isSettable, itemDelegator, multiLine, parentReferences, REAL_VALUE_IMAGE, resourceLocator, sortChoices, staticImage, TEXT_VALUE_IMAGE
Constructor and Description |
---|
TypedElementDefaultPropertyDescriptor(org.eclipse.emf.common.notify.AdapterFactory adapterFactory,
org.eclipse.emf.common.util.ResourceLocator resourceLocator,
java.lang.String displayName,
java.lang.String description,
org.eclipse.emf.ecore.EStructuralFeature feature,
boolean isSettable,
boolean multiLine,
boolean sortChoices,
java.lang.Object staticImage,
java.lang.String category,
java.lang.String[] filterFlags) |
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.emf.common.command.Command |
createOperationCommand(org.eclipse.emf.edit.domain.EditingDomain editingDomain,
org.eclipse.emf.ecore.EObject object,
org.eclipse.emf.ecore.EOperation operation,
java.lang.Object... argument) |
java.util.Collection<?> |
getChoiceOfValues(java.lang.Object object) |
protected TypedElementDefaultPropertyDescriptor.PropertyType |
getDefaultType(TypedElement element) |
protected org.eclipse.emf.ecore.EReference |
getDefaultValueFeature(TypedElement element) |
protected EnumerationLiteral |
getLiteral(Enumeration enumeration,
java.lang.String name) |
protected java.util.List<java.lang.String> |
getLiteralNames(Enumeration enumeration) |
protected org.eclipse.emf.ecore.EOperation |
getSetBooleanDefaultValueOperation(TypedElement element) |
protected org.eclipse.emf.ecore.EOperation |
getSetIntegerDefaultValueOperation(TypedElement element) |
protected org.eclipse.emf.ecore.EOperation |
getSetRealDefaultValueOperation(TypedElement element) |
protected org.eclipse.emf.ecore.EOperation |
getSetUnlimitedNaturalDefaultValueOperation(TypedElement element) |
protected boolean |
isDefaultableTypedElement(java.lang.Object object) |
protected void |
setBooleanDefaultValue(TypedElement element,
boolean value) |
protected void |
setDefaultValue(TypedElement element,
ValueSpecification value) |
protected void |
setIntegerDefaultValue(TypedElement element,
int value) |
void |
setPropertyValue(java.lang.Object object,
java.lang.Object value) |
protected void |
setRealDefaultValue(TypedElement element,
double value) |
protected void |
setUnlimitedNaturalDefaultValue(TypedElement element,
int value) |
getId, getQualifiedText
canSetProperty, collectReachableObjectsOfType, collectReachableObjectsOfType, createPropertyValueWrapper, getCategory, getComboBoxObjects, getCommandOwner, getCommandOwner, getDefaultId, getDefaultValue, getDescription, getDisplayName, getEditingDomain, getFeature, getFilterFlags, getHelpContextIds, getLabelProvider, getPropertyValue, getReachableObjectsOfType, getReachableObjectsOfType, getValue, isCompatibleWith, isMany, isMultiLine, isPropertySet, isSortChoices, resetPropertyValue, setCommandOwner
public TypedElementDefaultPropertyDescriptor(org.eclipse.emf.common.notify.AdapterFactory adapterFactory, org.eclipse.emf.common.util.ResourceLocator resourceLocator, java.lang.String displayName, java.lang.String description, org.eclipse.emf.ecore.EStructuralFeature feature, boolean isSettable, boolean multiLine, boolean sortChoices, java.lang.Object staticImage, java.lang.String category, java.lang.String[] filterFlags)
public java.util.Collection<?> getChoiceOfValues(java.lang.Object object)
getChoiceOfValues
in interface org.eclipse.emf.edit.provider.IItemPropertyDescriptor
getChoiceOfValues
in class org.eclipse.emf.edit.provider.ItemPropertyDescriptor
protected java.util.List<java.lang.String> getLiteralNames(Enumeration enumeration)
protected EnumerationLiteral getLiteral(Enumeration enumeration, java.lang.String name)
public void setPropertyValue(java.lang.Object object, java.lang.Object value)
setPropertyValue
in interface org.eclipse.emf.edit.provider.IItemPropertyDescriptor
setPropertyValue
in class org.eclipse.emf.edit.provider.ItemPropertyDescriptor
protected org.eclipse.emf.common.command.Command createOperationCommand(org.eclipse.emf.edit.domain.EditingDomain editingDomain, org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EOperation operation, java.lang.Object... argument)
protected boolean isDefaultableTypedElement(java.lang.Object object)
protected void setBooleanDefaultValue(TypedElement element, boolean value)
protected org.eclipse.emf.ecore.EOperation getSetBooleanDefaultValueOperation(TypedElement element)
protected void setIntegerDefaultValue(TypedElement element, int value)
protected org.eclipse.emf.ecore.EOperation getSetIntegerDefaultValueOperation(TypedElement element)
protected void setRealDefaultValue(TypedElement element, double value)
protected org.eclipse.emf.ecore.EOperation getSetRealDefaultValueOperation(TypedElement element)
protected void setUnlimitedNaturalDefaultValue(TypedElement element, int value)
protected org.eclipse.emf.ecore.EOperation getSetUnlimitedNaturalDefaultValueOperation(TypedElement element)
protected void setDefaultValue(TypedElement element, ValueSpecification value)
protected org.eclipse.emf.ecore.EReference getDefaultValueFeature(TypedElement element)
protected TypedElementDefaultPropertyDescriptor.PropertyType getDefaultType(TypedElement element)