Class SimulinkLine
- java.lang.Object
-
- org.eclipse.epsilon.emc.simulink.model.element.SimulinkModelElement
-
- org.eclipse.epsilon.emc.simulink.model.element.SimulinkElement
-
- org.eclipse.epsilon.emc.simulink.model.element.SimulinkLine
-
- All Implemented Interfaces:
ISimulinkModelElement
,IModelElement
public class SimulinkLine extends SimulinkElement
-
-
Field Summary
-
Fields inherited from class org.eclipse.epsilon.emc.simulink.model.element.SimulinkElement
ADD_BLOCK_MAKE_NAME_UNIQUE_ON, GET_FULL_NAME, GET_HANDLE_PROPERTY, GET_SIMULINK_KIND, GET_SIMULINK_TYPE, handle, HANDLE
-
Fields inherited from class org.eclipse.epsilon.emc.simulink.model.element.SimulinkModelElement
engine, model, superType, type
-
-
Constructor Summary
Constructors Constructor Description SimulinkLine(SimulinkModel model, MatlabEngine engine, java.lang.Double handle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
deleteElementInModel()
SimulinkBlock
getDestination()
SimulinkPort
getDestinationPort()
SimulinkBlock
getSource()
SimulinkPort
getSourcePort()
-
Methods inherited from class org.eclipse.epsilon.emc.simulink.model.element.SimulinkElement
equals, getAllTypeNamesOf, getHandle, getPath, getProperty, setProperty, toString
-
Methods inherited from class org.eclipse.epsilon.emc.simulink.model.element.SimulinkModelElement
getEngine, getOwningModel, getSuperType, getType
-
-
-
-
Constructor Detail
-
SimulinkLine
public SimulinkLine(SimulinkModel model, MatlabEngine engine, java.lang.Double handle) throws MatlabRuntimeException
- Throws:
MatlabRuntimeException
-
-
Method Detail
-
getDestination
public SimulinkBlock getDestination() throws EolRuntimeException
- Throws:
EolRuntimeException
-
getSource
public SimulinkBlock getSource() throws EolRuntimeException
- Throws:
EolRuntimeException
-
getDestinationPort
public SimulinkPort getDestinationPort() throws EolRuntimeException
- Throws:
EolRuntimeException
-
getSourcePort
public SimulinkPort getSourcePort() throws EolRuntimeException
- Throws:
EolRuntimeException
-
deleteElementInModel
public boolean deleteElementInModel() throws EolRuntimeException
- Throws:
EolRuntimeException
-
-