public interface IModelComponentService
deployModelComponent(File, IProgressMonitor): deploy a model component from a file.removeModelComponent(IModelComponentDescriptor): remove a model component from the model.getModelComponents(): get the list of all model components deployed in the model.packageModelComponent(IArtifact, Set, File, IProgressMonitor): package a new model component file from a model.| Modifier and Type | Method and Description |
|---|---|
void |
deployModelComponent(File archive,
org.eclipse.core.runtime.IProgressMonitor monitor)
Deploy a model component in the model from the given file.
|
List<IModelComponentDescriptor> |
getModelComponents()
Get the list of all model components already deployed in the model.
|
void |
packageModelComponent(IArtifact mc,
Set<IPeerMdac> peerMdacs,
File targetFile,
org.eclipse.core.runtime.IProgressMonitor monitor)
Package a model component from the model into a file.
|
void |
removeModelComponent(IModelComponentDescriptor modelComponent)
Delete a deployed model component from the model.
|
void deployModelComponent(File archive, org.eclipse.core.runtime.IProgressMonitor monitor)
archive - the file containing the model component to deploy (usually ending with ".ramc").monitor - a monitor for deployment infos. Might be null.void removeModelComponent(IModelComponentDescriptor modelComponent)
modelComponent - The model component to remove.List<IModelComponentDescriptor> getModelComponents()
IModelComponentDescriptor. Must not be null.void packageModelComponent(IArtifact mc, Set<IPeerMdac> peerMdacs, File targetFile, org.eclipse.core.runtime.IProgressMonitor monitor)
mc - the model component to package.peerMdacs - a list of public interfaces from modules, indicating which module should add content into this model component.targetFile - the file to contain the model component (usually ending with ".ramc").monitor - a monitor for deployment infos. Might be null.