Class MdModelNewWizardPageComponent<M extends IMdObjectModel>

All Implemented Interfaces:
IComponent<M>, IEventChannel
Direct Known Subclasses:
MdTypedModelNewWizardPageComponent

public class MdModelNewWizardPageComponent<M extends IMdObjectModel> extends NewWizardPageComponent<M>
Component for wizard page that operates with MdObject fields.
  • Field Details

  • Constructor Details

    • MdModelNewWizardPageComponent

      public MdModelNewWizardPageComponent(IMdObjectAvailability mdObjectAvailability)
      Creates a new component.
      Parameters:
      mdObjectAvailability - the metadata object availability service, cannot be null
  • Method Details

    • setDefaultFocus

      public void setDefaultFocus()
      Description copied from class: NewWizardPageComponent
      Sets default focus on the page.
      Specified by:
      setDefaultFocus in class NewWizardPageComponent<M extends IMdObjectModel>
    • createComponents

      protected void createComponents()
      Description copied from class: Component
      Creates the child components of this component. Override it to fill a component with a child components.

      Method can be called multiple times.

      Overrides:
      createComponents in class Component<M extends IMdObjectModel,VoidParameterization>
    • attachToModel

      protected void attachToModel()
      Description copied from class: Component
      Attaches this component to the model. Override it to add some listeners to the model.
      Overrides:
      attachToModel in class Component<M extends IMdObjectModel,VoidParameterization>
    • detachFromModel

      protected void detachFromModel()
      Description copied from class: Component
      Detaches this component from the model. Override it to remove listeners from the model.
      Overrides:
      detachFromModel in class Component<M extends IMdObjectModel,VoidParameterization>
    • createParentComponent

      protected DtTextComponent createParentComponent()
      Creates configuration name field and embed it in page for displaying only.
      Returns:
      the component
    • createNameComponent

      protected DtTextComponent createNameComponent()
      Creates a MdObject name component and embed it in page.
      Returns:
      the name component
    • createSynonymComponent

      protected MultilanguageComponent createSynonymComponent()
      Creates a MdObject synonym component and embed it in page.
      Returns:
      the synonym component.
    • createCommentComponent

      protected DtTextComponent createCommentComponent()
      Creates a MdObject comment component and embed it in page.
      Returns:
      the comment component
    • disposeComponents

      protected void disposeComponents()
      Description copied from class: Component
      Disposes the child components. Override it to do some additional disposal operations specific to a component.
      Overrides:
      disposeComponents in class Component<M extends IMdObjectModel,VoidParameterization>
    • getTopObject

      protected org.eclipse.emf.ecore.EObject getTopObject(org.eclipse.emf.ecore.EObject object)
      Returns top Configuration object parent for the given model object.
      Parameters:
      object - the object to get top object for, cannot be null
      Returns:
      the top Configuration object parent for the given model object, never null