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 String
protected static final String
protected static final String
protected static final String
protected static final String
protected Double
protected static final String
Fields 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 TypeMethodDescriptionboolean
getPath()
getProperty
(String property) void
setProperty
(String property, Object value) toString()
Methods inherited from class org.eclipse.epsilon.emc.simulink.model.element.SimulinkModelElement
getEngine, getOwningModel, getSuperType, getType
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
equals
in interfaceISimulinkModelElement
- Overrides:
equals
in classObject
-
getAllTypeNamesOf
-
toString
-