当前位置: 首页>>代码示例>>Java>>正文


Java ItemPropertyDescriptor类代码示例

本文整理汇总了Java中org.eclipse.emf.edit.provider.ItemPropertyDescriptor的典型用法代码示例。如果您正苦于以下问题:Java ItemPropertyDescriptor类的具体用法?Java ItemPropertyDescriptor怎么用?Java ItemPropertyDescriptor使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


ItemPropertyDescriptor类属于org.eclipse.emf.edit.provider包,在下文中一共展示了ItemPropertyDescriptor类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: addNamePropertyDescriptor

import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; //导入依赖的package包/类
/**
 * This adds a property descriptor for the Name feature.
 * <!-- begin-user-doc -->
    * <!-- end-user-doc -->
 * @generated
 */
   protected void addNamePropertyDescriptor(Object object) {
	itemPropertyDescriptors.add
		(createItemPropertyDescriptor
			(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
			 getResourceLocator(),
			 getString("_UI_Item_name_feature"),
			 getString("_UI_PropertyDescriptor_description", "_UI_Item_name_feature", "_UI_Item_type"),
			 SmarthomePackage.Literals.ITEM__NAME,
			 true,
			 false,
			 false,
			 ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
			 null,
			 null));
}
 
开发者ID:IncQueryLabs,项目名称:smarthome-cep-demonstrator,代码行数:22,代码来源:SwitchItemItemProvider.java

示例2: addBestCETPropertyDescriptor

import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; //导入依赖的package包/类
/**
 * This adds a property descriptor for the Best CET feature.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
protected void addBestCETPropertyDescriptor(Object object) {
	itemPropertyDescriptors.add
		(createItemPropertyDescriptor
			(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
			 getResourceLocator(),
			 getString("_UI_BehaviorScenario_bestCET_feature"),
			 getString("_UI_PropertyDescriptor_description", "_UI_BehaviorScenario_bestCET_feature", "_UI_BehaviorScenario_type"),
			 GqamPackage.Literals.BEHAVIOR_SCENARIO__BEST_CET,
			 true,
			 false,
			 false,
			 ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
			 null,
			 null));
}
 
开发者ID:polarsys,项目名称:time4sys,代码行数:22,代码来源:BehaviorScenarioItemProvider.java

示例3: addSecurePropertyDescriptor

import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; //导入依赖的package包/类
/**
 * This adds a property descriptor for the Secure feature.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
protected void addSecurePropertyDescriptor(Object object) {
	itemPropertyDescriptors.add
		(createItemPropertyDescriptor
			(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
			 getResourceLocator(),
			 getString("_UI_Tosca_capabilities_endpoint_secure_feature"),
			 getString("_UI_PropertyDescriptor_description", "_UI_Tosca_capabilities_endpoint_secure_feature", "_UI_Tosca_capabilities_endpoint_type"),
			 ToscaPackage.Literals.TOSCA_CAPABILITIES_ENDPOINT__SECURE,
			 true,
			 false,
			 false,
			 ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
			 null,
			 null));
}
 
开发者ID:occiware,项目名称:TOSCA-Studio,代码行数:22,代码来源:Tosca_nodes_softwarecomponent_elasticsearchItemProvider.java

示例4: addConfigurationUriPropertyDescriptor

import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; //导入依赖的package包/类
/**
 * This adds a property descriptor for the Configuration Uri feature.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
protected void addConfigurationUriPropertyDescriptor ( Object object )
{
    itemPropertyDescriptors.add
            ( createItemPropertyDescriptor
            ( ( (ComposeableAdapterFactory)adapterFactory ).getRootAdapterFactory (),
                    getResourceLocator (),
                    getString ( "_UI_ChartView_configurationUri_feature" ), //$NON-NLS-1$
                    getString ( "_UI_PropertyDescriptor_description", "_UI_ChartView_configurationUri_feature", "_UI_ChartView_type" ), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
                    ChartPackage.Literals.CHART_VIEW__CONFIGURATION_URI,
                    true,
                    false,
                    false,
                    ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
                    null,
                    null ) );
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:23,代码来源:ChartViewItemProvider.java

示例5: addOcciNetworkVlanPropertyDescriptor

import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; //导入依赖的package包/类
/**
 * This adds a property descriptor for the Occi Network Vlan feature.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
protected void addOcciNetworkVlanPropertyDescriptor(Object object) {
	itemPropertyDescriptors.add
		(createItemPropertyDescriptor
			(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
			 getResourceLocator(),
			 getString("_UI_Network_occiNetworkVlan_feature"),
			 getString("_UI_PropertyDescriptor_description", "_UI_Network_occiNetworkVlan_feature", "_UI_Network_type"),
			 InfrastructurePackage.Literals.NETWORK__OCCI_NETWORK_VLAN,
			 true,
			 false,
			 false,
			 ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
			 null,
			 null));
}
 
开发者ID:occiware,项目名称:OCCI-Studio,代码行数:22,代码来源:NetworkItemProvider.java

示例6: addValuePropertyDescriptor

import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; //导入依赖的package包/类
/**
 * This adds a property descriptor for the Value feature.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
protected void addValuePropertyDescriptor(Object object) {
	itemPropertyDescriptors.add
		(createItemPropertyDescriptor
			(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
			 getResourceLocator(),
			 getString("_UI_SchedulerParameterValue_value_feature"),
			 getString("_UI_PropertyDescriptor_description", "_UI_SchedulerParameterValue_value_feature", "_UI_SchedulerParameterValue_type"),
			 AnalysisPackage.Literals.SCHEDULER_PARAMETER_VALUE__VALUE,
			 true,
			 false,
			 false,
			 ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
			 null,
			 null));
}
 
开发者ID:polarsys,项目名称:time4sys,代码行数:22,代码来源:SchedulerParameterValueItemProvider.java

示例7: addNbRowsPropertyDescriptor

import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; //导入依赖的package包/类
/**
 * This adds a property descriptor for the Nb Rows feature.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
protected void addNbRowsPropertyDescriptor(Object object) {
	itemPropertyDescriptors.add
		(createItemPropertyDescriptor
			(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
			 getResourceLocator(),
			 getString("_UI_HardwareRam_nbRows_feature"),
			 getString("_UI_PropertyDescriptor_description", "_UI_HardwareRam_nbRows_feature", "_UI_HardwareRam_type"),
			 HrmPackage.Literals.HARDWARE_RAM__NB_ROWS,
			 true,
			 false,
			 false,
			 ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE,
			 null,
			 null));
}
 
开发者ID:polarsys,项目名称:time4sys,代码行数:22,代码来源:HardwareRamItemProvider.java

示例8: addNetworkNamePropertyDescriptor

import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; //导入依赖的package包/类
/**
 * This adds a property descriptor for the Network Name feature.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
protected void addNetworkNamePropertyDescriptor(Object object) {
	itemPropertyDescriptors.add
		(createItemPropertyDescriptor
			(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
			 getResourceLocator(),
			 getString("_UI_Tosca_capabilities_endpoint_networkName_feature"),
			 getString("_UI_PropertyDescriptor_description", "_UI_Tosca_capabilities_endpoint_networkName_feature", "_UI_Tosca_capabilities_endpoint_type"),
			 ToscaPackage.Literals.TOSCA_CAPABILITIES_ENDPOINT__NETWORK_NAME,
			 true,
			 false,
			 false,
			 ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
			 null,
			 null));
}
 
开发者ID:occiware,项目名称:TOSCA-Studio,代码行数:22,代码来源:Tosca_nodes_webserverItemProvider.java

示例9: addTimeSliceElementsPropertyDescriptor

import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; //导入依赖的package包/类
/**
 * This adds a property descriptor for the Time Slice Elements feature.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
protected void addTimeSliceElementsPropertyDescriptor(Object object) {
	itemPropertyDescriptors.add
		(createItemPropertyDescriptor
			(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
			 getResourceLocator(),
			 getString("_UI_SoftwareSchedulableResource_timeSliceElements_feature"),
			 getString("_UI_PropertyDescriptor_description", "_UI_SoftwareSchedulableResource_timeSliceElements_feature", "_UI_SoftwareSchedulableResource_type"),
			 SrmPackage.Literals.SOFTWARE_SCHEDULABLE_RESOURCE__TIME_SLICE_ELEMENTS,
			 true,
			 false,
			 false,
			 ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
			 null,
			 null));
}
 
开发者ID:polarsys,项目名称:time4sys,代码行数:22,代码来源:SoftwareSchedulableResourceItemProvider.java

示例10: addPeriodPropertyDescriptor

import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; //导入依赖的package包/类
/**
 * This adds a property descriptor for the Period feature.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
protected void addPeriodPropertyDescriptor(Object object) {
	itemPropertyDescriptors.add
		(createItemPropertyDescriptor
			(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
			 getResourceLocator(),
			 getString("_UI_OrderOnStockThreshold_period_feature"),
			 getString("_UI_PropertyDescriptor_description", "_UI_OrderOnStockThreshold_period_feature", "_UI_OrderOnStockThreshold_type"),
			 MetamodelPackage.Literals.ORDER_ON_STOCK_THRESHOLD__PERIOD,
			 true,
			 false,
			 false,
			 ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
			 null,
			 null));
}
 
开发者ID:cetic,项目名称:SimQRI,代码行数:22,代码来源:OrderOnStockThresholdItemProvider.java

示例11: addThresholdPropertyDescriptor

import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; //导入依赖的package包/类
/**
 * This adds a property descriptor for the Threshold feature.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
protected void addThresholdPropertyDescriptor(Object object) {
	itemPropertyDescriptors.add
		(createItemPropertyDescriptor
			(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
			 getResourceLocator(),
			 getString("_UI_OrderOnStockThreshold_threshold_feature"),
			 getString("_UI_PropertyDescriptor_description", "_UI_OrderOnStockThreshold_threshold_feature", "_UI_OrderOnStockThreshold_type"),
			 MetamodelPackage.Literals.ORDER_ON_STOCK_THRESHOLD__THRESHOLD,
			 true,
			 false,
			 false,
			 ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
			 null,
			 null));
}
 
开发者ID:cetic,项目名称:SimQRI,代码行数:22,代码来源:OrderOnStockThresholdItemProvider.java

示例12: addCertificateUrlPropertyDescriptor

import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; //导入依赖的package包/类
/**
 * This adds a property descriptor for the Certificate Url feature.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
protected void addCertificateUrlPropertyDescriptor ( Object object )
{
    itemPropertyDescriptors.add
            ( createItemPropertyDescriptor
            ( ( (ComposeableAdapterFactory)adapterFactory ).getRootAdapterFactory (),
                    getResourceLocator (),
                    getString ( "_UI_CA_certificateUrl_feature" ), //$NON-NLS-1$
                    getString ( "_UI_PropertyDescriptor_description", "_UI_CA_certificateUrl_feature", "_UI_CA_type" ), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
                    SecurityPackage.Literals.CA__CERTIFICATE_URL,
                    true,
                    false,
                    false,
                    ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
                    null,
                    null ) );
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:23,代码来源:CAItemProvider.java

示例13: addNetworkIdPropertyDescriptor

import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; //导入依赖的package包/类
/**
 * This adds a property descriptor for the Network Id feature.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
protected void addNetworkIdPropertyDescriptor(Object object) {
	itemPropertyDescriptors.add
		(createItemPropertyDescriptor
			(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
			 getResourceLocator(),
			 getString("_UI_Tosca_nodes_network_network_networkId_feature"),
			 getString("_UI_PropertyDescriptor_description", "_UI_Tosca_nodes_network_network_networkId_feature", "_UI_Tosca_nodes_network_network_type"),
			 ExtendedtoscaPackage.Literals.TOSCA_NODES_NETWORK_NETWORK__NETWORK_ID,
			 true,
			 false,
			 false,
			 ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
			 null,
			 null));
}
 
开发者ID:occiware,项目名称:TOSCA-Studio,代码行数:22,代码来源:Tosca_nodes_network_networkItemProvider.java

示例14: addMinimalSeparationBetweenBatchesPropertyDescriptor

import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; //导入依赖的package包/类
/**
 * This adds a property descriptor for the Minimal Separation Between Batches feature.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
protected void addMinimalSeparationBetweenBatchesPropertyDescriptor(Object object) {
	itemPropertyDescriptors.add
		(createItemPropertyDescriptor
			(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
			 getResourceLocator(),
			 getString("_UI_ConveyorBelt_minimalSeparationBetweenBatches_feature"),
			 getString("_UI_PropertyDescriptor_description", "_UI_ConveyorBelt_minimalSeparationBetweenBatches_feature", "_UI_ConveyorBelt_type"),
			 MetamodelPackage.Literals.CONVEYOR_BELT__MINIMAL_SEPARATION_BETWEEN_BATCHES,
			 true,
			 false,
			 false,
			 ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
			 null,
			 null));
}
 
开发者ID:cetic,项目名称:SimQRI,代码行数:22,代码来源:ConveyorBeltItemProvider.java

示例15: addPeriodPropertyDescriptor

import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; //导入依赖的package包/类
/**
 * This adds a property descriptor for the Period feature.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
protected void addPeriodPropertyDescriptor(Object object) {
	itemPropertyDescriptors.add
		(createItemPropertyDescriptor
			(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
			 getResourceLocator(),
			 getString("_UI_PeriodicPattern_period_feature"),
			 getString("_UI_PropertyDescriptor_description", "_UI_PeriodicPattern_period_feature", "_UI_PeriodicPattern_type"),
			 GqamPackage.Literals.PERIODIC_PATTERN__PERIOD,
			 true,
			 false,
			 false,
			 ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
			 null,
			 null));
}
 
开发者ID:polarsys,项目名称:time4sys,代码行数:22,代码来源:PeriodicPatternItemProvider.java


注:本文中的org.eclipse.emf.edit.provider.ItemPropertyDescriptor类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。