Class DataTypeCommand
java.lang.Object
org.palladiosimulator.editors.commons.dialogs.datatype.DataTypeCommand
The class place the methods for the production of new DataType.
-
Constructor Summary
ConstructorDescriptionDataTypeCommand
(org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain) Instantiates a new data type command. -
Method Summary
Modifier and TypeMethodDescriptionvoid
createCollectionDataType
(org.palladiosimulator.pcm.repository.Repository repository, org.palladiosimulator.pcm.repository.DataType dataType, org.palladiosimulator.pcm.repository.DataType innerDataType, String entityName) Creates the collection data type.void
createCompositeDataType
(org.palladiosimulator.pcm.repository.Repository repository, org.palladiosimulator.pcm.repository.CompositeDataType compositeDataType, String entityName) Creates the composite data type.
-
Constructor Details
-
DataTypeCommand
public DataTypeCommand(org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain) Instantiates a new data type command.- Parameters:
editingDomain
- the editing domain
-
-
Method Details
-
createCollectionDataType
public void createCollectionDataType(org.palladiosimulator.pcm.repository.Repository repository, org.palladiosimulator.pcm.repository.DataType dataType, org.palladiosimulator.pcm.repository.DataType innerDataType, String entityName) Creates the collection data type.- Parameters:
repository
- the repositorydataType
- the data typeinnerDataType
- the inner data typeentityName
- the entity name
-
createCompositeDataType
public void createCompositeDataType(org.palladiosimulator.pcm.repository.Repository repository, org.palladiosimulator.pcm.repository.CompositeDataType compositeDataType, String entityName) Creates the composite data type.- Parameters:
repository
- the repositorycompositeDataType
- the composite data typeentityName
- the entity name
-