/** * Constructor */ public WorkbenchApp() { super(true, new String[0], new String[] { weka.gui.knowledgeflow.AttributeSummaryPerspective.class .getCanonicalName(), weka.gui.knowledgeflow.ScatterPlotMatrixPerspective.class .getCanonicalName(), weka.gui.knowledgeflow.SQLViewerPerspective.class.getCanonicalName() }); m_perspectiveManager .addSettingsMenuItemToProgramMenu(getApplicationSettings()); showPerspectivesToolBar(); List<Perspective> perspectives = m_perspectiveManager.getLoadedPerspectives(); for (Perspective p : perspectives) { m_perspectiveManager.setEnablePerspectiveTab(p.getPerspectiveID(), p.okToBeActive()); } }
/** * Constructor */ public WorkbenchApp() { super(true, new String[0], new String[] { weka.gui.knowledgeflow.AttributeSummaryPerspective.class .getCanonicalName(), weka.gui.knowledgeflow.ScatterPlotMatrixPerspective.class .getCanonicalName(), weka.gui.knowledgeflow.SQLViewerPerspective.class.getCanonicalName() }); m_perspectiveManager .addSettingsMenuItemToProgramMenu(getApplicationSettings()); showPerspectivesToolBar(); List<Perspective> perspectives = m_perspectiveManager.getLoadedPerspectives(); for (Perspective p : perspectives) { m_perspectiveManager.setEnablePerspectiveTab(p.getPerspectiveID(), p.okToBeActive()); } }
/** * Constructor * * @param layoutComponent true if the Knowledge Flow should layout the * application using the default layout - i.e. the perspectives * toolbar at the north of a {@code BorderLayout} and the * {@code PerspectiveManager} at the center */ public KnowledgeFlowApp(boolean layoutComponent) { super(layoutComponent, "weka.gui.knowledgeflow", "weka.gui.SimpleCLIPanel"); // add an initial "untitled" tab ((MainKFPerspective) m_perspectiveManager.getMainPerspective()) .addUntitledTab(); m_perspectiveManager .addSettingsMenuItemToProgramMenu(getApplicationSettings()); if (m_perspectiveManager .userRequestedPerspectiveToolbarVisibleOnStartup(getApplicationSettings())) { showPerspectivesToolBar(); } }
/** * Constructor * * @param layoutComponent true if the Knowledge Flow should layout the * application using the default layout - i.e. the perspectives * toolbar at the north of a {@code BorderLayout} and the * {@code PerspectiveManager} at the center */ public KnowledgeFlowApp(boolean layoutComponent) { super(layoutComponent, "weka.gui.knowledgeflow", "weka.gui.SimpleCLIPanel"); // add an initial "untitled" tab ((MainKFPerspective) m_perspectiveManager.getMainPerspective()) .addUntitledTab(); m_perspectiveManager .addSettingsMenuItemToProgramMenu(getApplicationSettings()); if (m_perspectiveManager .userRequestedPerspectiveToolbarVisibleOnStartup(getApplicationSettings())) { showPerspectivesToolBar(); } }