use of org.eclipse.che.ide.ui.multisplitpanel.SubPanel in project che by eclipse.
the class SubPanelPresenter method splitVertically.
@Override
public void splitVertically() {
final SubPanel subPanel = subPanelFactory.newPanel(this);
subPanel.setFocusListener(focusListener);
subPanel.setDoubleClickListener(doubleClickListener);
view.splitVertically(subPanel.getView());
}
use of org.eclipse.che.ide.ui.multisplitpanel.SubPanel in project che by eclipse.
the class ProcessesPanelViewImpl method showProcessOutput.
@Override
public void showProcessOutput(String processId) {
if (!processWidgets.containsKey(processId)) {
processId = "";
}
onResize();
final WidgetToShow widgetToShow = processWidgets.get(processId);
final SubPanel subPanel = widget2Panels.get(widgetToShow);
if (subPanel != null) {
subPanel.activateWidget(widgetToShow);
}
activeProcessId = processId;
final ProcessTreeNode treeNode = processTreeNodes.get(processId);
if (treeNode != null && !MACHINE_NODE.equals(treeNode.getType())) {
treeNode.setHasUnreadContent(false);
treeNode.getTreeNodeElement().getClassList().remove(machineResources.getCss().badgeVisible());
}
}
use of org.eclipse.che.ide.ui.multisplitpanel.SubPanel in project che by eclipse.
the class ProcessesPanelViewImpl method clear.
@Override
public void clear() {
for (WidgetToShow widgetToShow : processWidgets.values()) {
SubPanel subPanel = widget2Panels.get(widgetToShow);
subPanel.removeWidget(widgetToShow);
}
processWidgets.clear();
}
use of org.eclipse.che.ide.ui.multisplitpanel.SubPanel in project che by eclipse.
the class SubPanelPresenter method splitHorizontally.
@Override
public void splitHorizontally() {
final SubPanel subPanel = subPanelFactory.newPanel(this);
subPanel.setFocusListener(focusListener);
subPanel.setDoubleClickListener(doubleClickListener);
view.splitHorizontally(subPanel.getView());
}
use of org.eclipse.che.ide.ui.multisplitpanel.SubPanel in project che by eclipse.
the class ProcessesPanelViewImpl method hideProcessOutput.
@Override
public void hideProcessOutput(String processId) {
final WidgetToShow widgetToShow = processWidgets.get(processId);
final SubPanel subPanel = widget2Panels.get(widgetToShow);
if (subPanel != null) {
subPanel.removeWidget(widgetToShow);
}
processWidgets.remove(processId);
}
Aggregations