Class PipelineBlockModel
java.lang.Object
com.inductiveautomation.ignition.common.util.AbstractChangeable
com.inductiveautomation.ignition.alarming.designer.workspace.PipelineBlockModel
- All Implemented Interfaces:
- Changeable,- BlockDiagramModel
- 
Field SummaryFieldsFields inherited from class com.inductiveautomation.ignition.common.util.AbstractChangeablechangeEvent, listenerList
- 
Constructor SummaryConstructorsConstructorDescriptionPipelineBlockModel(DesignerContext context, ProjectResource resource) PipelineBlockModel(DesignerContext context, ResourcePath resourcePath) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidAdd a new block to this model.voidaddConnection(AnchorPoint origin, AnchorPoint terminus) Add a connection between two blocks.voidaddConnection(AnchorPoint origin, UUID destinationBlockId) voiddeleteBlock(Block block) Delete the given block from the model.voiddeleteConnection(AnchorPoint origin, AnchorPoint terminus) Remove a connection.findPrototype(String factoryId) Find the block with the given id, or null if no such block existsProvide an iterable collection for all the blocks in this modelIf this diagram logically supports the idea of a "connected set" of vertices, this is the ID of the block that is the root of the connected setThe name of the diagram will be used as the tab nameThe size of the block and connector diagram canvasThe resource path of the project resource this block model is contained inbooleanisConnectionValid(AnchorPoint addingStartAnchor, AnchorPoint addingEndAnchor) Check whether a connection between the given anchor points is semantically valid or notvoidsetDiagramSize(Dimension dim) Methods inherited from class com.inductiveautomation.ignition.common.util.AbstractChangeableaddChangeListener, fireStateChanged, getChangeListeners, removeChangeListenerMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.inductiveautomation.ignition.designer.blockandconnector.model.BlockDiagramModeladdChangeListener, removeChangeListener
- 
Field Details- 
SIZE
 
- 
- 
Constructor Details- 
PipelineBlockModelpublic PipelineBlockModel(DesignerContext context, ResourcePath resourcePath) throws SerializationException, ResourceNotFoundException 
- 
PipelineBlockModelpublic PipelineBlockModel(DesignerContext context, ProjectResource resource) throws SerializationException - Throws:
- SerializationException
 
 
- 
- 
Method Details- 
getPipeline
- 
getResourcePathDescription copied from interface:BlockDiagramModelThe resource path of the project resource this block model is contained in- Specified by:
- getResourcePathin interface- BlockDiagramModel
 
- 
getDiagramNameDescription copied from interface:BlockDiagramModelThe name of the diagram will be used as the tab name- Specified by:
- getDiagramNamein interface- BlockDiagramModel
 
- 
getDiagramSizeDescription copied from interface:BlockDiagramModelThe size of the block and connector diagram canvas- Specified by:
- getDiagramSizein interface- BlockDiagramModel
 
- 
setDiagramSize- Specified by:
- setDiagramSizein interface- BlockDiagramModel
 
- 
getBlockDescription copied from interface:BlockDiagramModelFind the block with the given id, or null if no such block exists- Specified by:
- getBlockin interface- BlockDiagramModel
 
- 
getConnectedSetRootDescription copied from interface:BlockDiagramModelIf this diagram logically supports the idea of a "connected set" of vertices, this is the ID of the block that is the root of the connected set- Specified by:
- getConnectedSetRootin interface- BlockDiagramModel
 
- 
isConnectionValidDescription copied from interface:BlockDiagramModelCheck whether a connection between the given anchor points is semantically valid or not- Specified by:
- isConnectionValidin interface- BlockDiagramModel
 
- 
addBlockDescription copied from interface:BlockDiagramModelAdd a new block to this model. You must fire a change after this- Specified by:
- addBlockin interface- BlockDiagramModel
 
- 
deleteBlockDescription copied from interface:BlockDiagramModelDelete the given block from the model. You must fire a change after this- Specified by:
- deleteBlockin interface- BlockDiagramModel
 
- 
getBlocksDescription copied from interface:BlockDiagramModelProvide an iterable collection for all the blocks in this model- Specified by:
- getBlocksin interface- BlockDiagramModel
 
- 
findPrototype
- 
addConnectionDescription copied from interface:BlockDiagramModelAdd a connection between two blocks. You must fire a change after this- Specified by:
- addConnectionin interface- BlockDiagramModel
 
- 
addConnection
- 
deleteConnectionDescription copied from interface:BlockDiagramModelRemove a connection. You must fire a change after this.- Specified by:
- deleteConnectionin interface- BlockDiagramModel
 
- 
getConnections- Specified by:
- getConnectionsin interface- BlockDiagramModel
 
 
-