tool.setToolCursor(ModelerGraphics.moveSplinePointCursor);
tool.setToolHintMsg(ModelerGraphics.getMsg("msg.spline"));
toolSupport.addToolDecisionTableEntry(tool, ParamConnection.class, 0);
// Text element -> drag
tool = new XDragTracker(toolSupport);
tool.setToolCursor(ModelerGraphics.moveTextCursor);
tool.setToolHintMsg(ModelerGraphics.getMsg("msg.textelement"));
toolSupport.addToolDecisionTableEntry(tool, TextElementFigure.class, 0);
// Horizontal line -> drag
tool = new XDragTracker(toolSupport);
tool.setToolCursor(ModelerGraphics.moveHLineCursor);
tool.setToolHintMsg(ModelerGraphics.getMsg("msg.line"));
toolSupport.addToolDecisionTableEntry(tool, HLineFigure.class, 0);
// Vertical line -> drag
tool = new XDragTracker(toolSupport);
tool.setToolCursor(ModelerGraphics.moveVLineCursor);
tool.setToolHintMsg(ModelerGraphics.getMsg("msg.line"));
toolSupport.addToolDecisionTableEntry(tool, VLineFigure.class, 0);
if (isModeler)
{
// Node -> drag
tool = new XDragTracker(toolSupport);
tool.setToolCursor(ModelerGraphics.moveNodeCursor);
tool.setToolHintMsg(ModelerGraphics.getMsg("msg.node"));
toolSupport.addToolDecisionTableEntry(tool, NodeFigure.class, 0);
}
else