本文整理汇总了Java中org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent类的典型用法代码示例。如果您正苦于以下问题:Java IPropertiesEditionComponent类的具体用法?Java IPropertiesEditionComponent怎么用?Java IPropertiesEditionComponent使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
IPropertiesEditionComponent类属于org.eclipse.emf.eef.runtime.api.component包,在下文中一共展示了IPropertiesEditionComponent类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getPropertiesEditingComponent
import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent; //导入依赖的package包/类
/**
* {@inheritDoc}
* @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#getPropertiesEditingComponent(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, java.lang.String, java.lang.String, java.lang.Class)
*/
@SuppressWarnings("rawtypes")
public IPropertiesEditionComponent getPropertiesEditingComponent(PropertiesEditingContext editingContext, String mode, String part, java.lang.Class refinement) {
if (editingContext.getEObject() instanceof HardwareArbiter) {
if (HardwareArbiterGeneralPropertiesEditionComponent.GENERAL_PART.equals(part)
&& refinement == HardwareArbiterGeneralPropertiesEditionComponent.class)
return new HardwareArbiterGeneralPropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
if (HardwareArbiterTimingPropertiesEditionComponent.TIMING_PART.equals(part)
&& refinement == HardwareArbiterTimingPropertiesEditionComponent.class)
return new HardwareArbiterTimingPropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
if (HardwareArbiterOtherPropertiesEditionComponent.OTHER_PART.equals(part)
&& refinement == HardwareArbiterOtherPropertiesEditionComponent.class)
return new HardwareArbiterOtherPropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
}
return super.getPropertiesEditingComponent(editingContext, mode, part, refinement);
}
示例2: getPropertiesEditingComponent
import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent; //导入依赖的package包/类
/**
* {@inheritDoc}
* @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#getPropertiesEditingComponent(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, java.lang.String, java.lang.String, java.lang.Class)
*/
@SuppressWarnings("rawtypes")
public IPropertiesEditionComponent getPropertiesEditingComponent(PropertiesEditingContext editingContext, String mode, String part, java.lang.Class refinement) {
if (editingContext.getEObject() instanceof HardwareIo) {
if (HardwareIoGeneralPropertiesEditionComponent.GENERAL_PART.equals(part)
&& refinement == HardwareIoGeneralPropertiesEditionComponent.class)
return new HardwareIoGeneralPropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
if (HardwareIoTimingPropertiesEditionComponent.TIMING_PART.equals(part)
&& refinement == HardwareIoTimingPropertiesEditionComponent.class)
return new HardwareIoTimingPropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
if (HardwareIoOtherPropertiesEditionComponent.OTHER_PART.equals(part)
&& refinement == HardwareIoOtherPropertiesEditionComponent.class)
return new HardwareIoOtherPropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
}
return super.getPropertiesEditingComponent(editingContext, mode, part, refinement);
}
示例3: getPropertiesEditingComponent
import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent; //导入依赖的package包/类
/**
* {@inheritDoc}
* @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#getPropertiesEditingComponent(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, java.lang.String, java.lang.String, java.lang.Class)
*/
@SuppressWarnings("rawtypes")
public IPropertiesEditionComponent getPropertiesEditingComponent(PropertiesEditingContext editingContext, String mode, String part, java.lang.Class refinement) {
if (editingContext.getEObject() instanceof HardwareClock) {
if (HardwareClockGeneralPropertiesEditionComponent.GENERAL_PART.equals(part)
&& refinement == HardwareClockGeneralPropertiesEditionComponent.class)
return new HardwareClockGeneralPropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
if (HardwareClockTimingPropertiesEditionComponent.TIMING_PART.equals(part)
&& refinement == HardwareClockTimingPropertiesEditionComponent.class)
return new HardwareClockTimingPropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
if (HardwareClockOtherPropertiesEditionComponent.OTHER_PART.equals(part)
&& refinement == HardwareClockOtherPropertiesEditionComponent.class)
return new HardwareClockOtherPropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
}
return super.getPropertiesEditingComponent(editingContext, mode, part, refinement);
}
示例4: getPropertiesEditingComponent
import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent; //导入依赖的package包/类
/**
* {@inheritDoc}
* @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#getPropertiesEditingComponent(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, java.lang.String, java.lang.String, java.lang.Class)
*/
@SuppressWarnings("rawtypes")
public IPropertiesEditionComponent getPropertiesEditingComponent(PropertiesEditingContext editingContext, String mode, String part, java.lang.Class refinement) {
if (editingContext.getEObject() instanceof Alarm) {
if (AlarmGeneralPropertiesEditionComponent.GENERAL_PART.equals(part)
&& refinement == AlarmGeneralPropertiesEditionComponent.class)
return new AlarmGeneralPropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
if (AlarmTimingPropertiesEditionComponent.TIMING_PART.equals(part)
&& refinement == AlarmTimingPropertiesEditionComponent.class)
return new AlarmTimingPropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
if (AlarmOtherPropertiesEditionComponent.OTHER_PART.equals(part)
&& refinement == AlarmOtherPropertiesEditionComponent.class)
return new AlarmOtherPropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
}
return super.getPropertiesEditingComponent(editingContext, mode, part, refinement);
}
示例5: getPropertiesEditingComponent
import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent; //导入依赖的package包/类
/**
* {@inheritDoc}
* @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#getPropertiesEditingComponent(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, java.lang.String, java.lang.String, java.lang.Class)
*/
@SuppressWarnings("rawtypes")
public IPropertiesEditionComponent getPropertiesEditingComponent(PropertiesEditingContext editingContext, String mode, String part, java.lang.Class refinement) {
if (editingContext.getEObject() instanceof HardwareSupport) {
if (HardwareSupportGeneralPropertiesEditionComponent.GENERAL_PART.equals(part)
&& refinement == HardwareSupportGeneralPropertiesEditionComponent.class)
return new HardwareSupportGeneralPropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
if (HardwareSupportTimingPropertiesEditionComponent.TIMING_PART.equals(part)
&& refinement == HardwareSupportTimingPropertiesEditionComponent.class)
return new HardwareSupportTimingPropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
if (HardwareSupportOtherPropertiesEditionComponent.OTHER_PART.equals(part)
&& refinement == HardwareSupportOtherPropertiesEditionComponent.class)
return new HardwareSupportOtherPropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
}
return super.getPropertiesEditingComponent(editingContext, mode, part, refinement);
}
示例6: getPropertiesEditingComponent
import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent; //导入依赖的package包/类
/**
* {@inheritDoc}
* @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#getPropertiesEditingComponent(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, java.lang.String, java.lang.String, java.lang.Class)
*/
@SuppressWarnings("rawtypes")
public IPropertiesEditionComponent getPropertiesEditingComponent(PropertiesEditingContext editingContext, String mode, String part, java.lang.Class refinement) {
if (editingContext.getEObject() instanceof DeviceBroker) {
if (DeviceBrokerGeneralPropertiesEditionComponent.GENERAL_PART.equals(part)
&& refinement == DeviceBrokerGeneralPropertiesEditionComponent.class)
return new DeviceBrokerGeneralPropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
if (DeviceBrokerTimingPropertiesEditionComponent.TIMING_PART.equals(part)
&& refinement == DeviceBrokerTimingPropertiesEditionComponent.class)
return new DeviceBrokerTimingPropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
if (DeviceBrokerOtherPropertiesEditionComponent.OTHER_PART.equals(part)
&& refinement == DeviceBrokerOtherPropertiesEditionComponent.class)
return new DeviceBrokerOtherPropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
}
return super.getPropertiesEditingComponent(editingContext, mode, part, refinement);
}
示例7: getPropertiesEditingComponent
import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent; //导入依赖的package包/类
/**
* {@inheritDoc}
* @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#getPropertiesEditingComponent(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, java.lang.String, java.lang.String, java.lang.Class)
*/
@SuppressWarnings("rawtypes")
public IPropertiesEditionComponent getPropertiesEditingComponent(PropertiesEditingContext editingContext, String mode, String part, java.lang.Class refinement) {
if (editingContext.getEObject() instanceof HardwareActuator) {
if (HardwareActuatorGeneralPropertiesEditionComponent.GENERAL_PART.equals(part)
&& refinement == HardwareActuatorGeneralPropertiesEditionComponent.class)
return new HardwareActuatorGeneralPropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
if (HardwareActuatorTimingPropertiesEditionComponent.TIMING_PART.equals(part)
&& refinement == HardwareActuatorTimingPropertiesEditionComponent.class)
return new HardwareActuatorTimingPropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
if (HardwareActuatorOtherPropertiesEditionComponent.OTHER_PART.equals(part)
&& refinement == HardwareActuatorOtherPropertiesEditionComponent.class)
return new HardwareActuatorOtherPropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
}
return super.getPropertiesEditingComponent(editingContext, mode, part, refinement);
}
示例8: getPropertiesEditingComponent
import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent; //导入依赖的package包/类
/**
* {@inheritDoc}
* @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#getPropertiesEditingComponent(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, java.lang.String, java.lang.String)
*
*/
public IPropertiesEditionComponent getPropertiesEditingComponent(PropertiesEditingContext editingContext, String mode, String part) {
if (editingContext.getEObject() instanceof SoftwareResourcePackage) {
if (SoftwareResourcePackagePropertiesEditionComponent.GENERAL_PART.equals(part))
return new SoftwareResourcePackagePropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
}
return super.getPropertiesEditingComponent(editingContext, mode, part);
}
示例9: getPropertiesEditingComponent
import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent; //导入依赖的package包/类
/**
* {@inheritDoc}
* @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#getPropertiesEditingComponent(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, java.lang.String, java.lang.String)
*
*/
public IPropertiesEditionComponent getPropertiesEditingComponent(PropertiesEditingContext editingContext, String mode, String part) {
if (editingContext.getEObject() instanceof HardwareMmu) {
if (HardwareMmuGeneralPropertiesEditionComponent.GENERAL_PART.equals(part))
return new HardwareMmuGeneralPropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
if (HardwareMmuTimingPropertiesEditionComponent.TIMING_PART.equals(part))
return new HardwareMmuTimingPropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
if (HardwareMmuOtherPropertiesEditionComponent.OTHER_PART.equals(part))
return new HardwareMmuOtherPropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
}
return super.getPropertiesEditingComponent(editingContext, mode, part);
}
示例10: getPropertiesEditingComponent
import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent; //导入依赖的package包/类
/**
* {@inheritDoc}
* @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#getPropertiesEditingComponent(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, java.lang.String)
*
*/
public IPropertiesEditionComponent getPropertiesEditingComponent(PropertiesEditingContext editingContext, String mode) {
if (editingContext.getEObject() instanceof MemoryBroker) {
return new MemoryBrokerPropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
}
return super.getPropertiesEditingComponent(editingContext, mode);
}
示例11: getPropertiesEditingComponent
import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent; //导入依赖的package包/类
/**
* {@inheritDoc}
* @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#getPropertiesEditingComponent(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, java.lang.String, java.lang.String, java.lang.Class)
*/
@SuppressWarnings("rawtypes")
public IPropertiesEditionComponent getPropertiesEditingComponent(PropertiesEditingContext editingContext, String mode, String part, java.lang.Class refinement) {
if (editingContext.getEObject() instanceof SoftwareService) {
if (SoftwareServicePropertiesEditionComponent.GENERAL_PART.equals(part)
&& refinement == SoftwareServicePropertiesEditionComponent.class)
return new SoftwareServicePropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
}
return super.getPropertiesEditingComponent(editingContext, mode, part, refinement);
}
示例12: getPropertiesEditingComponent
import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent; //导入依赖的package包/类
/**
* {@inheritDoc}
* @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#getPropertiesEditingComponent(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, java.lang.String, java.lang.String)
*
*/
public IPropertiesEditionComponent getPropertiesEditingComponent(PropertiesEditingContext editingContext, String mode, String part) {
if (editingContext.getEObject() instanceof MutualExclusionProtocol) {
if (MutualExclusionProtocolPropertiesEditionComponent.GENERAL_PART.equals(part))
return new MutualExclusionProtocolPropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
}
return super.getPropertiesEditingComponent(editingContext, mode, part);
}
示例13: getPropertiesEditingComponent
import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent; //导入依赖的package包/类
/**
* {@inheritDoc}
* @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#getPropertiesEditingComponent(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, java.lang.String, java.lang.String, java.lang.Class)
*/
@SuppressWarnings("rawtypes")
public IPropertiesEditionComponent getPropertiesEditingComponent(PropertiesEditingContext editingContext, String mode, String part, java.lang.Class refinement) {
if (editingContext.getEObject() instanceof Scheduler) {
if (SchedulerGeneralPropertiesEditionComponent.GENERAL_PART.equals(part)
&& refinement == SchedulerGeneralPropertiesEditionComponent.class)
return new SchedulerGeneralPropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
if (SchedulerOtherPropertiesEditionComponent.OTHER_PART.equals(part)
&& refinement == SchedulerOtherPropertiesEditionComponent.class)
return new SchedulerOtherPropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
}
return super.getPropertiesEditingComponent(editingContext, mode, part, refinement);
}
示例14: getPropertiesEditingComponent
import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent; //导入依赖的package包/类
/**
* {@inheritDoc}
* @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#getPropertiesEditingComponent(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, java.lang.String)
*
*/
public IPropertiesEditionComponent getPropertiesEditingComponent(PropertiesEditingContext editingContext, String mode) {
if (editingContext.getEObject() instanceof SoftwarePort) {
return new SoftwarePortPropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
}
return super.getPropertiesEditingComponent(editingContext, mode);
}
示例15: getPropertiesEditingComponent
import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent; //导入依赖的package包/类
/**
* {@inheritDoc}
* @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#getPropertiesEditingComponent(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, java.lang.String)
* @generated
*/
public IPropertiesEditionComponent getPropertiesEditingComponent(PropertiesEditingContext editingContext, String mode) {
if (editingContext.getEObject() instanceof AnalyzedSystem) {
return new AnalyzedSystemPropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
}
return super.getPropertiesEditingComponent(editingContext, mode);
}