com.rapidminer.gui
Class MainFrame

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Window
              extended by java.awt.Frame
                  extended by javax.swing.JFrame
                      extended by com.rapidminer.gui.MainFrame
All Implemented Interfaces:
java.awt.event.WindowListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants

public class MainFrame
extends javax.swing.JFrame
implements java.awt.event.WindowListener

The main component class of the RapidMiner GUI. The class holds a lot of Actions that can be used for the tool bar and for the menu bar. MainFrame has methods for handling the process (saving, opening, creating new). It keeps track of the state of the process and enables/disables buttons. It must be notified whenever the process changes and propagates this event to its children. Most of the code is enclosed within the Actions.

Author:
Ingo Mierswa
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JFrame
javax.swing.JFrame.AccessibleJFrame
 
Nested classes/interfaces inherited from class java.awt.Frame
java.awt.Frame.AccessibleAWTFrame
 
Nested classes/interfaces inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
 javax.swing.Action ANOVA_CALCULATOR_ACTION_24
           
 javax.swing.Action ANOVA_CALCULATOR_ACTION_32
           
 javax.swing.Action ATTRIBUTE_DESCRIPTION_FILE_WIZARD_24
           
 javax.swing.Action ATTRIBUTE_DESCRIPTION_FILE_WIZARD_32
           
 javax.swing.Action ATTRIBUTE_EDITOR_ACTION_24
           
 javax.swing.Action ATTRIBUTE_EDITOR_ACTION_32
           
 javax.swing.Action BOX_VIEW_24
           
 javax.swing.Action BOX_VIEW_32
           
 javax.swing.Action CHECK_FOR_JDBC_DRIVERS_ACTION_24
           
 javax.swing.Action CHECK_FOR_JDBC_DRIVERS_ACTION_32
           
 javax.swing.Action CHECK_FOR_UPDATES_ACTION_24
           
 javax.swing.Action CHECK_FOR_UPDATES_ACTION_32
           
static int EDIT_MODE
           
 javax.swing.Action EDIT_MODE_24
           
 javax.swing.Action EDIT_MODE_32
           
static java.lang.String EDIT_MODE_NAME
           
 javax.swing.Action EXIT_ACTION_24
           
 javax.swing.Action EXIT_ACTION_32
           
 javax.swing.Action EXPORT_ACTION_24
           
 javax.swing.Action EXPORT_ACTION_32
           
 javax.swing.Action MANAGE_BUILDING_BLOCKS_ACTION_24
           
 javax.swing.Action MANAGE_BUILDING_BLOCKS_ACTION_32
           
 javax.swing.Action MANAGE_TEMPLATES_ACTION_24
           
 javax.swing.Action MANAGE_TEMPLATES_ACTION_32
           
 javax.swing.Action NEW_ACTION_24
           
 javax.swing.Action NEW_ACTION_32
           
 javax.swing.Action OPEN_ACTION_24
           
 javax.swing.Action OPEN_ACTION_32
           
 javax.swing.Action PAGE_SETUP_ACTION_24
           
 javax.swing.Action PAGE_SETUP_ACTION_32
           
 javax.swing.Action PRINT_ACTION_24
           
 javax.swing.Action PRINT_ACTION_32
           
 javax.swing.Action PRINT_PREVIEW_ACTION_24
           
 javax.swing.Action PRINT_PREVIEW_ACTION_32
           
static java.lang.String PROPERTY_RAPIDMINER_GUI_ATTRIBUTEEDITOR_ROWLIMIT
          The property name for "Maximum number of examples to use for the attribute editor. -1 for no limit.
static java.lang.String PROPERTY_RAPIDMINER_GUI_BEEP_BREAKPOINT
          The property name for "Beep when breakpoint reached?
static java.lang.String PROPERTY_RAPIDMINER_GUI_BEEP_ERROR
          The property name for "Beep on error?
static java.lang.String PROPERTY_RAPIDMINER_GUI_BEEP_SUCCESS
          The property name for "Beep on process success?
static java.lang.String PROPERTY_RAPIDMINER_GUI_MESSAGEVIEWER_HIGHLIGHT_ERRORS
          The property name for "The color for errors in the message viewer.
static java.lang.String PROPERTY_RAPIDMINER_GUI_MESSAGEVIEWER_HIGHLIGHT_LOGSERVICE
          The property name for "The color for the logging service indicator in the message viewer.
static java.lang.String PROPERTY_RAPIDMINER_GUI_MESSAGEVIEWER_HIGHLIGHT_NOTES
          The property name for "The color for notes in the message viewer.
static java.lang.String PROPERTY_RAPIDMINER_GUI_MESSAGEVIEWER_HIGHLIGHT_WARNINGS
          The property name for "The color for warnings in the message viewer.
static java.lang.String PROPERTY_RAPIDMINER_GUI_MESSAGEVIEWER_ROWLIMIT
          The property name for "Limit number of displayed rows in the message viewer. -1 for no limit.
static java.lang.String PROPERTY_RAPIDMINER_GUI_PLOTTER_COLORS_CLASSLIMIT
          The property name for "Limit number of displayed classes for colorized plots. -1 for no limit.
static java.lang.String PROPERTY_RAPIDMINER_GUI_PLOTTER_LEGEND_CLASSLIMIT
          The property name for "Limit number of displayed classes plotter legends. -1 for no limit.
static java.lang.String PROPERTY_RAPIDMINER_GUI_PLOTTER_LEGEND_MAXCOLOR
          The property name for "The color for maximum values of the plotter legend.
static java.lang.String PROPERTY_RAPIDMINER_GUI_PLOTTER_LEGEND_MINCOLOR
          The property name for "The color for minimum values of the plotter legend.
static java.lang.String PROPERTY_RAPIDMINER_GUI_PLOTTER_MATRIXPLOT_SIZE
          The property name for "The pixel size of each plot in matrix plots.
static java.lang.String PROPERTY_RAPIDMINER_GUI_PLOTTER_ROWS_MAXIMUM
          The property name for "The maximum number of rows used for a plotter, using only a sample of this size if more rows are available.
static java.lang.String PROPERTY_RAPIDMINER_GUI_PROCESSINFO_SHOW
          The property name for "Shows process info screen after loading?
static java.lang.String PROPERTY_RAPIDMINER_GUI_SAVEDIALOG
          The property name for "Shows process info screen after loading?
static java.lang.String PROPERTY_RAPIDMINER_GUI_UNDOLIST_SIZE
          The property name for "Maximum number of states in the undo list.
 javax.swing.Action REDO_ACTION_24
           
 javax.swing.Action REDO_ACTION_32
           
 javax.swing.Action RESULT_HISTORY_24
           
 javax.swing.Action RESULT_HISTORY_32
           
static int RESULTS_MODE
           
 javax.swing.Action RESULTS_MODE_24
           
 javax.swing.Action RESULTS_MODE_32
           
static java.lang.String RESULTS_MODE_NAME
           
 RunResumeAction RUN_RESUME_ACTION_24
           
 RunResumeAction RUN_RESUME_ACTION_32
           
 javax.swing.Action SAVE_ACTION_24
           
 javax.swing.Action SAVE_ACTION_32
           
 javax.swing.Action SAVE_AS_ACTION_24
           
 javax.swing.Action SAVE_AS_ACTION_32
           
 javax.swing.Action SAVE_AS_TEMPLATE_ACTION_24
           
 javax.swing.Action SAVE_AS_TEMPLATE_ACTION_32
           
 javax.swing.Action SETTINGS_ACTION_24
           
 javax.swing.Action SETTINGS_ACTION_32
           
 javax.swing.Action STOP_ACTION_24
           
 javax.swing.Action STOP_ACTION_32
           
 javax.swing.Action SWITCH_WORKSPACE_24
           
 javax.swing.Action SWITCH_WORKSPACE_32
           
static java.lang.String TITLE
          The title of the frame.
 javax.swing.Action TOGGLE_EXPERT_MODE_ACTION_24
           
 javax.swing.Action TOGGLE_EXPERT_MODE_ACTION_32
           
 javax.swing.JCheckBoxMenuItem TOGGLE_LOGGING_VIEWER
           
 javax.swing.JCheckBoxMenuItem TOGGLE_SYSTEM_MONITOR
           
 javax.swing.Action TUTORIAL_ACTION_24
           
 javax.swing.Action TUTORIAL_ACTION_32
           
 javax.swing.Action UNDO_ACTION_24
           
 javax.swing.Action UNDO_ACTION_32
           
 javax.swing.Action VALIDATE_ACTION_24
           
 javax.swing.Action VALIDATE_ACTION_32
           
static int WELCOME_MODE
           
static java.lang.String WELCOME_MODE_NAME
           
 javax.swing.Action WIZARD_ACTION_24
           
 javax.swing.Action WIZARD_ACTION_32
           
 
Fields inherited from class javax.swing.JFrame
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
MainFrame()
          Creates a new main frame containing the RapidMiner GUI.
 
Method Summary
 void addMenu(int menuIndex, javax.swing.JMenu menu)
           
 void addMenuItem(int menuIndex, int itemIndex, javax.swing.JMenuItem item)
           
 void addMenuSeparator(int menuIndex)
           
 void changeMode(int mode)
           
 void enableActions()
          Enables and disables all actions according to the current state (process running, operator selected...
 void exit()
           
 void export()
           
 java.lang.String getBaseName()
           
 int getEditorDividerLocation()
           
 Process getExperiment()
          Deprecated. Use getProcess() instead
 int getGroupSelectionDividerLocation()
           
 int getLoggingDividerLocation()
           
 int getMainDividerLocation()
           
 MainProcessEditor getMainProcessEditor()
           
 LoggingViewer getMessageViewer()
           
 OperatorTree getOperatorTree()
           
 Process getProcess()
           
 int getProcessState()
           
 OperatorPropertyTable getPropertyTable()
           
 ResultDisplay getResultDisplay()
           
 boolean isChanged()
          Returns true if the process has changed since the last save.
 boolean isTutorialMode()
           
 void newProcess()
          Creates a new process.
 void notifyEditorsOfChange(Operator currentlySelected)
          Notifies the main editor of the change of the currently selected operator.
 void open()
           
 void open(java.io.File file)
           
 void open(java.io.File file, boolean showInfo)
           
 void pageSetup()
           
 void print()
           
 void printPreview()
           
 void processChanged()
          Must be called when the process changed (such that is different from the process before).
protected  java.lang.Object readResolve()
           
 void redo()
           
 void removeMenu(int index)
          This methods provide plugins the possibility to modify the menus
 void removeMenuItem(int menuIndex, int itemIndex)
           
 void runProcess()
          Runs or resumes the current process.
 void save()
           
 void saveAs()
           
 void saveAsTemplate()
           
 void setDividerLocations(int mainH, int editorV, int loggingV, int groupSelectionV)
          The first one is for the horizontal main divider, the second for the vertical editor divider, for the logging divider, and the last one for the new operator group selection divider.
 void setExperiment(Process process)
          Deprecated. Use setProcess(Process, boolean) instead
 void setProcess(Process process, boolean newProcess)
          Sets a new process and registers the MainFrame listener.
 void setSystemMonitor(SystemMonitor newSystemMonitor)
           
 void setTutorialMode(boolean mode)
           
 void startTutorial()
           
 void stopProcess()
          Can be used to stop the currently running process.
 void toggleExpertMode()
           
 void toggleLoggingViewer(boolean show)
           
 void toggleSystemMonitor(boolean show)
           
 void undo()
           
 void updateRecentFileList()
          Updates the list of recently used files.
protected  void updateToggleExpertModeIcon()
           
 void windowActivated(java.awt.event.WindowEvent e)
           
 void windowClosed(java.awt.event.WindowEvent e)
           
 void windowClosing(java.awt.event.WindowEvent e)
           
 void windowDeactivated(java.awt.event.WindowEvent e)
           
 void windowDeiconified(java.awt.event.WindowEvent e)
           
 void windowIconified(java.awt.event.WindowEvent e)
           
 void windowOpened(java.awt.event.WindowEvent e)
           
 
Methods inherited from class javax.swing.JFrame
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
 
Methods inherited from class java.awt.Frame
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setVisible, show, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
 

Field Detail

PROPERTY_RAPIDMINER_GUI_PLOTTER_MATRIXPLOT_SIZE

public static final java.lang.String PROPERTY_RAPIDMINER_GUI_PLOTTER_MATRIXPLOT_SIZE
The property name for "The pixel size of each plot in matrix plots."

See Also:
Constant Field Values

PROPERTY_RAPIDMINER_GUI_PLOTTER_ROWS_MAXIMUM

public static final java.lang.String PROPERTY_RAPIDMINER_GUI_PLOTTER_ROWS_MAXIMUM
The property name for "The maximum number of rows used for a plotter, using only a sample of this size if more rows are available."

See Also:
Constant Field Values

PROPERTY_RAPIDMINER_GUI_PLOTTER_LEGEND_CLASSLIMIT

public static final java.lang.String PROPERTY_RAPIDMINER_GUI_PLOTTER_LEGEND_CLASSLIMIT
The property name for "Limit number of displayed classes plotter legends. -1 for no limit."

See Also:
Constant Field Values

PROPERTY_RAPIDMINER_GUI_PLOTTER_LEGEND_MINCOLOR

public static final java.lang.String PROPERTY_RAPIDMINER_GUI_PLOTTER_LEGEND_MINCOLOR
The property name for "The color for minimum values of the plotter legend."

See Also:
Constant Field Values

PROPERTY_RAPIDMINER_GUI_PLOTTER_LEGEND_MAXCOLOR

public static final java.lang.String PROPERTY_RAPIDMINER_GUI_PLOTTER_LEGEND_MAXCOLOR
The property name for "The color for maximum values of the plotter legend."

See Also:
Constant Field Values

PROPERTY_RAPIDMINER_GUI_PLOTTER_COLORS_CLASSLIMIT

public static final java.lang.String PROPERTY_RAPIDMINER_GUI_PLOTTER_COLORS_CLASSLIMIT
The property name for "Limit number of displayed classes for colorized plots. -1 for no limit."

See Also:
Constant Field Values

PROPERTY_RAPIDMINER_GUI_UNDOLIST_SIZE

public static final java.lang.String PROPERTY_RAPIDMINER_GUI_UNDOLIST_SIZE
The property name for "Maximum number of states in the undo list."

See Also:
Constant Field Values

PROPERTY_RAPIDMINER_GUI_ATTRIBUTEEDITOR_ROWLIMIT

public static final java.lang.String PROPERTY_RAPIDMINER_GUI_ATTRIBUTEEDITOR_ROWLIMIT
The property name for "Maximum number of examples to use for the attribute editor. -1 for no limit."

See Also:
Constant Field Values

PROPERTY_RAPIDMINER_GUI_BEEP_SUCCESS

public static final java.lang.String PROPERTY_RAPIDMINER_GUI_BEEP_SUCCESS
The property name for "Beep on process success?"

See Also:
Constant Field Values

PROPERTY_RAPIDMINER_GUI_BEEP_ERROR

public static final java.lang.String PROPERTY_RAPIDMINER_GUI_BEEP_ERROR
The property name for "Beep on error?"

See Also:
Constant Field Values

PROPERTY_RAPIDMINER_GUI_BEEP_BREAKPOINT

public static final java.lang.String PROPERTY_RAPIDMINER_GUI_BEEP_BREAKPOINT
The property name for "Beep when breakpoint reached?"

See Also:
Constant Field Values

PROPERTY_RAPIDMINER_GUI_MESSAGEVIEWER_ROWLIMIT

public static final java.lang.String PROPERTY_RAPIDMINER_GUI_MESSAGEVIEWER_ROWLIMIT
The property name for "Limit number of displayed rows in the message viewer. -1 for no limit."

See Also:
Constant Field Values

PROPERTY_RAPIDMINER_GUI_MESSAGEVIEWER_HIGHLIGHT_NOTES

public static final java.lang.String PROPERTY_RAPIDMINER_GUI_MESSAGEVIEWER_HIGHLIGHT_NOTES
The property name for "The color for notes in the message viewer."

See Also:
Constant Field Values

PROPERTY_RAPIDMINER_GUI_MESSAGEVIEWER_HIGHLIGHT_WARNINGS

public static final java.lang.String PROPERTY_RAPIDMINER_GUI_MESSAGEVIEWER_HIGHLIGHT_WARNINGS
The property name for "The color for warnings in the message viewer."

See Also:
Constant Field Values

PROPERTY_RAPIDMINER_GUI_MESSAGEVIEWER_HIGHLIGHT_ERRORS

public static final java.lang.String PROPERTY_RAPIDMINER_GUI_MESSAGEVIEWER_HIGHLIGHT_ERRORS
The property name for "The color for errors in the message viewer."

See Also:
Constant Field Values

PROPERTY_RAPIDMINER_GUI_MESSAGEVIEWER_HIGHLIGHT_LOGSERVICE

public static final java.lang.String PROPERTY_RAPIDMINER_GUI_MESSAGEVIEWER_HIGHLIGHT_LOGSERVICE
The property name for "The color for the logging service indicator in the message viewer."

See Also:
Constant Field Values

PROPERTY_RAPIDMINER_GUI_PROCESSINFO_SHOW

public static final java.lang.String PROPERTY_RAPIDMINER_GUI_PROCESSINFO_SHOW
The property name for "Shows process info screen after loading?"

See Also:
Constant Field Values

PROPERTY_RAPIDMINER_GUI_SAVEDIALOG

public static final java.lang.String PROPERTY_RAPIDMINER_GUI_SAVEDIALOG
The property name for "Shows process info screen after loading?"

See Also:
Constant Field Values

TITLE

public static final java.lang.String TITLE
The title of the frame.

See Also:
Constant Field Values

EDIT_MODE

public static final int EDIT_MODE
See Also:
Constant Field Values

RESULTS_MODE

public static final int RESULTS_MODE
See Also:
Constant Field Values

WELCOME_MODE

public static final int WELCOME_MODE
See Also:
Constant Field Values

EDIT_MODE_NAME

public static final java.lang.String EDIT_MODE_NAME
See Also:
Constant Field Values

RESULTS_MODE_NAME

public static final java.lang.String RESULTS_MODE_NAME
See Also:
Constant Field Values

WELCOME_MODE_NAME

public static final java.lang.String WELCOME_MODE_NAME
See Also:
Constant Field Values

NEW_ACTION_24

public final transient javax.swing.Action NEW_ACTION_24

NEW_ACTION_32

public final transient javax.swing.Action NEW_ACTION_32

OPEN_ACTION_24

public final transient javax.swing.Action OPEN_ACTION_24

OPEN_ACTION_32

public final transient javax.swing.Action OPEN_ACTION_32

SAVE_ACTION_24

public final transient javax.swing.Action SAVE_ACTION_24

SAVE_ACTION_32

public final transient javax.swing.Action SAVE_ACTION_32

SAVE_AS_ACTION_24

public final transient javax.swing.Action SAVE_AS_ACTION_24

SAVE_AS_ACTION_32

public final transient javax.swing.Action SAVE_AS_ACTION_32

SAVE_AS_TEMPLATE_ACTION_24

public final transient javax.swing.Action SAVE_AS_TEMPLATE_ACTION_24

SAVE_AS_TEMPLATE_ACTION_32

public final transient javax.swing.Action SAVE_AS_TEMPLATE_ACTION_32

MANAGE_TEMPLATES_ACTION_24

public final transient javax.swing.Action MANAGE_TEMPLATES_ACTION_24

MANAGE_TEMPLATES_ACTION_32

public final transient javax.swing.Action MANAGE_TEMPLATES_ACTION_32

MANAGE_BUILDING_BLOCKS_ACTION_24

public final transient javax.swing.Action MANAGE_BUILDING_BLOCKS_ACTION_24

MANAGE_BUILDING_BLOCKS_ACTION_32

public final transient javax.swing.Action MANAGE_BUILDING_BLOCKS_ACTION_32

PRINT_ACTION_24

public final transient javax.swing.Action PRINT_ACTION_24

PRINT_ACTION_32

public final transient javax.swing.Action PRINT_ACTION_32

PRINT_PREVIEW_ACTION_24

public final transient javax.swing.Action PRINT_PREVIEW_ACTION_24

PRINT_PREVIEW_ACTION_32

public final transient javax.swing.Action PRINT_PREVIEW_ACTION_32

PAGE_SETUP_ACTION_24

public final transient javax.swing.Action PAGE_SETUP_ACTION_24

PAGE_SETUP_ACTION_32

public final transient javax.swing.Action PAGE_SETUP_ACTION_32

EXPORT_ACTION_24

public final transient javax.swing.Action EXPORT_ACTION_24

EXPORT_ACTION_32

public final transient javax.swing.Action EXPORT_ACTION_32

EXIT_ACTION_24

public final transient javax.swing.Action EXIT_ACTION_24

EXIT_ACTION_32

public final transient javax.swing.Action EXIT_ACTION_32

RUN_RESUME_ACTION_24

public final transient RunResumeAction RUN_RESUME_ACTION_24

RUN_RESUME_ACTION_32

public final transient RunResumeAction RUN_RESUME_ACTION_32

STOP_ACTION_24

public final transient javax.swing.Action STOP_ACTION_24

STOP_ACTION_32

public final transient javax.swing.Action STOP_ACTION_32

VALIDATE_ACTION_24

public final transient javax.swing.Action VALIDATE_ACTION_24

VALIDATE_ACTION_32

public final transient javax.swing.Action VALIDATE_ACTION_32

WIZARD_ACTION_24

public final transient javax.swing.Action WIZARD_ACTION_24

WIZARD_ACTION_32

public final transient javax.swing.Action WIZARD_ACTION_32

SETTINGS_ACTION_24

public final transient javax.swing.Action SETTINGS_ACTION_24

SETTINGS_ACTION_32

public final transient javax.swing.Action SETTINGS_ACTION_32

TOGGLE_EXPERT_MODE_ACTION_24

public final transient javax.swing.Action TOGGLE_EXPERT_MODE_ACTION_24

TOGGLE_EXPERT_MODE_ACTION_32

public final transient javax.swing.Action TOGGLE_EXPERT_MODE_ACTION_32

TUTORIAL_ACTION_24

public final transient javax.swing.Action TUTORIAL_ACTION_24

TUTORIAL_ACTION_32

public final transient javax.swing.Action TUTORIAL_ACTION_32

UNDO_ACTION_24

public final transient javax.swing.Action UNDO_ACTION_24

UNDO_ACTION_32

public final transient javax.swing.Action UNDO_ACTION_32

REDO_ACTION_24

public final transient javax.swing.Action REDO_ACTION_24

REDO_ACTION_32

public final transient javax.swing.Action REDO_ACTION_32

ATTRIBUTE_EDITOR_ACTION_24

public final transient javax.swing.Action ATTRIBUTE_EDITOR_ACTION_24

ATTRIBUTE_EDITOR_ACTION_32

public final transient javax.swing.Action ATTRIBUTE_EDITOR_ACTION_32

ANOVA_CALCULATOR_ACTION_24

public final transient javax.swing.Action ANOVA_CALCULATOR_ACTION_24

ANOVA_CALCULATOR_ACTION_32

public final transient javax.swing.Action ANOVA_CALCULATOR_ACTION_32

CHECK_FOR_UPDATES_ACTION_24

public final transient javax.swing.Action CHECK_FOR_UPDATES_ACTION_24

CHECK_FOR_UPDATES_ACTION_32

public final transient javax.swing.Action CHECK_FOR_UPDATES_ACTION_32

CHECK_FOR_JDBC_DRIVERS_ACTION_24

public final transient javax.swing.Action CHECK_FOR_JDBC_DRIVERS_ACTION_24

CHECK_FOR_JDBC_DRIVERS_ACTION_32

public final transient javax.swing.Action CHECK_FOR_JDBC_DRIVERS_ACTION_32

EDIT_MODE_24

public final transient javax.swing.Action EDIT_MODE_24

EDIT_MODE_32

public final transient javax.swing.Action EDIT_MODE_32

RESULTS_MODE_24

public final transient javax.swing.Action RESULTS_MODE_24

RESULTS_MODE_32

public final transient javax.swing.Action RESULTS_MODE_32

BOX_VIEW_24

public final transient javax.swing.Action BOX_VIEW_24

BOX_VIEW_32

public final transient javax.swing.Action BOX_VIEW_32

RESULT_HISTORY_24

public final transient javax.swing.Action RESULT_HISTORY_24

RESULT_HISTORY_32

public final transient javax.swing.Action RESULT_HISTORY_32

ATTRIBUTE_DESCRIPTION_FILE_WIZARD_24

public final transient javax.swing.Action ATTRIBUTE_DESCRIPTION_FILE_WIZARD_24

ATTRIBUTE_DESCRIPTION_FILE_WIZARD_32

public final transient javax.swing.Action ATTRIBUTE_DESCRIPTION_FILE_WIZARD_32

SWITCH_WORKSPACE_24

public final transient javax.swing.Action SWITCH_WORKSPACE_24

SWITCH_WORKSPACE_32

public final transient javax.swing.Action SWITCH_WORKSPACE_32

TOGGLE_LOGGING_VIEWER

public final javax.swing.JCheckBoxMenuItem TOGGLE_LOGGING_VIEWER

TOGGLE_SYSTEM_MONITOR

public final javax.swing.JCheckBoxMenuItem TOGGLE_SYSTEM_MONITOR
Constructor Detail

MainFrame

public MainFrame()
Creates a new main frame containing the RapidMiner GUI.

Method Detail

readResolve

protected java.lang.Object readResolve()

changeMode

public void changeMode(int mode)

startTutorial

public void startTutorial()

setTutorialMode

public void setTutorialMode(boolean mode)

isTutorialMode

public boolean isTutorialMode()

setSystemMonitor

public void setSystemMonitor(SystemMonitor newSystemMonitor)

print

public void print()

printPreview

public void printPreview()

pageSetup

public void pageSetup()

export

public void export()

getEditorDividerLocation

public int getEditorDividerLocation()

getGroupSelectionDividerLocation

public int getGroupSelectionDividerLocation()

getMainDividerLocation

public int getMainDividerLocation()

getLoggingDividerLocation

public int getLoggingDividerLocation()

setDividerLocations

public void setDividerLocations(int mainH,
                                int editorV,
                                int loggingV,
                                int groupSelectionV)
The first one is for the horizontal main divider, the second for the vertical editor divider, for the logging divider, and the last one for the new operator group selection divider.


toggleLoggingViewer

public void toggleLoggingViewer(boolean show)

toggleSystemMonitor

public void toggleSystemMonitor(boolean show)

toggleExpertMode

public void toggleExpertMode()

updateToggleExpertModeIcon

protected void updateToggleExpertModeIcon()

getPropertyTable

public OperatorPropertyTable getPropertyTable()

getMessageViewer

public LoggingViewer getMessageViewer()

getOperatorTree

public OperatorTree getOperatorTree()

getMainProcessEditor

public MainProcessEditor getMainProcessEditor()

getResultDisplay

public ResultDisplay getResultDisplay()

getProcessState

public int getProcessState()

getExperiment

@Deprecated
public final Process getExperiment()
Deprecated. Use getProcess() instead


getProcess

public final Process getProcess()

newProcess

public void newProcess()
Creates a new process.


runProcess

public void runProcess()
Runs or resumes the current process.


stopProcess

public void stopProcess()
Can be used to stop the currently running process. Please note that the ProcessThread will still be running in the background until the current operator is finished.


setExperiment

@Deprecated
public void setExperiment(Process process)
Deprecated. Use setProcess(Process, boolean) instead

Sets a new process and registers the MainFrame listener. Please note that this method does not invoke processChanged(). Do so if necessary.


setProcess

public void setProcess(Process process,
                       boolean newProcess)
Sets a new process and registers the MainFrame listener. Please note that this method only invoke processChanged() if the parameter newProcess is true.


processChanged

public void processChanged()
Must be called when the process changed (such that is different from the process before). Enables the correct actions if the process can be saved to disk.


isChanged

public boolean isChanged()
Returns true if the process has changed since the last save.


notifyEditorsOfChange

public void notifyEditorsOfChange(Operator currentlySelected)
Notifies the main editor of the change of the currently selected operator.


undo

public void undo()

redo

public void redo()

getBaseName

public java.lang.String getBaseName()

open

public void open()

open

public void open(java.io.File file)

open

public void open(java.io.File file,
                 boolean showInfo)

save

public void save()

saveAs

public void saveAs()

saveAsTemplate

public void saveAsTemplate()

exit

public void exit()

updateRecentFileList

public void updateRecentFileList()
Updates the list of recently used files.


windowOpened

public void windowOpened(java.awt.event.WindowEvent e)
Specified by:
windowOpened in interface java.awt.event.WindowListener

windowClosing

public void windowClosing(java.awt.event.WindowEvent e)
Specified by:
windowClosing in interface java.awt.event.WindowListener

windowClosed

public void windowClosed(java.awt.event.WindowEvent e)
Specified by:
windowClosed in interface java.awt.event.WindowListener

windowIconified

public void windowIconified(java.awt.event.WindowEvent e)
Specified by:
windowIconified in interface java.awt.event.WindowListener

windowDeiconified

public void windowDeiconified(java.awt.event.WindowEvent e)
Specified by:
windowDeiconified in interface java.awt.event.WindowListener

windowActivated

public void windowActivated(java.awt.event.WindowEvent e)
Specified by:
windowActivated in interface java.awt.event.WindowListener

windowDeactivated

public void windowDeactivated(java.awt.event.WindowEvent e)
Specified by:
windowDeactivated in interface java.awt.event.WindowListener

enableActions

public void enableActions()
Enables and disables all actions according to the current state (process running, operator selected...


removeMenu

public void removeMenu(int index)
This methods provide plugins the possibility to modify the menus


removeMenuItem

public void removeMenuItem(int menuIndex,
                           int itemIndex)

addMenuItem

public void addMenuItem(int menuIndex,
                        int itemIndex,
                        javax.swing.JMenuItem item)

addMenu

public void addMenu(int menuIndex,
                    javax.swing.JMenu menu)

addMenuSeparator

public void addMenuSeparator(int menuIndex)


Copyright © 2001-2009 by Rapid-I