public class DeleteBorderNodes
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static java.util.logging.Logger |
logger
a Logger
|
| Constructor and Description |
|---|
DeleteBorderNodes() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isPossible(ChangeableInstance instance,
Node split,
Node join)
Checks if it is possible (concerning structural and state-based
correctness) to delete start and end nodes of the current block in the
given instance.
|
static boolean |
isPossible(ChangeableInstance instance,
Node split,
Node join,
CheckReport checkReport)
Checks if it is possible (concerning structural and state-based
correctness) to delete start and end nodes of the current block in the
given instance.
|
static boolean |
isPossible(Template template,
Node split,
Node join)
Checks if it is possible (concerning structural correctness) to delete
start and end nodes of the current block in the given template.
|
static boolean |
isPossible(Template template,
Node split,
Node join,
CheckReport checkReport)
Checks if it is possible (concerning structural correctness) to delete
start and end nodes of the current block in the given template.
|
static void |
performOperation(SessionToken session,
ChangeableInstance instance,
Node split,
Node join)
Deletes a split and its corresponding join node (border nodes) from the
given instance.
|
static void |
performOperation(SessionToken session,
ChangeableInstance instance,
Node split,
Node join,
UpdateManager updateManager)
Deletes a split and its corresponding join node (border nodes) from the
given instance (with updateManager).
|
static void |
performOperation(SessionToken session,
ChangeableTemplate template,
Node split,
Node join)
Deletes a split and its corresponding join node (border nodes) from the
given template.
|
static void |
performOperation(SessionToken session,
ChangeableTemplate template,
Node split,
Node join,
UpdateManager updateManager)
Deletes a split and its corresponding join node (border nodes) from the
given template (with updateManager).
|
protected static void |
performOperation(SessionToken session,
ChangePrimitives processGraph,
Node split,
Node join,
UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates
and changeable instances.
|
public static boolean isPossible(Template template, Node split, Node join)
template - the template where the block nodes should be deletedsplit - the beginning of the splitjoin - the end of itpublic static boolean isPossible(Template template, Node split, Node join, CheckReport checkReport)
template - the template where the block nodes should be deletedsplit - the beginning of the splitjoin - the end of itcheckReport - a checkReport object which can be filled with the reason why the
isPossible failed (i.e. in the case the method returns false), may
be nullpublic static boolean isPossible(ChangeableInstance instance, Node split, Node join)
instance - the changeable instance where the block nodes should be
deletedsplit - the beginning of the splitjoin - the end of itpublic static boolean isPossible(ChangeableInstance instance, Node split, Node join, CheckReport checkReport)
instance - the changeable instance where the block nodes should be
deletedsplit - the beginning of the splitjoin - the end of itcheckReport - a checkReport object which can be filled with the reason why the
isPossible failed (i.e. in the case the method returns false), may
be nullpublic static void performOperation(SessionToken session, ChangeableTemplate template, Node split, Node join)
session - The session which is used to check for access rights on this
method.template - The template where the method is performed on.split - the split nodejoin - the join nodepublic static void performOperation(SessionToken session, ChangeableTemplate template, Node split, Node join, UpdateManager updateManager)
session - The session which is used to check for access rights on this
method.template - The template where the method is performed on.split - the split nodejoin - the join nodeupdateManager - the manager who controls the update of the visual
graph components. (maybe null)public static void performOperation(SessionToken session, ChangeableInstance instance, Node split, Node join)
session - The session which is used to check for access rights on this
method.instance - The changeable instance where the method is performed on.split - the split nodejoin - the join nodepublic static void performOperation(SessionToken session, ChangeableInstance instance, Node split, Node join, UpdateManager updateManager)
session - The session which is used to check for access rights on this
method.instance - the changeable instance where the method is performed on.split - the split nodejoin - the join nodeupdateManager - the manager who controls the update of the visual
graph components. (maybe null)protected static void performOperation(SessionToken session, ChangePrimitives processGraph, Node split, Node join, UpdateManager updateManager)
session - The session which is used to check for access rights on this
method.processGraph - an instance of type ChangeableTemplate or
ChangeableInstancesplit - the split nodejoin - the join nodeupdateManager - the manager who controls the update of the visual
graph components. (maybe null)