de.cau.cs.kieler.synccharts.custom.providers
Class NoViewItemPropertyDescriptor

java.lang.Object
  extended by org.eclipse.emf.edit.provider.ItemPropertyDescriptor
      extended by de.cau.cs.kieler.synccharts.custom.providers.NoViewItemPropertyDescriptor
All Implemented Interfaces:
IItemPropertyDescriptor, IItemPropertyDescriptor.OverrideableCommandOwner

public class NoViewItemPropertyDescriptor
extends ItemPropertyDescriptor

A specialized ItemPropertyDescriptor that has a manipulated list of choice values used in any combo selection box. This list will have all objects of type View removed, because their toString methods reveal very long String representations and the user will usually not reference a view in a State.

Rating red

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.edit.provider.ItemPropertyDescriptor
ItemPropertyDescriptor.ItemDelegator, ItemPropertyDescriptor.PropertyValueWrapper
 
Nested classes/interfaces inherited from interface org.eclipse.emf.edit.provider.IItemPropertyDescriptor
IItemPropertyDescriptor.OverrideableCommandOwner
 
Field Summary
 
Fields inherited from class org.eclipse.emf.edit.provider.ItemPropertyDescriptor
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 Summary
NoViewItemPropertyDescriptor(AdapterFactory adapterFactory, ResourceLocator resourceLocator, String displayName, String description, EReference[] parentReferences)
           
NoViewItemPropertyDescriptor(AdapterFactory adapterFactory, ResourceLocator resourceLocator, String displayName, String description, EReference[] parentReferences, boolean isSettable)
           
NoViewItemPropertyDescriptor(AdapterFactory adapterFactory, ResourceLocator resourceLocator, String displayName, String description, EReference[] parentReferences, boolean isSettable, String category)
           
NoViewItemPropertyDescriptor(AdapterFactory adapterFactory, ResourceLocator resourceLocator, String displayName, String description, EReference[] parentReferences, boolean isSettable, String category, String[] filterFlags)
           
NoViewItemPropertyDescriptor(AdapterFactory adapterFactory, ResourceLocator resourceLocator, String displayName, String description, EStructuralFeature feature)
           
NoViewItemPropertyDescriptor(AdapterFactory adapterFactory, ResourceLocator resourceLocator, String displayName, String description, EStructuralFeature feature, boolean isSettable)
           
NoViewItemPropertyDescriptor(AdapterFactory adapterFactory, ResourceLocator resourceLocator, String displayName, String description, EStructuralFeature feature, boolean isSettable, boolean multiLine, boolean sortChoices, Object staticImage, String category, String[] filterFlags)
           
NoViewItemPropertyDescriptor(AdapterFactory adapterFactory, ResourceLocator resourceLocator, String displayName, String description, EStructuralFeature feature, boolean isSettable, Object staticImage)
           
NoViewItemPropertyDescriptor(AdapterFactory adapterFactory, ResourceLocator resourceLocator, String displayName, String description, EStructuralFeature feature, boolean isSettable, Object staticImage, String category)
           
NoViewItemPropertyDescriptor(AdapterFactory adapterFactory, ResourceLocator resourceLocator, String displayName, String description, EStructuralFeature feature, boolean isSettable, Object staticImage, String category, String[] filterFlags)
           
NoViewItemPropertyDescriptor(AdapterFactory adapterFactory, ResourceLocator resourceLocator, String displayName, String description, EStructuralFeature feature, boolean isSettable, String category)
           
NoViewItemPropertyDescriptor(AdapterFactory adapterFactory, ResourceLocator resourceLocator, String displayName, String description, EStructuralFeature feature, boolean isSettable, String category, String[] filterFlags)
           
NoViewItemPropertyDescriptor(AdapterFactory adapterFactory, String displayName, String description, EReference[] parentReferences)
           
NoViewItemPropertyDescriptor(AdapterFactory adapterFactory, String displayName, String description, EReference[] parentReferences, boolean isSettable)
           
NoViewItemPropertyDescriptor(AdapterFactory adapterFactory, String displayName, String description, EReference[] parentReferences, boolean isSettable, String category)
           
NoViewItemPropertyDescriptor(AdapterFactory adapterFactory, String displayName, String description, EReference[] parentReferences, boolean isSettable, String category, String[] filterFlags)
           
NoViewItemPropertyDescriptor(AdapterFactory adapterFactory, String displayName, String description, EStructuralFeature feature)
           
NoViewItemPropertyDescriptor(AdapterFactory adapterFactory, String displayName, String description, EStructuralFeature feature, boolean isSettable)
           
NoViewItemPropertyDescriptor(AdapterFactory adapterFactory, String displayName, String description, EStructuralFeature feature, boolean isSettable, Object staticImage)
           
NoViewItemPropertyDescriptor(AdapterFactory adapterFactory, String displayName, String description, EStructuralFeature feature, boolean isSettable, Object staticImage, String category)
           
NoViewItemPropertyDescriptor(AdapterFactory adapterFactory, String displayName, String description, EStructuralFeature feature, boolean isSettable, Object staticImage, String category, String[] filterFlags)
           
NoViewItemPropertyDescriptor(AdapterFactory adapterFactory, String displayName, String description, EStructuralFeature feature, boolean isSettable, String category)
           
NoViewItemPropertyDescriptor(AdapterFactory adapterFactory, String displayName, String description, EStructuralFeature feature, boolean isSettable, String category, String[] filterFlags)
           
 
Method Summary
 Collection<?> getChoiceOfValues(Object object)
           Modification: remove all elements of instance View.
 
Methods inherited from class org.eclipse.emf.edit.provider.ItemPropertyDescriptor
canSetProperty, collectReachableObjectsOfType, createPropertyValueWrapper, getCategory, getComboBoxObjects, getCommandOwner, getCommandOwner, getDefaultId, getDefaultValue, getDescription, getDisplayName, getEditingDomain, getFeature, getFilterFlags, getHelpContextIds, getId, getLabelProvider, getPropertyValue, getReachableObjectsOfType, getValue, isCompatibleWith, isMany, isMultiLine, isPropertySet, isSortChoices, resetPropertyValue, setCommandOwner, setPropertyValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoViewItemPropertyDescriptor

public NoViewItemPropertyDescriptor(AdapterFactory adapterFactory,
                                    String displayName,
                                    String description,
                                    EStructuralFeature feature)

NoViewItemPropertyDescriptor

public NoViewItemPropertyDescriptor(AdapterFactory adapterFactory,
                                    String displayName,
                                    String description,
                                    EReference[] parentReferences)

NoViewItemPropertyDescriptor

public NoViewItemPropertyDescriptor(AdapterFactory adapterFactory,
                                    ResourceLocator resourceLocator,
                                    String displayName,
                                    String description,
                                    EStructuralFeature feature)

NoViewItemPropertyDescriptor

public NoViewItemPropertyDescriptor(AdapterFactory adapterFactory,
                                    String displayName,
                                    String description,
                                    EStructuralFeature feature,
                                    boolean isSettable)

NoViewItemPropertyDescriptor

public NoViewItemPropertyDescriptor(AdapterFactory adapterFactory,
                                    ResourceLocator resourceLocator,
                                    String displayName,
                                    String description,
                                    EReference[] parentReferences)

NoViewItemPropertyDescriptor

public NoViewItemPropertyDescriptor(AdapterFactory adapterFactory,
                                    String displayName,
                                    String description,
                                    EReference[] parentReferences,
                                    boolean isSettable)

NoViewItemPropertyDescriptor

public NoViewItemPropertyDescriptor(AdapterFactory adapterFactory,
                                    ResourceLocator resourceLocator,
                                    String displayName,
                                    String description,
                                    EStructuralFeature feature,
                                    boolean isSettable)

NoViewItemPropertyDescriptor

public NoViewItemPropertyDescriptor(AdapterFactory adapterFactory,
                                    String displayName,
                                    String description,
                                    EStructuralFeature feature,
                                    boolean isSettable,
                                    Object staticImage)

NoViewItemPropertyDescriptor

public NoViewItemPropertyDescriptor(AdapterFactory adapterFactory,
                                    String displayName,
                                    String description,
                                    EStructuralFeature feature,
                                    boolean isSettable,
                                    String category)

NoViewItemPropertyDescriptor

public NoViewItemPropertyDescriptor(AdapterFactory adapterFactory,
                                    ResourceLocator resourceLocator,
                                    String displayName,
                                    String description,
                                    EReference[] parentReferences,
                                    boolean isSettable)

NoViewItemPropertyDescriptor

public NoViewItemPropertyDescriptor(AdapterFactory adapterFactory,
                                    String displayName,
                                    String description,
                                    EReference[] parentReferences,
                                    boolean isSettable,
                                    String category)

NoViewItemPropertyDescriptor

public NoViewItemPropertyDescriptor(AdapterFactory adapterFactory,
                                    ResourceLocator resourceLocator,
                                    String displayName,
                                    String description,
                                    EStructuralFeature feature,
                                    boolean isSettable,
                                    Object staticImage)

NoViewItemPropertyDescriptor

public NoViewItemPropertyDescriptor(AdapterFactory adapterFactory,
                                    ResourceLocator resourceLocator,
                                    String displayName,
                                    String description,
                                    EStructuralFeature feature,
                                    boolean isSettable,
                                    String category)

NoViewItemPropertyDescriptor

public NoViewItemPropertyDescriptor(AdapterFactory adapterFactory,
                                    String displayName,
                                    String description,
                                    EStructuralFeature feature,
                                    boolean isSettable,
                                    Object staticImage,
                                    String category)

NoViewItemPropertyDescriptor

public NoViewItemPropertyDescriptor(AdapterFactory adapterFactory,
                                    String displayName,
                                    String description,
                                    EStructuralFeature feature,
                                    boolean isSettable,
                                    String category,
                                    String[] filterFlags)

NoViewItemPropertyDescriptor

public NoViewItemPropertyDescriptor(AdapterFactory adapterFactory,
                                    ResourceLocator resourceLocator,
                                    String displayName,
                                    String description,
                                    EReference[] parentReferences,
                                    boolean isSettable,
                                    String category)

NoViewItemPropertyDescriptor

public NoViewItemPropertyDescriptor(AdapterFactory adapterFactory,
                                    String displayName,
                                    String description,
                                    EReference[] parentReferences,
                                    boolean isSettable,
                                    String category,
                                    String[] filterFlags)

NoViewItemPropertyDescriptor

public NoViewItemPropertyDescriptor(AdapterFactory adapterFactory,
                                    ResourceLocator resourceLocator,
                                    String displayName,
                                    String description,
                                    EStructuralFeature feature,
                                    boolean isSettable,
                                    Object staticImage,
                                    String category)

NoViewItemPropertyDescriptor

public NoViewItemPropertyDescriptor(AdapterFactory adapterFactory,
                                    ResourceLocator resourceLocator,
                                    String displayName,
                                    String description,
                                    EStructuralFeature feature,
                                    boolean isSettable,
                                    String category,
                                    String[] filterFlags)

NoViewItemPropertyDescriptor

public NoViewItemPropertyDescriptor(AdapterFactory adapterFactory,
                                    String displayName,
                                    String description,
                                    EStructuralFeature feature,
                                    boolean isSettable,
                                    Object staticImage,
                                    String category,
                                    String[] filterFlags)

NoViewItemPropertyDescriptor

public NoViewItemPropertyDescriptor(AdapterFactory adapterFactory,
                                    ResourceLocator resourceLocator,
                                    String displayName,
                                    String description,
                                    EReference[] parentReferences,
                                    boolean isSettable,
                                    String category,
                                    String[] filterFlags)

NoViewItemPropertyDescriptor

public NoViewItemPropertyDescriptor(AdapterFactory adapterFactory,
                                    ResourceLocator resourceLocator,
                                    String displayName,
                                    String description,
                                    EStructuralFeature feature,
                                    boolean isSettable,
                                    Object staticImage,
                                    String category,
                                    String[] filterFlags)

NoViewItemPropertyDescriptor

public NoViewItemPropertyDescriptor(AdapterFactory adapterFactory,
                                    ResourceLocator resourceLocator,
                                    String displayName,
                                    String description,
                                    EStructuralFeature feature,
                                    boolean isSettable,
                                    boolean multiLine,
                                    boolean sortChoices,
                                    Object staticImage,
                                    String category,
                                    String[] filterFlags)
Method Detail

getChoiceOfValues

public Collection<?> getChoiceOfValues(Object object)
Modification: remove all elements of instance View. This avoids very long toString representations in the combo box cell editor, as the views usually have very long such representations.

Specified by:
getChoiceOfValues in interface IItemPropertyDescriptor
Overrides:
getChoiceOfValues in class ItemPropertyDescriptor