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


Java ComposeableAdapterFactory类代码示例

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


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

示例1: addPacketTimePropertyDescriptor

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

示例2: addColorPropertyDescriptor

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

示例3: addIdPropertyDescriptor

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

示例4: addMessageSizeElementsPropertyDescriptor

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

示例5: addDescriptionPropertyDescriptor

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

示例6: addMaxInterarrivalPropertyDescriptor

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

示例7: addUsagePropertyDescriptor

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

示例8: addDimensionPropertyDescriptor

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

示例9: addStatesPropertyDescriptor

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

示例10: addNetworknamePropertyDescriptor

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

示例11: addStatusPropertyDescriptor

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

示例12: addTypePropertyDescriptor

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

示例13: addFamilyPropertyDescriptor

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

示例14: addMinLengthPropertyDescriptor

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

示例15: addMainSchedulerPropertyDescriptor

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


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