本文整理汇总了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());
}
}
}