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.ApplicationFrame
                          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 ApplicationFrame
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, Simon Fischer, Sebastian Land
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
           
 javax.swing.Action AUTO_WIRE
           
 javax.swing.Action AUTO_WIRE_RECURSIVELY
           
 javax.swing.Action CHECK_FOR_JDBC_DRIVERS_ACTION
           
static com.vlsolutions.swing.docking.DockGroup DOCK_GROUP_RESULTS
           
static com.vlsolutions.swing.docking.DockGroup DOCK_GROUP_ROOT
           
static int EDIT_MODE
           
 javax.swing.Action EXIT_ACTION
           
 javax.swing.Action EXPORT_ACTION
           
 javax.swing.Action EXPORT_PROCESS_ACTION
           
 javax.swing.Action IMPORT_ACCESS_FILE_ACTION
           
 javax.swing.Action IMPORT_CSV_FILE_ACTION
           
 javax.swing.Action IMPORT_DATABASE_TABLE_ACTION
           
 javax.swing.Action IMPORT_EXCEL_FILE_ACTION
           
 javax.swing.Action IMPORT_PROCESS_ACTION
           
 javax.swing.Action MANAGE_BUILDING_BLOCKS_ACTION
           
 javax.swing.Action MANAGE_DB_CONNECTIONS_ACTION
           
 javax.swing.Action MANAGE_TEMPLATES_ACTION
           
 javax.swing.Action NEW_ACTION
           
 javax.swing.Action NEW_PERSPECTIVE_ACTION
           
 javax.swing.Action OPEN_ACTION
           
 javax.swing.Action OPEN_TEMPLATE_ACTION
           
 javax.swing.Action PAGE_SETUP_ACTION
           
 javax.swing.Action PAUSE_ACTION
           
 javax.swing.Action PRINT_ACTION
           
 javax.swing.Action PRINT_PREVIEW_ACTION
           
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_AUTO_SWITCH_TO_RESULTVIEW
          The property determining whether or not to switch to result view when results are produced.
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_LOG_LEVEL
          Log level of the LoggingViewer.
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_RESULT_DISPLAY_TYPE
          Determines whether we build a TabbedResultDisplay or a DockableResultDisplay.
static java.lang.String PROPERTY_RAPIDMINER_GUI_SAVE_BEFORE_RUN
           
static java.lang.String PROPERTY_RAPIDMINER_GUI_SAVE_ON_PROCESS_CREATION
           
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
           
static int RESULTS_MODE
           
 javax.swing.Action REWIRE
           
 javax.swing.Action REWIRE_RECURSIVELY
           
 RunAction RUN_ACTION
           
 javax.swing.Action RUN_REMOTE_ACTION
           
 SaveAction SAVE_ACTION
           
 javax.swing.Action SAVE_AS_ACTION
           
 javax.swing.Action SAVE_AS_TEMPLATE_ACTION
           
 javax.swing.Action SETTINGS_ACTION
           
 javax.swing.Action STOP_ACTION
           
static java.lang.String TITLE
          The title of the frame.
 ToggleAction TOGGLE_EXPERT_MODE_ACTION
           
 javax.swing.Action TUTORIAL_ACTION
           
 javax.swing.Action UNDO_ACTION
           
 javax.swing.Action VALIDATE_ACTION
           
 ToggleAction VALIDATE_AUTOMATICALLY_ACTION
           
static int WELCOME_MODE
           
 
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.
MainFrame(java.lang.String initialPerspective)
           
 
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)
          Deprecated. Use getPerspectives() and ApplicationPerspectives.showPerspective(String)
 boolean close()
           
 void exit(boolean relaunch)
           
 void fireProcessUpdated()
           
 Actions getActions()
           
 com.vlsolutions.swing.docking.DockingDesktop getDockingDesktop()
           
 javax.swing.JMenu getEditMenu()
          This returns the edit menu to change menu entries
 Process getExperiment()
          Deprecated. Use getProcess() instead
 javax.swing.JMenu getFileMenu()
          This returns the file menu to change menu entries
 Operator getFirstSelectedOperator()
           
 javax.swing.JMenu getHelpMenu()
          This returns the help menu to change menu entries
 javax.swing.JMenuBar getMainMenuBar()
          This returns the complete menu bar to insert additional menus
 LoggingViewer getMessageViewer()
           
 NewOperatorEditor getNewOperatorEditor()
           
 OperatorDocViewer getOperatorDocViewer()
           
 OperatorTree getOperatorTree()
           
 Perspectives getPerspectives()
           
 Process getProcess()
           
 ProcessContextProcessEditor getProcessContextEditor()
           
 javax.swing.JMenu getProcessMenu()
          This returns the process menu to change menu entries
 ProcessPanel getProcessPanel()
           
 int getProcessState()
           
 OperatorPropertyPanel getPropertyPanel()
           
 ResultDisplay getResultDisplay()
           
 java.util.List<Operator> getSelectedOperators()
           
 javax.swing.JMenu getToolsMenu()
          This returns the tools menu to change menu entries
 java.awt.Component getXMLEditor()
           
 void handleBrokenProxessXML(ProcessLocation location, java.lang.String xml, java.lang.Exception e)
           
 boolean isChanged()
          Returns true if the process has changed since the last save.
 boolean isTutorialMode()
           
 void newProcess()
          Creates a new process.
 void pauseProcess()
           
 void processChanged()
          Deprecated. this method is no longer necessary (and does nothing) since the MainFrame observes the process using an Observer pattern. See processObserver.
 void processHasBeenSaved()
           
 void redo()
           
 void registerDockable(com.vlsolutions.swing.docking.Dockable dockable)
           
 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 saveAsTemplate()
           
 void selectOperator(Operator currentlySelected)
           
 void selectOperators(java.util.List<Operator> currentlySelected)
           
 void setExperiment(Process process)
          Deprecated. Use setProcess(Process, boolean) instead
 void setExpertMode(boolean expert)
           
 void setOpenedProcess(Process process, boolean showInfo, java.lang.String sourceName)
           
 void setProcess(Process process, boolean newProcess)
          Sets a new process and registers the MainFrame listener.
 void setTutorialMode(boolean mode)
           
 void startTutorial()
           
 void stopProcess()
          Can be used to stop the currently running process.
 void undo()
           
 void updateRecentFileList()
          Updates the list of recently used files.
 void validateProcess(boolean force)
           
 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 com.rapidminer.gui.ApplicationFrame
getApplicationFrame, getStatusBar
 
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, paint, 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, 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_SAVE_BEFORE_RUN

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

PROPERTY_RAPIDMINER_GUI_SAVE_ON_PROCESS_CREATION

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

PROPERTY_RAPIDMINER_GUI_AUTO_SWITCH_TO_RESULTVIEW

public static final java.lang.String PROPERTY_RAPIDMINER_GUI_AUTO_SWITCH_TO_RESULTVIEW
The property determining whether or not to switch to result view when results are produced.

See Also:
Constant Field Values

PROPERTY_RAPIDMINER_GUI_RESULT_DISPLAY_TYPE

public static final java.lang.String PROPERTY_RAPIDMINER_GUI_RESULT_DISPLAY_TYPE
Determines whether we build a TabbedResultDisplay or a DockableResultDisplay.

See Also:
Constant Field Values

PROPERTY_RAPIDMINER_GUI_LOG_LEVEL

public static final java.lang.String PROPERTY_RAPIDMINER_GUI_LOG_LEVEL
Log level of the LoggingViewer.

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

AUTO_WIRE

public final transient javax.swing.Action AUTO_WIRE

AUTO_WIRE_RECURSIVELY

public final transient javax.swing.Action AUTO_WIRE_RECURSIVELY

REWIRE

public final transient javax.swing.Action REWIRE

REWIRE_RECURSIVELY

public final transient javax.swing.Action REWIRE_RECURSIVELY

NEW_ACTION

public final transient javax.swing.Action NEW_ACTION

OPEN_ACTION

public final transient javax.swing.Action OPEN_ACTION

SAVE_ACTION

public final transient SaveAction SAVE_ACTION

SAVE_AS_ACTION

public final transient javax.swing.Action SAVE_AS_ACTION

SAVE_AS_TEMPLATE_ACTION

public final transient javax.swing.Action SAVE_AS_TEMPLATE_ACTION

MANAGE_TEMPLATES_ACTION

public final transient javax.swing.Action MANAGE_TEMPLATES_ACTION

MANAGE_BUILDING_BLOCKS_ACTION

public final transient javax.swing.Action MANAGE_BUILDING_BLOCKS_ACTION

PRINT_ACTION

public final transient javax.swing.Action PRINT_ACTION

PRINT_PREVIEW_ACTION

public final transient javax.swing.Action PRINT_PREVIEW_ACTION

PAGE_SETUP_ACTION

public final transient javax.swing.Action PAGE_SETUP_ACTION

IMPORT_CSV_FILE_ACTION

public final transient javax.swing.Action IMPORT_CSV_FILE_ACTION

IMPORT_EXCEL_FILE_ACTION

public final transient javax.swing.Action IMPORT_EXCEL_FILE_ACTION

IMPORT_ACCESS_FILE_ACTION

public final transient javax.swing.Action IMPORT_ACCESS_FILE_ACTION

IMPORT_DATABASE_TABLE_ACTION

public final transient javax.swing.Action IMPORT_DATABASE_TABLE_ACTION

IMPORT_PROCESS_ACTION

public final transient javax.swing.Action IMPORT_PROCESS_ACTION

EXPORT_PROCESS_ACTION

public final transient javax.swing.Action EXPORT_PROCESS_ACTION

EXPORT_ACTION

public final transient javax.swing.Action EXPORT_ACTION

EXIT_ACTION

public final transient javax.swing.Action EXIT_ACTION

RUN_ACTION

public final transient RunAction RUN_ACTION

PAUSE_ACTION

public final transient javax.swing.Action PAUSE_ACTION

STOP_ACTION

public final transient javax.swing.Action STOP_ACTION

RUN_REMOTE_ACTION

public final transient javax.swing.Action RUN_REMOTE_ACTION

VALIDATE_ACTION

public final transient javax.swing.Action VALIDATE_ACTION

VALIDATE_AUTOMATICALLY_ACTION

public final transient ToggleAction VALIDATE_AUTOMATICALLY_ACTION

OPEN_TEMPLATE_ACTION

public final transient javax.swing.Action OPEN_TEMPLATE_ACTION

NEW_PERSPECTIVE_ACTION

public final transient javax.swing.Action NEW_PERSPECTIVE_ACTION

SETTINGS_ACTION

public final transient javax.swing.Action SETTINGS_ACTION

TOGGLE_EXPERT_MODE_ACTION

public final transient ToggleAction TOGGLE_EXPERT_MODE_ACTION

TUTORIAL_ACTION

public final transient javax.swing.Action TUTORIAL_ACTION

UNDO_ACTION

public final transient javax.swing.Action UNDO_ACTION

REDO_ACTION

public final transient javax.swing.Action REDO_ACTION

ANOVA_CALCULATOR_ACTION

public final transient javax.swing.Action ANOVA_CALCULATOR_ACTION

CHECK_FOR_JDBC_DRIVERS_ACTION

public final transient javax.swing.Action CHECK_FOR_JDBC_DRIVERS_ACTION

MANAGE_DB_CONNECTIONS_ACTION

public final transient javax.swing.Action MANAGE_DB_CONNECTIONS_ACTION

DOCK_GROUP_ROOT

public static final com.vlsolutions.swing.docking.DockGroup DOCK_GROUP_ROOT

DOCK_GROUP_RESULTS

public static final com.vlsolutions.swing.docking.DockGroup DOCK_GROUP_RESULTS
Constructor Detail

MainFrame

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


MainFrame

public MainFrame(java.lang.String initialPerspective)
Method Detail

validateProcess

public void validateProcess(boolean force)

changeMode

@Deprecated
public void changeMode(int mode)
Deprecated. Use getPerspectives() and ApplicationPerspectives.showPerspective(String)


startTutorial

public void startTutorial()

setTutorialMode

public void setTutorialMode(boolean mode)

isTutorialMode

public boolean isTutorialMode()

setExpertMode

public void setExpertMode(boolean expert)

getPropertyPanel

public OperatorPropertyPanel getPropertyPanel()

getMessageViewer

public LoggingViewer getMessageViewer()

getNewOperatorEditor

public NewOperatorEditor getNewOperatorEditor()

getOperatorTree

public OperatorTree getOperatorTree()

getActions

public Actions getActions()

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.


pauseProcess

public void pauseProcess()

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

@Deprecated
public void processChanged()
Deprecated. this method is no longer necessary (and does nothing) since the MainFrame observes the process using an Observer pattern. See processObserver.

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.


undo

public void undo()

redo

public void redo()

close

public boolean close()

setOpenedProcess

public void setOpenedProcess(Process process,
                             boolean showInfo,
                             java.lang.String sourceName)

saveAsTemplate

public void saveAsTemplate()

exit

public void exit(boolean relaunch)

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

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)

getSelectedOperators

public java.util.List<Operator> getSelectedOperators()

getFirstSelectedOperator

public Operator getFirstSelectedOperator()

selectOperator

public void selectOperator(Operator currentlySelected)

selectOperators

public void selectOperators(java.util.List<Operator> currentlySelected)

fireProcessUpdated

public void fireProcessUpdated()

getDockingDesktop

public com.vlsolutions.swing.docking.DockingDesktop getDockingDesktop()

getPerspectives

public Perspectives getPerspectives()

handleBrokenProxessXML

public void handleBrokenProxessXML(ProcessLocation location,
                                   java.lang.String xml,
                                   java.lang.Exception e)

getOperatorDocViewer

public OperatorDocViewer getOperatorDocViewer()

getProcessPanel

public ProcessPanel getProcessPanel()

registerDockable

public void registerDockable(com.vlsolutions.swing.docking.Dockable dockable)

processHasBeenSaved

public void processHasBeenSaved()

getProcessContextEditor

public ProcessContextProcessEditor getProcessContextEditor()

getXMLEditor

public java.awt.Component getXMLEditor()

getFileMenu

public javax.swing.JMenu getFileMenu()
This returns the file menu to change menu entries


getToolsMenu

public javax.swing.JMenu getToolsMenu()
This returns the tools menu to change menu entries


getMainMenuBar

public javax.swing.JMenuBar getMainMenuBar()
This returns the complete menu bar to insert additional menus


getEditMenu

public javax.swing.JMenu getEditMenu()
This returns the edit menu to change menu entries


getProcessMenu

public javax.swing.JMenu getProcessMenu()
This returns the process menu to change menu entries


getHelpMenu

public javax.swing.JMenu getHelpMenu()
This returns the help menu to change menu entries



Copyright © 2001-2009 by Rapid-I