de.cau.cs.kieler.klots.util
Class NXTFirmwareFlasher
java.lang.Object
org.eclipse.jface.window.Window
org.eclipse.jface.window.ApplicationWindow
de.cau.cs.kieler.klots.util.NXTFirmwareFlasher
- All Implemented Interfaces:
- IRunnableContext, IShellProvider
public class NXTFirmwareFlasher
- extends ApplicationWindow
GUI application to write the leJOS Virtual Machine and Menu system to the NXT Flash.
This Eclipse SWT adapted implementation is based on Roger Glassey original Swing code
and on Andy Shaw original command line code.
- Rating

Fields inherited from class org.eclipse.jface.window.Window |
CANCEL, OK |
Methods inherited from class org.eclipse.jface.window.ApplicationWindow |
addCoolBar, addMenuBar, addStatusLine, addToolBar, canHandleShellCloseEvent, close, coolBarChildrenExist, createCoolBarControl, createCoolBarManager, createCoolBarManager2, createMenuManager, createStatusLine, createStatusLineManager, createToolBarControl, createToolBarManager, createToolBarManager2, createTrimWidgets, getCoolBarControl, getCoolBarManager, getCoolBarManager2, getFont, getLayout, getMenuBarManager, getSeperator1, getStatusLineManager, getSymbolicFontName, getToolBarControl, getToolBarManager, getToolBarManager2, run, setStatus, showTopSeperator, toolBarChildrenExist |
Methods inherited from class org.eclipse.jface.window.Window |
constrainShellSize, create, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getInitialLocation, getInitialSize, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, initializeBounds, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_WIDTH
public static final int DEFAULT_WIDTH
- See Also:
- Constant Field Values
DEFAULT_HEIGHT
public static final int DEFAULT_HEIGHT
- See Also:
- Constant Field Values
NXTFirmwareFlasher
public NXTFirmwareFlasher(Composite parent)
- Constructor.
- Parameters:
parent
-
run
public void run(Button button)
- Runs the application.
- Parameters:
button
-
configureShell
protected void configureShell(Shell shell)
- Configures the shell.
- Overrides:
configureShell
in class ApplicationWindow
- Parameters:
shell
- the shell
createContents
protected Control createContents(Composite parent)
- Creates the main window's contents.
- Overrides:
createContents
in class Window
- Parameters:
parent
- the main window
- Returns:
- Control