Class SimulinkPort
- 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.SimulinkPort
-
- All Implemented Interfaces:
ISimulinkModelElement
,IModelElement
public class SimulinkPort 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 SimulinkPort(SimulinkModel model, MatlabEngine engine, Double handle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
deleteElementInModel()
Collection<ISimulinkModelElement>
getLines()
SimulinkLine
link(SimulinkPort other)
void
unlink(SimulinkPort other)
-
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
-
SimulinkPort
public SimulinkPort(SimulinkModel model, MatlabEngine engine, Double handle) throws MatlabRuntimeException
- Throws:
MatlabRuntimeException
-
-
Method Detail
-
getLines
public Collection<ISimulinkModelElement> getLines() throws EolRuntimeException
- Throws:
EolRuntimeException
-
link
public SimulinkLine link(SimulinkPort other) throws EolRuntimeException
- Throws:
EolRuntimeException
-
unlink
public void unlink(SimulinkPort other) throws EolRuntimeException
- Throws:
EolRuntimeException
-
deleteElementInModel
public boolean deleteElementInModel() throws EolRuntimeException
- Throws:
EolRuntimeException
-
-