Class DFDCModificationUtil
- java.lang.Object
-
- org.palladiosimulator.dataflow.diagram.characterized.editor.sirius.util.modification.DFDCModificationUtil
-
public class DFDCModificationUtil extends Object
Utility class handling modification of existing dfds as well as creation of new (i.e., refining) ones.
-
-
Constructor Summary
Constructors Constructor Description DFDCModificationUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
createLeveledDFD(List<CharacterizedDataFlow> in, List<CharacterizedDataFlow> out, CharacterizedProcess p, org.palladiosimulator.dataflow.diagram.DataFlowDiagram.DataFlowDiagram oldDFD, org.palladiosimulator.dataflow.diagram.DataFlowDiagram.DataFlowDiagram newDFD, org.palladiosimulator.dataflow.diagram.DataFlowDiagram.DataFlowDiagramRefinement ref)
static void
deleteEdge(EObject self)
static void
deleteNode(EObject self)
static void
refineProcess(EObject newDFD, EObject p, org.palladiosimulator.dataflow.diagram.DataFlowDiagram.DataFlowDiagram oldDFD, org.palladiosimulator.dataflow.diagram.DataFlowDiagram.DataFlowDiagramRefinement ref)
-
-
-
Method Detail
-
deleteEdge
public static void deleteEdge(EObject self)
-
deleteNode
public static void deleteNode(EObject self)
-
refineProcess
public static void refineProcess(EObject newDFD, EObject p, org.palladiosimulator.dataflow.diagram.DataFlowDiagram.DataFlowDiagram oldDFD, org.palladiosimulator.dataflow.diagram.DataFlowDiagram.DataFlowDiagramRefinement ref)
- Parameters:
newDFD
- newly created dfdp
- to be refined processoldDFD
-ref
- current dfd refinement
-
createLeveledDFD
public static void createLeveledDFD(List<CharacterizedDataFlow> in, List<CharacterizedDataFlow> out, CharacterizedProcess p, org.palladiosimulator.dataflow.diagram.DataFlowDiagram.DataFlowDiagram oldDFD, org.palladiosimulator.dataflow.diagram.DataFlowDiagram.DataFlowDiagram newDFD, org.palladiosimulator.dataflow.diagram.DataFlowDiagram.DataFlowDiagramRefinement ref)
- Parameters:
in
- incoming characterized dataflows to pout
- outgoing characterized dataflows from pp
- to be refined processoldDFD
-newDFD
-ref
- current dfd refinement
-
-