edu.udo.cs.miningmart.gui.application
Class StepTransitionTool
java.lang.Object
org.jhotdraw.standard.AbstractTool
org.jhotdraw.standard.ConnectionTool
edu.udo.cs.miningmart.gui.application.StepTransitionTool
- All Implemented Interfaces:
- org.jhotdraw.framework.Tool
- public class StepTransitionTool
- extends org.jhotdraw.standard.ConnectionTool
A ConnectionTool for transitions.
- Version:
- $Id: StepTransitionTool.java,v 1.3 2006/04/11 14:10:16 euler Exp $
- Author:
- Daniel Hakenjos
Nested classes inherited from class org.jhotdraw.standard.ConnectionTool |
org.jhotdraw.standard.ConnectionTool.UndoActivity |
Nested classes inherited from class org.jhotdraw.standard.AbstractTool |
org.jhotdraw.standard.AbstractTool.EventDispatcher |
Constructor Summary |
StepTransitionTool(MiningMartApplication parent,
java.lang.Class modelClass,
java.lang.Class startType,
java.lang.String startName,
java.lang.Class endType,
java.lang.String endName)
|
Method Summary |
protected org.jhotdraw.framework.ConnectionFigure |
createConnection()
|
protected org.musoft.limo.model.ModelConnectionElement |
createElement(org.musoft.limo.model.Model model,
org.musoft.limo.model.ModelElement start,
org.musoft.limo.model.ModelElement end,
boolean existsTransition)
Creates new ModelConnectionElement. |
org.musoft.limo.model.ModelConnectionElement |
getElement()
Gets the ModelConnectionElement. |
void |
mouseDrag(java.awt.event.MouseEvent e,
int x,
int y)
|
void |
mouseUp(java.awt.event.MouseEvent e,
int x,
int y)
MouseUp
- create ModelElement
- and get the figure
|
Methods inherited from class org.jhotdraw.standard.ConnectionTool |
createUndoActivity, deactivate, findConnectableFigure, findConnection, findConnectionStart, findConnector, findSource, findTarget, getAddedFigure, getConnection, getEndConnector, getStartConnector, getTargetConnector, getTargetFigure, mouseDown, mouseMove, setAddedFigure, setConnection, setEndConnector, setStartConnector, setTargetConnector, setTargetFigure, trackConnectors |
Methods inherited from class org.jhotdraw.standard.AbstractTool |
activate, addToolListener, checkUsable, createEventDispatcher, createViewChangeListener, drawing, editor, getActiveDrawing, getActiveView, getAnchorX, getAnchorY, getEventDispatcher, getUndoActivity, isActive, isEnabled, isUsable, keyDown, removeToolListener, setAnchorX, setAnchorY, setEditor, setEnabled, setUndoActivity, setUsable, setView, view, viewCreated, viewDestroying, viewSelectionChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StepTransitionTool
public StepTransitionTool(MiningMartApplication parent,
java.lang.Class modelClass,
java.lang.Class startType,
java.lang.String startName,
java.lang.Class endType,
java.lang.String endName)
createConnection
protected org.jhotdraw.framework.ConnectionFigure createConnection()
- See Also:
CH.ifa.draw.standard.ConnectionTool#createConnection()
createElement
protected org.musoft.limo.model.ModelConnectionElement createElement(org.musoft.limo.model.Model model,
org.musoft.limo.model.ModelElement start,
org.musoft.limo.model.ModelElement end,
boolean existsTransition)
- Creates new ModelConnectionElement.
mouseUp
public void mouseUp(java.awt.event.MouseEvent e,
int x,
int y)
- MouseUp
- create ModelElement
- and get the figure
- See Also:
CH.ifa.draw.framework.Tool#mouseUp(java.awt.event.MouseEvent, int, int)
getElement
public org.musoft.limo.model.ModelConnectionElement getElement()
- Gets the ModelConnectionElement.
mouseDrag
public void mouseDrag(java.awt.event.MouseEvent e,
int x,
int y)
- See Also:
Application.followPointer(int,int)
Copyright © 2001-2005