Java Code Examples for org.eclipse.emf.edit.provider.IItemPropertySource

The following are top voted examples for showing how to use org.eclipse.emf.edit.provider.IItemPropertySource. These examples are extracted from open source projects. You can vote up the examples you like and your votes will be used in our system to generate more good examples.
Example 1
Project: DarwinSPL   File: DwprofileEditor.java   View source code 6 votes vote down vote up
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;
}
 
Example 2
Project: DarwinSPL   File: HyexpressionEditor.java   View source code 6 votes vote down vote up
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;
}
 
Example 3
Project: DarwinSPL   File: HyvalidityformulaEditor.java   View source code 6 votes vote down vote up
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;
}
 
Example 4
Project: DarwinSPL   File: HydatavalueEditor.java   View source code 6 votes vote down vote up
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;
}
 
Example 5
Project: DarwinSPL   File: HymappingEditor.java   View source code 6 votes vote down vote up
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;
}
 
Example 6
Project: DarwinSPL   File: HyconstraintsEditor.java   View source code 6 votes vote down vote up
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;
}
 
Example 7
Project: DarwinSPL   File: HymanifestEditor.java   View source code 6 votes vote down vote up
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;
}
 
Example 8
Project: limpet   File: CombinedProperty.java   View source code 6 votes vote down vote up
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);

}
 
Example 9
Project: limpet   File: CombinedProperty.java   View source code 6 votes vote down vote up
/** 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;
      };

    });
  }
}
 
Example 10
Project: OpenSPIFe   File: EMFUtils.java   View source code 6 votes vote down vote up
/**
 * 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());
}
 
Example 11
Project: OpenSPIFe   File: EMFUtils.java   View source code 6 votes vote down vote up
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;
}
 
Example 12
Project: OpenSPIFe   File: TooltipShellBuilder.java   View source code 6 votes vote down vote up
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 "";
}
 
Example 13
Project: OpenSPIFe   File: TableBindingFactory.java   View source code 6 votes vote down vote up
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
	}
}
 
Example 14
Project: OpenSPIFe   File: EMFDetailFormPart.java   View source code 6 votes vote down vote up
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);
  }
 }
 
Example 15
Project: OpenSPIFe   File: MultiItemUnionPropertySource.java   View source code 6 votes vote down vote up
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);
			}
		}
	}
}
 
Example 16
Project: OpenSPIFe   File: MultiselectCellEditor.java   View source code 6 votes vote down vote up
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;
}
 
Example 17
Project: OpenSPIFe   File: BooleanAction.java   View source code 6 votes vote down vote up
@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);
}
 
Example 18
Project: OpenSPIFe   File: EPlanUtils.java   View source code 6 votes vote down vote up
/**
 * 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;
}
 
Example 19
Project: OpenSPIFe   File: PlanElementDelegatingWrapperItemProvider.java   View source code 6 votes vote down vote up
@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;
}
 
Example 20
Project: ROADDesigner   File: SmcPropertySection.java   View source code 6 votes vote down vote up
/**
 * @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;
}
 
Example 21
Project: smarthome-cep-demonstrator   File: SmarthomeItemProviderAdapterFactory.java   View source code 5 votes vote down vote up
/**
 * 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);
}
 
Example 22
Project: SimQRI   File: MetamodelItemProviderAdapterFactory.java   View source code 5 votes vote down vote up
/**
 * 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);
}
 
Example 23
Project: gemoc-studio-modeldebugging   File: DebugItemProviderAdapterFactory.java   View source code 5 votes vote down vote up
/**
 * 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);
}
 
Example 24
Project: gemoc-studio-modeldebugging   File: TracingannotationsItemProviderAdapterFactory.java   View source code 5 votes vote down vote up
/**
 * 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);
}
 
Example 25
Project: gemoc-studio-modeldebugging   File: EventItemProviderAdapterFactory.java   View source code 5 votes vote down vote up
/**
 * 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);
}
 
Example 26
Project: neoscada   File: ProtocolItemProviderAdapterFactory.java   View source code 5 votes vote down vote up
/**
 * 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 );
}
 
Example 27
Project: neoscada   File: ChartItemProviderAdapterFactory.java   View source code 5 votes vote down vote up
/**
 * 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 );
}
 
Example 28
Project: neoscada   File: ChartItemProviderAdapterFactory.java   View source code 5 votes vote down vote up
/**
 * 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 );
}
 
Example 29
Project: neoscada   File: VisualInterfaceItemProviderAdapterFactory.java   View source code 5 votes vote down vote up
/**
 * 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 );
}
 
Example 30
Project: neoscada   File: DetailViewItemProviderAdapterFactory.java   View source code 5 votes vote down vote up
/**
 * 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 );
}
 
Example 31
Project: neoscada   File: IEC60870ItemProviderAdapterFactory.java   View source code 5 votes vote down vote up
/**
 * 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 );
}
 
Example 32
Project: neoscada   File: GlobalizeItemProviderAdapterFactory.java   View source code 5 votes vote down vote up
/**
 * 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 );
}
 
Example 33
Project: neoscada   File: ExecComponentsItemProviderAdapterFactory.java   View source code 5 votes vote down vote up
/**
 * 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 );
}
 
Example 34
Project: neoscada   File: SecurityItemProviderAdapterFactory.java   View source code 5 votes vote down vote up
/**
 * 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 );
}
 
Example 35
Project: neoscada   File: CommonItemProviderAdapterFactory.java   View source code 5 votes vote down vote up
/**
 * 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 );
}
 
Example 36
Project: neoscada   File: JdbcItemProviderAdapterFactory.java   View source code 5 votes vote down vote up
/**
 * 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 );
}
 
Example 37
Project: neoscada   File: MemoryManagerItemProviderAdapterFactory.java   View source code 5 votes vote down vote up
/**
 * 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 );
}
 
Example 38
Project: neoscada   File: CommonItemProviderAdapterFactory.java   View source code 5 votes vote down vote up
/**
 * 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 );
}
 
Example 39
Project: neoscada   File: DeploymentItemProviderAdapterFactory.java   View source code 5 votes vote down vote up
/**
 * 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 );
}
 
Example 40
Project: neoscada   File: SetupItemProviderAdapterFactory.java   View source code 5 votes vote down vote up
/**
 * 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 );
}