public class SimulinkDictionaryModel extends AbstractSimulinkModel implements ISimulinkDictionaryModelElement
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CREATE_FILE |
protected DictionaryModelOperationContributor |
dicOperationContributor |
protected MatlabHandleElement |
dictionaryHandle |
protected static String |
OPEN_FILE |
closeOnDispose, enableTryCatch, engine, engineJarPath, enginePoolSize, ENV_ENGINE_JAR_PATH, ENV_LIBRARY_PATH, ENV_MATLAB_PATH, file, libraryPath, matlabPath, openOnLoad, paths, PROPERTY_CLOSE_ON_DISPOSE, PROPERTY_CURRENT_SIMULINK_PROJECT, PROPERTY_ENABLE_TRY_CATCH, PROPERTY_ENGINE_JAR_PATH, PROPERTY_ENGINE_POOL_SIZE, PROPERTY_FILE, PROPERTY_LIBRARY_PATH, PROPERTY_MATLAB_PATH, PROPERTY_OPEN_ON_LOAD, PROPERTY_PATHS, PROPERTY_SIMULINK_PROJECT, PROPERTY_WORKING_DIR, simulinkProject, useCurrentProject, workingDirallContentsCache, kindCache, PROPERTY_CACHED, PROPERTY_CONCURRENT, typeCachealiases, ENV_PREFIX, name, PROPERTY_ALIASES, PROPERTY_NAME, PROPERTY_READONLOAD, PROPERTY_READONLY, PROPERTY_STOREONDISPOSAL, propertyGetter, propertySetter, readOnLoad, storeOnDisposal| Constructor and Description |
|---|
SimulinkDictionaryModel() |
addPath, addPath, disposeModel, getAllTypeNamesOf, getCacheKeyForType, getEngine, getEngineJarPath, getEnumerationValue, getFile, getLibraryPath, getMatlabPath, getPaths, getProject, getWorkingDir, getWorkspaceVariable, isCloseOnDispose, isEnableTryCatch, isLoaded, isOpenOnLoad, isUseCurrentProject, parseMatlabEngineVariable, resolvePaths, setCloseOnDispose, setEnableTryCatch, setEngine, setEngineJarPath, setFile, setLibraryPath, setMatlabPath, setOpenOnLoad, setProject, setProject, setUseCurrentProject, setWorkingDir, statement, statementWithResultaddToCache, allContents, clearCache, createInstance, deleteElement, dispose, getAllOfKind, getAllOfKindOrType, getAllOfType, initCaches, isCachingEnabled, isConcurrent, load, removeFromCache, setCachingEnabled, setConcurrent, wrapallInstances, createInstance, getAliases, getFullyQualifiedTypeNameOf, getMetamodel, getName, getPropertyGetter, getPropertySetter, getTransactionSupport, getTypeOf, isModelElement, isOfKind, isOfType, isPropertySet, isReadOnLoad, isStoredOnDisposal, knowsAboutProperty, load, load, setName, setReadOnLoad, setStoredOnDisposalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, getEngineallContents, close, createInstance, createInstance, deleteElement, dispose, getAliases, getAllOfKind, getAllOfType, getFullyQualifiedTypeNameOf, getMetamodel, getName, getPropertyGetter, getPropertySetter, getTransactionSupport, getTypeOf, isModelElement, isOfKind, isOfType, isPropertySet, isReadOnLoad, isStoredOnDisposal, knowsAboutProperty, load, load, load, setName, setReadOnLoad, setStoredOnDisposalprotected static final String CREATE_FILE
protected static final String OPEN_FILE
protected MatlabHandleElement dictionaryHandle
protected DictionaryModelOperationContributor dicOperationContributor
protected void loadModel()
throws EolModelLoadingException
loadModel in class AbstractSimulinkModelEolModelLoadingExceptionpublic void load(StringProperties properties, IRelativePathResolver resolver) throws EolModelLoadingException
load in interface IModelload in class AbstractSimulinkModelEolModelLoadingExceptionpublic String getTypeNameOf(Object instance)
IModelgetTypeNameOf in interface IModelinstance - The model object whose type is to be determined.public Object getElementById(String id)
getElementById in interface IModelpublic String getElementId(Object instance)
getElementId in interface IModelpublic void setElementId(Object instance, String newId)
setElementId in interface IModelpublic boolean owns(Object instance)
IModelowns in interface IModelowns in class AbstractSimulinkModelinstance - the Java object to test.public boolean isInstantiable(String type)
isInstantiable in interface IModelisInstantiable in class AbstractSimulinkModelprotected void closeMatlabModel()
closeMatlabModel in class AbstractSimulinkModelprotected Collection<ISimulinkModelElement> allContentsFromModel()
allContentsFromModel in class CachedModel<ISimulinkModelElement>protected Collection<ISimulinkModelElement> getAllOfTypeFromModel(String type) throws EolModelElementTypeNotFoundException
getAllOfTypeFromModel in class CachedModel<ISimulinkModelElement>EolModelElementTypeNotFoundExceptionprotected Collection<ISimulinkModelElement> getAllOfKindFromModel(String kind) throws EolModelElementTypeNotFoundException
getAllOfKindFromModel in class CachedModel<ISimulinkModelElement>EolModelElementTypeNotFoundExceptionprotected ISimulinkModelElement createInstanceInModel(String type) throws EolModelElementTypeNotFoundException, EolNotInstantiableModelElementTypeException
createInstanceInModel in class AbstractSimulinkModelEolModelElementTypeNotFoundExceptionEolNotInstantiableModelElementTypeExceptionprotected boolean deleteElementInModel(Object instance) throws EolRuntimeException
CachedModeldeleteElementInModel in class CachedModel<ISimulinkModelElement>EolRuntimeExceptionpublic IModel getOwningModel()
getOwningModel in interface IModelElementpublic Object getProperty(String property) throws EolRuntimeException
getProperty in interface ISimulinkModelElementEolRuntimeExceptionpublic void setProperty(String property, Object value) throws EolRuntimeException
setProperty in interface ISimulinkModelElementEolRuntimeExceptionpublic Collection<String> getAllTypeNamesOf()
getAllTypeNamesOf in interface ISimulinkModelElementpublic boolean deleteElementInModel()
throws EolRuntimeException
deleteElementInModel in interface ISimulinkModelElementEolRuntimeExceptionpublic String getType()
getType in interface ISimulinkModelElementpublic MatlabHandleElement getHandle()
getHandle in interface ISimulinkModelElementCopyright © 2020. All rights reserved.