/** * Parameterized constructor * * @param environment the EObject to edit */ public EnvironmentPropertiesEditionComponent( PropertiesEditingContext editingContext, EObject environment, String editing_mode) { super(editingContext, editing_mode); if (environment instanceof Environment) { PropertiesEditingProvider provider = null; provider = (PropertiesEditingProvider) editingContext .getAdapterFactory() .adapt(environment, PropertiesEditingProvider.class); environmentEnvironmentPropertiesEditionComponent = (EnvironmentEnvironmentPropertiesEditionComponent) provider.getPropertiesEditingComponent( editingContext, editing_mode, EnvironmentEnvironmentPropertiesEditionComponent.ENVIRONMENT_PART, EnvironmentEnvironmentPropertiesEditionComponent.class); addSubComponent(environmentEnvironmentPropertiesEditionComponent); provider = (PropertiesEditingProvider) editingContext .getAdapterFactory() .adapt(environment, PropertiesEditingProvider.class); metadataCptPropertiesEditionComponent = (MetadataCptPropertiesEditionComponent) provider.getPropertiesEditingComponent( editingContext, editing_mode, MetadataCptPropertiesEditionComponent.METADATAS_PART, MetadataCptPropertiesEditionComponent.class); addSubComponent(metadataCptPropertiesEditionComponent); } }
/** * Parameterized constructor * * @param subflowState the EObject to edit * @generated */ public SubflowStatePropertiesEditionComponent( PropertiesEditingContext editingContext, EObject subflowState, String editing_mode) { super(editingContext, editing_mode); if (subflowState instanceof SubflowState) { PropertiesEditingProvider provider = null; provider = (PropertiesEditingProvider) editingContext .getAdapterFactory() .adapt(subflowState, PropertiesEditingProvider.class); subflowStateSubflowStatePropertiesEditionComponent = (SubflowStateSubflowStatePropertiesEditionComponent) provider.getPropertiesEditingComponent( editingContext, editing_mode, SubflowStateSubflowStatePropertiesEditionComponent.SUBFLOWSTATE_PART, SubflowStateSubflowStatePropertiesEditionComponent.class); addSubComponent(subflowStateSubflowStatePropertiesEditionComponent); provider = (PropertiesEditingProvider) editingContext .getAdapterFactory() .adapt(subflowState, PropertiesEditingProvider.class); metadataCptPropertiesEditionComponent = (MetadataCptPropertiesEditionComponent) provider.getPropertiesEditingComponent( editingContext, editing_mode, MetadataCptPropertiesEditionComponent.METADATAS_PART, MetadataCptPropertiesEditionComponent.class); addSubComponent(metadataCptPropertiesEditionComponent); } }
/** * Parameterized constructor * * @param system the EObject to edit */ public SystemPropertiesEditionComponent( PropertiesEditingContext editingContext, EObject system, String editing_mode) { super(editingContext, editing_mode); if (system instanceof System) { PropertiesEditingProvider provider = null; provider = (PropertiesEditingProvider) editingContext.getAdapterFactory().adapt(system, PropertiesEditingProvider.class); systemSystemPropertiesEditionComponent = (SystemSystemPropertiesEditionComponent) provider.getPropertiesEditingComponent( editingContext, editing_mode, SystemSystemPropertiesEditionComponent.SYSTEM_PART, SystemSystemPropertiesEditionComponent.class); addSubComponent(systemSystemPropertiesEditionComponent); provider = (PropertiesEditingProvider) editingContext.getAdapterFactory().adapt(system, PropertiesEditingProvider.class); metadataCptPropertiesEditionComponent = (MetadataCptPropertiesEditionComponent) provider.getPropertiesEditingComponent( editingContext, editing_mode, MetadataCptPropertiesEditionComponent.METADATAS_PART, MetadataCptPropertiesEditionComponent.class); addSubComponent(metadataCptPropertiesEditionComponent); } }
/** * Parameterized constructor * * @param challenges the EObject to edit */ public ChallengesPropertiesEditionComponent( PropertiesEditingContext editingContext, EObject challenges, String editing_mode) { super(editingContext, editing_mode); if (challenges instanceof Challenges) { PropertiesEditingProvider provider = null; provider = (PropertiesEditingProvider) editingContext.getAdapterFactory().adapt(challenges, PropertiesEditingProvider.class); challengesBasePropertiesEditionComponent = (ChallengesBasePropertiesEditionComponent) provider.getPropertiesEditingComponent( editingContext, editing_mode, ChallengesBasePropertiesEditionComponent.BASE_PART, ChallengesBasePropertiesEditionComponent.class); addSubComponent(challengesBasePropertiesEditionComponent); provider = (PropertiesEditingProvider) editingContext.getAdapterFactory().adapt(challenges, PropertiesEditingProvider.class); challengesNotesPropertiesEditionComponent = (ChallengesNotesPropertiesEditionComponent) provider.getPropertiesEditingComponent( editingContext, editing_mode, ChallengesNotesPropertiesEditionComponent.NOTES_PART, ChallengesNotesPropertiesEditionComponent.class); addSubComponent(challengesNotesPropertiesEditionComponent); } }
/** * Parameterized constructor * * @param textSampleWithTwoTabs the EObject to edit */ public TextSampleWithTwoTabsPropertiesEditionComponent( PropertiesEditingContext editingContext, EObject textSampleWithTwoTabs, String editing_mode) { super(editingContext, editing_mode); if (textSampleWithTwoTabs instanceof TextSampleWithTwoTabs) { PropertiesEditingProvider provider = null; provider = (PropertiesEditingProvider) editingContext .getAdapterFactory() .adapt(textSampleWithTwoTabs, PropertiesEditingProvider.class); textSampleWithTwoTabsTextSampleFirstTabPropertiesEditionComponent = (TextSampleWithTwoTabsTextSampleFirstTabPropertiesEditionComponent) provider.getPropertiesEditingComponent( editingContext, editing_mode, TextSampleWithTwoTabsTextSampleFirstTabPropertiesEditionComponent .TEXTSAMPLEFIRSTTAB_PART, TextSampleWithTwoTabsTextSampleFirstTabPropertiesEditionComponent.class); addSubComponent(textSampleWithTwoTabsTextSampleFirstTabPropertiesEditionComponent); provider = (PropertiesEditingProvider) editingContext .getAdapterFactory() .adapt(textSampleWithTwoTabs, PropertiesEditingProvider.class); textSampleWithTwoTabsTextSampleSecondTabPropertiesEditionComponent = (TextSampleWithTwoTabsTextSampleSecondTabPropertiesEditionComponent) provider.getPropertiesEditingComponent( editingContext, editing_mode, TextSampleWithTwoTabsTextSampleSecondTabPropertiesEditionComponent .TEXTSAMPLESECONDTAB_PART, TextSampleWithTwoTabsTextSampleSecondTabPropertiesEditionComponent.class); addSubComponent(textSampleWithTwoTabsTextSampleSecondTabPropertiesEditionComponent); } }
/** * Parameterized constructor * * @param dTOPropertyBinding the EObject to edit */ public DTOPropertyBindingPropertiesEditionComponent( PropertiesEditingContext editingContext, EObject dTOPropertyBinding, String editing_mode) { super(editingContext, editing_mode); if (dTOPropertyBinding instanceof DTOPropertyBinding) { PropertiesEditingProvider provider = null; provider = (PropertiesEditingProvider) editingContext .getAdapterFactory() .adapt(dTOPropertyBinding, PropertiesEditingProvider.class); dTOPropertyBindingDTOPropertyBindingPropertiesEditionComponent = (DTOPropertyBindingDTOPropertyBindingPropertiesEditionComponent) provider.getPropertiesEditingComponent( editingContext, editing_mode, DTOPropertyBindingDTOPropertyBindingPropertiesEditionComponent .DTOPROPERTYBINDING_PART, DTOPropertyBindingDTOPropertyBindingPropertiesEditionComponent.class); addSubComponent(dTOPropertyBindingDTOPropertyBindingPropertiesEditionComponent); provider = (PropertiesEditingProvider) editingContext .getAdapterFactory() .adapt(dTOPropertyBinding, PropertiesEditingProvider.class); metadataCptPropertiesEditionComponent = (MetadataCptPropertiesEditionComponent) provider.getPropertiesEditingComponent( editingContext, editing_mode, MetadataCptPropertiesEditionComponent.METADATAS_PART, MetadataCptPropertiesEditionComponent.class); addSubComponent(metadataCptPropertiesEditionComponent); } }
/** * Parameterized constructor * * @param initialState the EObject to edit */ public InitialStatePropertiesEditionComponent( PropertiesEditingContext editingContext, EObject initialState, String editing_mode) { super(editingContext, editing_mode); if (initialState instanceof InitialState) { PropertiesEditingProvider provider = null; provider = (PropertiesEditingProvider) editingContext .getAdapterFactory() .adapt(initialState, PropertiesEditingProvider.class); initialStateInitialStatePropertiesEditionComponent = (InitialStateInitialStatePropertiesEditionComponent) provider.getPropertiesEditingComponent( editingContext, editing_mode, InitialStateInitialStatePropertiesEditionComponent.INITIALSTATE_PART, InitialStateInitialStatePropertiesEditionComponent.class); addSubComponent(initialStateInitialStatePropertiesEditionComponent); provider = (PropertiesEditingProvider) editingContext .getAdapterFactory() .adapt(initialState, PropertiesEditingProvider.class); metadataCptPropertiesEditionComponent = (MetadataCptPropertiesEditionComponent) provider.getPropertiesEditingComponent( editingContext, editing_mode, MetadataCptPropertiesEditionComponent.METADATAS_PART, MetadataCptPropertiesEditionComponent.class); addSubComponent(metadataCptPropertiesEditionComponent); } }