Class PalladioDataTypeDialog

  • All Implemented Interfaces:
    IShellProvider

    public class PalladioDataTypeDialog
    extends DataTypeDialog
    The class initialize the DataTypeDialog with the Palladio Component Model specific characteristics.
    • Constructor Detail

      • PalladioDataTypeDialog

        public PalladioDataTypeDialog​(Shell parentShell,
                                      org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain)
        Instantiates a new palladio data type dialog.
        Parameters:
        parentShell - the parent shell
        editingDomain - the editing domain
      • PalladioDataTypeDialog

        public PalladioDataTypeDialog​(Shell parentShell,
                                      org.palladiosimulator.pcm.repository.DataType editeDataType)
        Instantiates a new palladio data type dialog.
        Parameters:
        parentShell - the parent shell
        editeDataType - the edite data type
    • Method Detail

      • setEditedResource

        public void setEditedResource​(String repositoryName)
        Description copied from class: DataTypeDialog
        Sets the edited resource.
        Specified by:
        setEditedResource in class DataTypeDialog
        Parameters:
        repositoryName - the new edited resource
      • getEditedDataType

        public org.palladiosimulator.pcm.repository.DataType getEditedDataType()
        Gets the edited data type.
        Returns:
        the edited data type
      • getCompositeDataType

        public org.palladiosimulator.pcm.repository.CompositeDataType getCompositeDataType()
        Gets the composite data type.
        Returns:
        the compositeDataType
      • setCompositeDataType

        public void setCompositeDataType​(org.palladiosimulator.pcm.repository.CompositeDataType compositeDataType)
        Sets the composite data type.
        Parameters:
        compositeDataType - the compositeDataType to set
      • getEditorContents

        public CreateEditorContents getEditorContents()
        Gets the editor contents.
        Returns:
        the editorContents
      • refresh

        public void refresh()
        Refresh.
      • getInnerDataType

        protected org.palladiosimulator.pcm.repository.DataType getInnerDataType()
        Gets the inner data type.
        Returns:
        the inner data type
      • getEditedRepository

        protected org.palladiosimulator.pcm.repository.Repository getEditedRepository()
        Gets the edited repository.
        Returns:
        the edited repository