public IPropertySheetPage getPropertySheetPage() { if (propertySheetPage == null) { propertySheetPage = new de.darwinspl.preferences.resource.dwprofile.ui.DwprofilePropertySheetPage(); // add a slightly modified adapter factory that does not return any editors for // properties. this way, a model can never be modified through the properties view. AdapterFactory adapterFactory = new de.darwinspl.preferences.resource.dwprofile.ui.DwprofileAdapterFactoryProvider().getAdapterFactory(); propertySheetPage.setPropertySourceProvider(new AdapterFactoryContentProvider(adapterFactory) { protected IPropertySource createPropertySource(Object object, IItemPropertySource itemPropertySource) { return new PropertySource(object, itemPropertySource) { protected IPropertyDescriptor createPropertyDescriptor(IItemPropertyDescriptor itemPropertyDescriptor) { return new PropertyDescriptor(object, itemPropertyDescriptor) { public CellEditor createPropertyEditor(Composite composite) { return null; } }; } }; } }); highlighting.addSelectionChangedListener(propertySheetPage); } return propertySheetPage; }
public IPropertySheetPage getPropertySheetPage() { if (propertySheetPage == null) { propertySheetPage = new eu.hyvar.feature.expression.resource.hyexpression.ui.HyexpressionPropertySheetPage(); // add a slightly modified adapter factory that does not return any editors for // properties. this way, a model can never be modified through the properties view. AdapterFactory adapterFactory = new eu.hyvar.feature.expression.resource.hyexpression.ui.HyexpressionAdapterFactoryProvider().getAdapterFactory(); propertySheetPage.setPropertySourceProvider(new AdapterFactoryContentProvider(adapterFactory) { protected IPropertySource createPropertySource(Object object, IItemPropertySource itemPropertySource) { return new PropertySource(object, itemPropertySource) { protected IPropertyDescriptor createPropertyDescriptor(IItemPropertyDescriptor itemPropertyDescriptor) { return new PropertyDescriptor(object, itemPropertyDescriptor) { public CellEditor createPropertyEditor(Composite composite) { return null; } }; } }; } }); highlighting.addSelectionChangedListener(propertySheetPage); } return propertySheetPage; }
public IPropertySheetPage getPropertySheetPage() { if (propertySheetPage == null) { propertySheetPage = new eu.hyvar.context.contextValidity.resource.hyvalidityformula.ui.HyvalidityformulaPropertySheetPage(); // add a slightly modified adapter factory that does not return any editors for // properties. this way, a model can never be modified through the properties view. AdapterFactory adapterFactory = new eu.hyvar.context.contextValidity.resource.hyvalidityformula.ui.HyvalidityformulaAdapterFactoryProvider().getAdapterFactory(); propertySheetPage.setPropertySourceProvider(new AdapterFactoryContentProvider(adapterFactory) { protected IPropertySource createPropertySource(Object object, IItemPropertySource itemPropertySource) { return new PropertySource(object, itemPropertySource) { protected IPropertyDescriptor createPropertyDescriptor(IItemPropertyDescriptor itemPropertyDescriptor) { return new PropertyDescriptor(object, itemPropertyDescriptor) { public CellEditor createPropertyEditor(Composite composite) { return null; } }; } }; } }); highlighting.addSelectionChangedListener(propertySheetPage); } return propertySheetPage; }
public IPropertySheetPage getPropertySheetPage() { if (propertySheetPage == null) { propertySheetPage = new eu.hyvar.dataValues.resource.hydatavalue.ui.HydatavaluePropertySheetPage(); // add a slightly modified adapter factory that does not return any editors for // properties. this way, a model can never be modified through the properties view. AdapterFactory adapterFactory = new eu.hyvar.dataValues.resource.hydatavalue.ui.HydatavalueAdapterFactoryProvider().getAdapterFactory(); propertySheetPage.setPropertySourceProvider(new AdapterFactoryContentProvider(adapterFactory) { protected IPropertySource createPropertySource(Object object, IItemPropertySource itemPropertySource) { return new PropertySource(object, itemPropertySource) { protected IPropertyDescriptor createPropertyDescriptor(IItemPropertyDescriptor itemPropertyDescriptor) { return new PropertyDescriptor(object, itemPropertyDescriptor) { public CellEditor createPropertyEditor(Composite composite) { return null; } }; } }; } }); highlighting.addSelectionChangedListener(propertySheetPage); } return propertySheetPage; }
public IPropertySheetPage getPropertySheetPage() { if (propertySheetPage == null) { propertySheetPage = new eu.hyvar.feature.mapping.resource.hymapping.ui.HymappingPropertySheetPage(); // add a slightly modified adapter factory that does not return any editors for // properties. this way, a model can never be modified through the properties view. AdapterFactory adapterFactory = new eu.hyvar.feature.mapping.resource.hymapping.ui.HymappingAdapterFactoryProvider().getAdapterFactory(); propertySheetPage.setPropertySourceProvider(new AdapterFactoryContentProvider(adapterFactory) { protected IPropertySource createPropertySource(Object object, IItemPropertySource itemPropertySource) { return new PropertySource(object, itemPropertySource) { protected IPropertyDescriptor createPropertyDescriptor(IItemPropertyDescriptor itemPropertyDescriptor) { return new PropertyDescriptor(object, itemPropertyDescriptor) { public CellEditor createPropertyEditor(Composite composite) { return null; } }; } }; } }); highlighting.addSelectionChangedListener(propertySheetPage); } return propertySheetPage; }
public IPropertySheetPage getPropertySheetPage() { if (propertySheetPage == null) { propertySheetPage = new eu.hyvar.feature.constraint.resource.hyconstraints.ui.HyconstraintsPropertySheetPage(); // add a slightly modified adapter factory that does not return any editors for // properties. this way, a model can never be modified through the properties view. AdapterFactory adapterFactory = new eu.hyvar.feature.constraint.resource.hyconstraints.ui.HyconstraintsAdapterFactoryProvider().getAdapterFactory(); propertySheetPage.setPropertySourceProvider(new AdapterFactoryContentProvider(adapterFactory) { protected IPropertySource createPropertySource(Object object, IItemPropertySource itemPropertySource) { return new PropertySource(object, itemPropertySource) { protected IPropertyDescriptor createPropertyDescriptor(IItemPropertyDescriptor itemPropertyDescriptor) { return new PropertyDescriptor(object, itemPropertyDescriptor) { public CellEditor createPropertyEditor(Composite composite) { return null; } }; } }; } }); highlighting.addSelectionChangedListener(propertySheetPage); } return propertySheetPage; }
public IPropertySheetPage getPropertySheetPage() { if (propertySheetPage == null) { propertySheetPage = new eu.hyvar.mspl.manifest.resource.hymanifest.ui.HymanifestPropertySheetPage(); // add a slightly modified adapter factory that does not return any editors for // properties. this way, a model can never be modified through the properties view. AdapterFactory adapterFactory = new eu.hyvar.mspl.manifest.resource.hymanifest.ui.HymanifestAdapterFactoryProvider().getAdapterFactory(); propertySheetPage.setPropertySourceProvider(new AdapterFactoryContentProvider(adapterFactory) { protected IPropertySource createPropertySource(Object object, IItemPropertySource itemPropertySource) { return new PropertySource(object, itemPropertySource) { protected IPropertyDescriptor createPropertyDescriptor(IItemPropertyDescriptor itemPropertyDescriptor) { return new PropertyDescriptor(object, itemPropertyDescriptor) { public CellEditor createPropertyEditor(Composite composite) { return null; } }; } }; } }); highlighting.addSelectionChangedListener(propertySheetPage); } return propertySheetPage; }
public CombinedProperty(final Object parent, final Object child, final String childName) { this.parentObject = parent; this.childObject = child; this.childName = childName; parentItemPropertySource = (IItemPropertySource) adapterFactory.adapt(parent, IItemPropertySource.class); parentPropertySource = new PropertySource(parent, parentItemPropertySource); childItemPropertySource = (IItemPropertySource) adapterFactory.adapt(child, IItemPropertySource.class); childPropertySource = new PropertySource(child, childItemPropertySource); }
/** utility class to add all properties to supplied list * * @param result * @param object * @param source * @param name */ private static void storeProperties( final Collection<IPropertyDescriptor> result, final Object object, final IItemPropertySource source, final String name) { for (IItemPropertyDescriptor itemPropertyDescriptor : source .getPropertyDescriptors(object)) { result.add(new PropertyDescriptor(object, itemPropertyDescriptor) { public String getCategory() { return name; }; }); } }
/** * Given an object and one of its EStructuralFeatures, return the property descriptor for the feature. Assumes that the * PropertyDescriptor's propertyID is the EStructuralFeature's name. * * @param object * @param feature * @return the property descriptor for the feature */ public static IItemPropertyDescriptor getFeatureDescriptor(Object object, EStructuralFeature feature) { IItemPropertySource source = adapt(object, IItemPropertySource.class); if (source == null) { String objectName = null; if (object instanceof EObject) { objectName = getDisplayName((EObject)object); } else if (object == null) { objectName = "null"; } else { objectName = object.toString(); } LogUtil.warnOnce("Could not find a property source for " + objectName); return null; } return source.getPropertyDescriptor(object, feature.getName()); }
public static String getDisplayName(EObject target, EStructuralFeature feature) { String displayName = getAnnotation(feature, ANNOTATION_SOURCE_DETAIL, ANNOTATION_DETAIL_DISPLAY_NAME); if (displayName == null) { displayName = getAnnotation(feature, ANNOTATION_SOURCE_DESCRIPTOR, ANNOTATION_DESCRIPTOR_DISPLAY_NAME); } if (displayName == null) { IItemPropertySource source = adapt(target, IItemPropertySource.class); if (source != null) { IItemPropertyDescriptor itemPropertyDescriptor = source.getPropertyDescriptor(target, feature); if (itemPropertyDescriptor != null) { displayName = itemPropertyDescriptor.getDisplayName(feature); } } } if (displayName == null) { displayName = feature.getName(); } return displayName; }
private static String getReferenceParameter(EPlanElement ePlanElement, EReferenceParameter eStructuralFeature) { IItemPropertySource source = EMFUtils.adapt(ePlanElement, IItemPropertySource.class); IItemPropertyDescriptor startPD = source.getPropertyDescriptor(ePlanElement, eStructuralFeature); // First check the instance name if (startPD != null) { Object value = EMFUtils.getPropertyValue(startPD, ePlanElement); if (value != null && StringifierRegistry.hasRegisteredStringifier(eStructuralFeature.getName())) { IStringifier stringifier = StringifierRegistry.getStringifier(eStructuralFeature.getName()); return stringifier.getDisplayString(value); } if(value instanceof EcoreEList) { List<String> valueList = new ArrayList<String>(); for (Object o : ((EcoreEList) value).toArray()) { valueList.add(getChoiceText(eStructuralFeature, o)); } return EEnumStringifier.formatString(valueList.toString()); } } return ""; }
protected EditTableDialog(Shell parentShell, String title, IStructuredSelection selection, EditingDomain domain, FormToolkit toolkit) { super(parentShell); this.title = title; this.toolkit = toolkit; AdapterFactory domainAdapterFactory = EMFUtils.getAdapterFactory(domain); List elements = selection.toList(); if (elements.size() == 1) { this.target = (EObject) elements.get(0); this.source = (IItemPropertySource) domainAdapterFactory.adapt(target, IItemPropertySource.class); } else if (elements.size() > 1) { this.source = new MultiItemIntersectionPropertySource(elements); this.target = new MultiEObject(elements, (MultiItemPropertySource) source); } else { // do nothing if there's nothing selected in the table } }
private void createReferenceBinding(Composite parent, EObject target, IItemPropertyDescriptor pd, EReference reference) { // Check to see if the EClassifier would like to be displayed // in detail. May want to reserve this for EReference types in // the future, and should probably check if the object has its // own IItemPropertySource if (EMFUtils.testBooleanAnnotation(reference, EMFDetailUtils.ANNOTATION_SOURCE_DETAIL, ANNOTATION_DETAIL_INSPECT_REFERENCE)) { if (EMFUtils.testBooleanAnnotation(reference, EMFDetailUtils.ANNOTATION_SOURCE_DETAIL, ANNOTATION_DETAIL_INSPECT_REFLECTIVELY)) { ReflectiveItemProviderAdapterFactory ripaf = new ReflectiveItemProviderAdapterFactory(); EObject eObject = (EObject)target.eGet(reference); IItemPropertySource source = (IItemPropertySource) ripaf.adapt(eObject, IItemPropertySource.class); if (source != null) { List<IItemPropertyDescriptor> pds = source.getPropertyDescriptors(eObject); String displayName = pd.getDisplayName(eObject); buildPropertySection(parent, eObject, pds, displayName, null); } return; } inspectReferenceFeature(parent, target, reference); } else if (EMFUtils.testBooleanAnnotation(reference, EMFDetailUtils.ANNOTATION_SOURCE_DETAIL, ANNOTATION_DETAIL_TABLE)) { DetailProviderParameter parameter = createDetailProviderParameter(parent, target, pd); EMFDetailUtils.TABLE_BINDING_FACTORY.createBinding(parameter); } else { createEditor(parent, target, pd); } }
public MultiItemUnionPropertySource(List<? extends EObject> eObjects) { for (EObject eObject : eObjects) { Map<IItemPropertyDescriptor, List<EObject>> pdsMap = new LinkedHashMap<IItemPropertyDescriptor, List<EObject>>(); IItemPropertySource source = EMFUtils.adapt(eObject, IItemPropertySource.class); if (source != null) { List<IItemPropertyDescriptor> pds = getDescriptors(eObject, source); for (IItemPropertyDescriptor pd : pds) { List<IItemPropertyDescriptor> compatible = new ArrayList<IItemPropertyDescriptor>(); compatible.add(0, pd); pdsMap.put(pd, Collections.singletonList(eObject)); MultiItemPropertyDescriptor thisPD = new MultiItemPropertyDescriptor(compatible, pdsMap); final Object feature = thisPD.getFeature(null); pdsByID.put(feature, thisPD); filteredItemPropertyDescriptors.add(thisPD); } } } }
protected List<String> getChoiceOfValues(EPlanElement element, EStructuralFeature feature) { if(choiceOfValues == null) { EClassifier eType = feature.getEType(); if(eType instanceof EEnumImpl) { choices = ((EEnumImpl) eType).getELiterals(); } else { IItemPropertySource itemPropertySource = EMFUtils.adapt(element, IItemPropertySource.class); IItemPropertyDescriptor pd = itemPropertySource.getPropertyDescriptor(element, feature); choices = pd.getChoiceOfValues(element); } choiceOfValues = getList(choices); } return choiceOfValues; }
@Override public void runWithEvent(Event event) { MenuItem item = (MenuItem) event.widget; boolean selected = item.getSelection(); String label = "Edit " + getDisplayName(); CompositeOperation op = new CompositeOperation(label); for (EObject object : getObjects()) { if (object instanceof EPlanElement) { IItemPropertySource source = EMFUtils.adapt(object, IItemPropertySource.class); if (source != null) { IItemPropertyDescriptor pd = source.getPropertyDescriptor(object, getFeature()); op.add(getOperation(object, pd, selected, !selected)); } } } IUndoContext undoContext = getUndoContext(); CommonUtils.execute(op, undoContext); }
/** * Use to get the nicely formatted display version of a feature/attribute name. * @param feature the feature whose name is to be returned, nicely formatted of course * @param eObject the element to which the feature belongs * @param data typically eObject.getData() * @return a nice display name version of the feature name, or null if none is available. */ public static String getDisplayName(EStructuralFeature feature , EObject eObject, EObject data) { String displayName = null; IItemPropertySource itemPropertySource = EMFUtils.adapt(eObject, IItemPropertySource.class); if(itemPropertySource != null) { IItemPropertyDescriptor itemPropertyDescriptor = itemPropertySource.getPropertyDescriptor(eObject, feature); if(itemPropertyDescriptor != null) { displayName = itemPropertyDescriptor.getDisplayName(eObject); } } Object name = eObject.eGet(feature); if(name != null) { displayName = name.toString(); } return displayName; }
@Override public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { if (propertyDescriptors == null) { if (delegateItemProvider instanceof IItemPropertySource) { List<IItemPropertyDescriptor> l = ((IItemPropertySource) delegateItemProvider).getPropertyDescriptors(getDelegateObject(object)); propertyDescriptors = new ArrayList<IItemPropertyDescriptor>(l.size()); String csv = getProperty((EPlanElement) object, "readOnly"); List<String> readOnlyList = null; if (csv != null) { readOnlyList = Arrays.asList(CommonUtils.COMMA_PATTERN.split(csv)); } for (IItemPropertyDescriptor pd : l) { boolean editable = readOnlyList == null || !isReadOnly(pd, readOnlyList); propertyDescriptors.add(new PlanElementDelegatingPropertyDescriptor(pd, editable)); } } else { propertyDescriptors = Collections.emptyList(); } } return propertyDescriptors; }
/** * @generated */ public IPropertySource getPropertySource(Object object) { if (object instanceof IPropertySource) { return (IPropertySource) object; } AdapterFactory af = getAdapterFactory(object); if (af != null) { IItemPropertySource ips = (IItemPropertySource) af.adapt(object, IItemPropertySource.class); if (ips != null) { return new PropertySource(object, ips); } } if (object instanceof IAdaptable) { return (IPropertySource) ((IAdaptable) object) .getAdapter(IPropertySource.class); } return null; }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public SmarthomeItemProviderAdapterFactory() { supportedTypes.add(IEditingDomainItemProvider.class); supportedTypes.add(IStructuredItemContentProvider.class); supportedTypes.add(ITreeItemContentProvider.class); supportedTypes.add(IItemLabelProvider.class); supportedTypes.add(IItemPropertySource.class); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public MetamodelItemProviderAdapterFactory() { supportedTypes.add(IEditingDomainItemProvider.class); supportedTypes.add(IStructuredItemContentProvider.class); supportedTypes.add(ITreeItemContentProvider.class); supportedTypes.add(IItemLabelProvider.class); supportedTypes.add(IItemPropertySource.class); }
/** * This constructs an instance. * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public DebugItemProviderAdapterFactory() { supportedTypes.add(IEditingDomainItemProvider.class); supportedTypes.add(IStructuredItemContentProvider.class); supportedTypes.add(ITreeItemContentProvider.class); supportedTypes.add(IItemLabelProvider.class); supportedTypes.add(IItemPropertySource.class); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public TracingannotationsItemProviderAdapterFactory() { supportedTypes.add(IEditingDomainItemProvider.class); supportedTypes.add(IStructuredItemContentProvider.class); supportedTypes.add(ITreeItemContentProvider.class); supportedTypes.add(IItemLabelProvider.class); supportedTypes.add(IItemPropertySource.class); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EventItemProviderAdapterFactory() { supportedTypes.add(IEditingDomainItemProvider.class); supportedTypes.add(IStructuredItemContentProvider.class); supportedTypes.add(ITreeItemContentProvider.class); supportedTypes.add(IItemLabelProvider.class); supportedTypes.add(IItemPropertySource.class); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ProtocolItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ChartItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public VisualInterfaceItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public DetailViewItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated NOT */ public IEC60870ItemProviderAdapterFactory () { this.supportedTypes.add ( IEditingDomainItemProvider.class ); this.supportedTypes.add ( IStructuredItemContentProvider.class ); this.supportedTypes.add ( ITreeItemContentProvider.class ); this.supportedTypes.add ( IItemLabelProvider.class ); this.supportedTypes.add ( IItemPropertySource.class ); this.supportedTypes.add ( IPropertySource.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public GlobalizeItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); supportedTypes.add ( IItemStyledLabelProvider.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ExecComponentsItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public SecurityItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); supportedTypes.add ( ITableItemLabelProvider.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public CommonItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); supportedTypes.add ( IItemStyledLabelProvider.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public JdbcItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public MemoryManagerItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public CommonItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public DeploymentItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); supportedTypes.add ( ITableItemLabelProvider.class ); supportedTypes.add ( IItemStyledLabelProvider.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public SetupItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); supportedTypes.add ( ITableItemLabelProvider.class ); supportedTypes.add ( IItemStyledLabelProvider.class ); }