本文整理匯總了Java中com.rapidminer.gui.processeditor.ProcessLogTab類的典型用法代碼示例。如果您正苦於以下問題:Java ProcessLogTab類的具體用法?Java ProcessLogTab怎麽用?Java ProcessLogTab使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
ProcessLogTab類屬於com.rapidminer.gui.processeditor包,在下文中一共展示了ProcessLogTab類的7個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: clearNow
import com.rapidminer.gui.processeditor.ProcessLogTab; //導入依賴的package包/類
private void clearNow(boolean alsoClearLogs) {
List<Dockable> toClose = new LinkedList<>();
for (DockableState state : RapidMinerGUI.getMainFrame().getDockingDesktop().getContext().getDockables()) {
if (state.getDockable().getDockKey().getKey().startsWith(ResultTab.DOCKKEY_PREFIX + "process_")
|| alsoClearLogs && state.getDockable().getDockKey().getKey().startsWith(ProcessLogTab.DOCKKEY_PREFIX)) {
toClose.add(state.getDockable());
}
}
if (!toClose.isEmpty() || !dataTables.isEmpty()) {
// fix for "delete old results" dialog after breakpoint resume
if (closeResultsPerRun) {
DockableResultDisplay.this.dataTables.clear();
// updateDataTables();
for (Dockable dockable : toClose) {
if (dockable instanceof ResultTab) {
((ResultTab) dockable).freeResources();
} else if (dockable instanceof ProcessLogTab) {
((ProcessLogTab) dockable).freeResources();
}
// RapidMinerGUI.getMainFrame().getDockingDesktop().close(dockable);
RapidMinerGUI.getMainFrame().getPerspectiveController().removeFromAllPerspectives(dockable);
}
}
}
}
示例2: clearNow
import com.rapidminer.gui.processeditor.ProcessLogTab; //導入依賴的package包/類
private void clearNow(boolean alsoClearLogs) {
List<Dockable> toClose = new LinkedList<>();
for (DockableState state : RapidMinerGUI.getMainFrame().getDockingDesktop().getContext().getDockables()) {
if (state.getDockable().getDockKey().getKey().startsWith(ResultTab.DOCKKEY_PREFIX + "process_")
|| alsoClearLogs && state.getDockable().getDockKey().getKey().startsWith(ProcessLogTab.DOCKKEY_PREFIX)) {
toClose.add(state.getDockable());
}
}
if (!toClose.isEmpty() || !dataTables.isEmpty()) {
// fix for "delete old results" dialog after breakpoint resume
if (closeResultsPerRun) {
this.dataTables.clear();
// updateDataTables();
for (Dockable dockable : toClose) {
if (dockable instanceof ResultTab) {
((ResultTab) dockable).freeResources();
} else if (dockable instanceof ProcessLogTab) {
((ProcessLogTab) dockable).freeResources();
}
// RapidMinerGUI.getMainFrame().getDockingDesktop().close(dockable);
RapidMinerGUI.getMainFrame().getPerspectiveController().removeFromAllPerspectives(dockable);
}
}
}
}
示例3: clearNow
import com.rapidminer.gui.processeditor.ProcessLogTab; //導入依賴的package包/類
private void clearNow(boolean alsoClearLogs) {
List<Dockable> toClose = new LinkedList<>();
for (DockableState state : RapidMinerGUI.getMainFrame().getDockingDesktop().getContext().getDockables()) {
if (state.getDockable().getDockKey().getKey().startsWith(ResultTab.DOCKKEY_PREFIX + "process_")
|| alsoClearLogs && state.getDockable().getDockKey().getKey().startsWith(ProcessLogTab.DOCKKEY_PREFIX)) {
toClose.add(state.getDockable());
}
}
if (!toClose.isEmpty() || !dataTables.isEmpty()) {
// fix for "delete old results" dialog after breakpoint resume
if (closeResultsPerRun) {
DockableResultDisplay.this.dataTables.clear();
// updateDataTables();
for (Dockable dockable : toClose) {
if (dockable instanceof ResultTab) {
((ResultTab) dockable).freeResources();
} else if (dockable instanceof ProcessLogTab) {
((ProcessLogTab) dockable).freeResources();
}
// RapidMinerGUI.getMainFrame().getDockingDesktop().close(dockable);
RapidMinerGUI.getMainFrame().getPerspectiveController().removeFromAllPerspectives(dockable);
}
getDockKey().resetPropertyChangeListener();
}
}
}
示例4: clearNow
import com.rapidminer.gui.processeditor.ProcessLogTab; //導入依賴的package包/類
private void clearNow(boolean alsoClearLogs) {
List<Dockable> toClose = new LinkedList<Dockable>();
for (DockableState state : RapidMinerGUI.getMainFrame().getDockingDesktop().getContext().getDockables()) {
if (state.getDockable().getDockKey().getKey().startsWith(ResultTab.DOCKKEY_PREFIX+"process_") ||
(alsoClearLogs && state.getDockable().getDockKey().getKey().startsWith(ProcessLogTab.DOCKKEY_PREFIX))) {
toClose.add(state.getDockable());
}
}
if ((!toClose.isEmpty() || !dataTables.isEmpty()) ) {
// fix for "delete old results" dialog after breakpoint resume
if (closeResultsPerRun) {
DockableResultDisplay.this.dataTables.clear();
//updateDataTables();
for (Dockable dockable : toClose) {
if (dockable instanceof ResultTab) {
((ResultTab) dockable).freeResources();
} else if (dockable instanceof ProcessLogTab) {
((ProcessLogTab) dockable).freeResources();
}
//RapidMinerGUI.getMainFrame().getDockingDesktop().close(dockable);
RapidMinerGUI.getMainFrame().getPerspectives().removeFromAllPerspectives(dockable);
}
}
}
}
示例5: clearAll
import com.rapidminer.gui.processeditor.ProcessLogTab; //導入依賴的package包/類
@Override
public void clearAll() {
for (DockableState state : RapidMinerGUI.getMainFrame().getDockingDesktop().getContext().getDockables()) {
if (state.getDockable().getDockKey().getKey().startsWith(ResultTab.DOCKKEY_PREFIX)
|| state.getDockable().getDockKey().getKey().startsWith(ProcessLogTab.DOCKKEY_PREFIX)) {
RapidMinerGUI.getMainFrame().getPerspectiveController().removeFromAllPerspectives(state.getDockable());
}
}
}
示例6: clearAll
import com.rapidminer.gui.processeditor.ProcessLogTab; //導入依賴的package包/類
@Override
public void clearAll() {
for (DockableState state : RapidMinerGUI.getMainFrame().getDockingDesktop().getContext().getDockables()) {
if (state.getDockable().getDockKey().getKey().startsWith(ResultTab.DOCKKEY_PREFIX)
|| state.getDockable().getDockKey().getKey().startsWith(ProcessLogTab.DOCKKEY_PREFIX)) {
// TODO: this action only clears all opened result displays,
// no need to remove all job statuses and cancel job
// MidasClientFactory.getClientInstance().stopJob();
RapidMinerGUI.getMainFrame().getPerspectiveController().removeFromAllPerspectives(state.getDockable());
}
}
}
示例7: clearAll
import com.rapidminer.gui.processeditor.ProcessLogTab; //導入依賴的package包/類
@Override
public void clearAll() {
for (DockableState state : RapidMinerGUI.getMainFrame().getDockingDesktop().getContext().getDockables()) {
if (state.getDockable().getDockKey().getKey().startsWith(ResultTab.DOCKKEY_PREFIX) ||
state.getDockable().getDockKey().getKey().startsWith(ProcessLogTab.DOCKKEY_PREFIX)) {
RapidMinerGUI.getMainFrame().getPerspectives().removeFromAllPerspectives(state.getDockable());
}
}
}