public class Utils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SUPERBLOCK_SEP
separation string between Superblock and its child
|
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getChildLabel(java.lang.String fullLabel)
Extraction of child label from full block label.
|
static java.lang.String |
getInterfaceFunctionName(org.scilab.modules.xcos.block.BasicBlock block)
Returns Xcos Basic Block interface function.
|
static org.scilab.modules.xcos.graph.XcosDiagram |
getParentDiagram(org.scilab.modules.xcos.block.BasicBlock block) |
static java.lang.String |
getParentLabel(java.lang.String fullLabel)
Extraction of parent label (Superblock prefix) from full block label.
|
public static final java.lang.String SUPERBLOCK_SEP
public static java.lang.String getParentLabel(java.lang.String fullLabel)
fullLabel
- public static java.lang.String getChildLabel(java.lang.String fullLabel)
fullLabel
- public static java.lang.String getInterfaceFunctionName(org.scilab.modules.xcos.block.BasicBlock block)
block
- Xcos Basic Blockpublic static org.scilab.modules.xcos.graph.XcosDiagram getParentDiagram(org.scilab.modules.xcos.block.BasicBlock block)
Copyright 2019 LCM. All rights reserved.