Class SimulinkElement
java.lang.Object
org.eclipse.epsilon.emc.simulink.model.element.SimulinkModelElement
org.eclipse.epsilon.emc.simulink.model.element.SimulinkElement
- All Implemented Interfaces:
ISimulinkModelElement,IModelElement
- Direct Known Subclasses:
SimulinkBlock,SimulinkLine,SimulinkPort
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected Doubleprotected static final StringFields inherited from class org.eclipse.epsilon.emc.simulink.model.element.SimulinkModelElement
engine, model, superType, type -
Constructor Summary
ConstructorsConstructorDescriptionSimulinkElement(String path, SimulinkModel model, MatlabEngine engine) SimulinkElement(SimulinkModel model, MatlabEngine engine) SimulinkElement(SimulinkModel model, MatlabEngine engine, Double handle) SimulinkElement(SimulinkModel model, MatlabEngine engine, String type) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetPath()getProperty(String property) voidsetProperty(String property, Object value) toString()Methods inherited from class org.eclipse.epsilon.emc.simulink.model.element.SimulinkModelElement
getEngine, getOwningModel, getSuperType, getTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.epsilon.emc.simulink.model.element.ISimulinkModelElement
deleteElementInModel
-
Field Details
-
ADD_BLOCK_MAKE_NAME_UNIQUE_ON
- See Also:
-
HANDLE
- See Also:
-
GET_SIMULINK_KIND
- See Also:
-
GET_SIMULINK_TYPE
- See Also:
-
GET_FULL_NAME
- See Also:
-
GET_HANDLE_PROPERTY
- See Also:
-
handle
-
-
Constructor Details
-
SimulinkElement
public SimulinkElement(SimulinkModel model, MatlabEngine engine, String type) throws MatlabRuntimeException - Throws:
MatlabRuntimeException
-
SimulinkElement
public SimulinkElement(SimulinkModel model, MatlabEngine engine, Double handle) throws MatlabRuntimeException - Throws:
MatlabRuntimeException
-
SimulinkElement
public SimulinkElement(String path, SimulinkModel model, MatlabEngine engine) throws MatlabRuntimeException - Throws:
MatlabRuntimeException
-
SimulinkElement
-
-
Method Details
-
getProperty
- Throws:
EolRuntimeException
-
setProperty
- Throws:
EolRuntimeException
-
getHandle
-
getPath
- Returns:
- Identifier (Path)
-
equals
- Specified by:
equalsin interfaceISimulinkModelElement- Overrides:
equalsin classObject
-
getAllTypeNamesOf
-
toString
-