public class LoadTool extends Tool implements FileDialogDelegate
application, objectContainer, view| Constructor and Description |
|---|
LoadTool(CutCADApplet application,
ObjectContainer container) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canStaySelected()
Return whether this tool can be selected for a longer time (such as the drawing tools or select tool)
or whether it is a click-and-forget-tool (such as the save, load or new tool).
|
void |
fileWasSelected(java.io.File theFile) |
java.lang.String |
getIconName()
Return the name of the SVG for the icon for the tool.
|
void |
toolWasSelected()
Will be called by the application when this tool was selected.
|
draw2D, getButton, mouseButtonPressed, mouseButtonReleased, mouseMoved, toolWasUnselectedpublic LoadTool(CutCADApplet application, ObjectContainer container)
public java.lang.String getIconName()
ToolgetIconName in class Toolpublic void toolWasSelected()
TooltoolWasSelected in class Toolpublic void fileWasSelected(java.io.File theFile)
fileWasSelected in interface FileDialogDelegatepublic boolean canStaySelected()
ToolcanStaySelected in class Tool