|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--CH.ifa.draw.standard.AbstractTool
|
+--CH.ifa.draw.standard.CreationTool
|
+--org.objectweb.jac.ide.diagrams.CreationTool
|
+--org.objectweb.jac.ide.diagrams.ClassFigureCreationTool
| Field Summary |
| Fields inherited from class CH.ifa.draw.standard.AbstractTool |
fAnchorX, fAnchorY |
| Constructor Summary | |
ClassFigureCreationTool(CH.ifa.draw.framework.DrawingEditor newDrawingEditor,
DisplayContext context)
|
|
| Method Summary | |
void |
importClass(Class cl,
boolean importRelations)
Import class |
Collection |
importClassChoice()
|
void |
mouseDown(MouseEvent e,
int x,
int y)
Creates a new figure by cloning the prototype. |
void |
mouseUp(MouseEvent e,
int x,
int y)
|
| Methods inherited from class org.objectweb.jac.ide.diagrams.CreationTool |
isActive, mouseDrag |
| Methods inherited from class CH.ifa.draw.standard.CreationTool |
activate, createFigure, getAddedFigure, getAnchorPoint, getCreatedFigure |
| Methods inherited from class CH.ifa.draw.standard.AbstractTool |
addToolListener, checkUsable, createEventDispatcher, deactivate, drawing, editor, getEventDispatcher, isEnabled, isUsable, keyDown, mouseMove, removeToolListener, setEnabled, setUsable, view, viewCreated, viewDestroying, viewSelectionChanged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ClassFigureCreationTool(CH.ifa.draw.framework.DrawingEditor newDrawingEditor,
DisplayContext context)
| Method Detail |
public void mouseDown(MouseEvent e,
int x,
int y)
mouseDown in interface CH.ifa.draw.framework.ToolmouseDown in class CH.ifa.draw.standard.CreationTool
public void mouseUp(MouseEvent e,
int x,
int y)
mouseUp in interface CH.ifa.draw.framework.ToolmouseUp in class CH.ifa.draw.standard.CreationTool
public void importClass(Class cl,
boolean importRelations)
cl - the class to importimportRelations - wether to also import relations with
other classes on the diagrampublic Collection importClassChoice()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||