當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。