List of usage examples for com.vaadin.ui Window setVisible
@Override public void setVisible(boolean visible)
From source file:org.eclipse.hawkbit.ui.management.targettable.TargetDetails.java
License:Open Source License
private void openWindow() { final Window targetWindow = targetAddUpdateWindowLayout .getWindow(getSelectedBaseEntity().getControllerId()); if (targetWindow == null) { return;/* w w w . ja v a 2 s . co m*/ } targetWindow.setCaption(getI18n().getMessage("caption.update", getI18n().getMessage("caption.target"))); UI.getCurrent().addWindow(targetWindow); targetWindow.setVisible(Boolean.TRUE); }
From source file:org.eclipse.hawkbit.ui.management.targettable.TargetTableHeader.java
License:Open Source License
@Override protected void addNewItem(final ClickEvent event) { targetAddUpdateWindow.resetComponents(); final Window addTargetWindow = targetAddUpdateWindow.createNewWindow(); addTargetWindow.setCaption(i18n.getMessage("caption.create.new", i18n.getMessage("caption.target"))); UI.getCurrent().addWindow(addTargetWindow); addTargetWindow.setVisible(Boolean.TRUE); }
From source file:org.eclipse.hawkbit.ui.management.targettable.TargetTableHeader.java
License:Open Source License
private void openBulkUploadWindow() { final Window bulkUploadTargetWindow = targetBulkUpdateWindow.getWindow(); UI.getCurrent().addWindow(bulkUploadTargetWindow); bulkUploadTargetWindow.setVisible(true); }
From source file:org.eclipse.hawkbit.ui.management.targettag.MultipleTargetFilter.java
License:Open Source License
protected void settingsIconClicked() { final Window addUpdateWindow = createUpdateTargetTagLayout.getWindow(); UI.getCurrent().addWindow(addUpdateWindow); addUpdateWindow.setVisible(true); }
From source file:org.eclipse.hawkbit.ui.rollout.rollout.RolloutListHeader.java
License:Open Source License
@Override protected void addNewItem(final ClickEvent event) { final Window addTargetWindow = addUpdateRolloutWindow.getWindow(); UI.getCurrent().addWindow(addTargetWindow); addTargetWindow.setVisible(Boolean.TRUE); }
From source file:org.lightframe.components.WindowManager.java
License:Apache License
@Override @SuppressWarnings("unchecked") public void changeVariables(Object source, Map variables) { super.changeVariables(source, variables); if (variables.containsKey(VWindowManager.ATTRIBUTE_CS_WINDOW_CLOSE)) { Integer closedWindowIndex = (Integer) variables.get(VWindowManager.ATTRIBUTE_CS_WINDOW_CLOSE); closeWindow(managedWindows.get(closedWindowIndex)); requestRepaint();/*from w w w .j ava 2 s . c o m*/ } if (variables.containsKey(VWindowManager.ATTRIBUTE_CS_WINDOW_MINIMIZE)) { Integer minimizedWindowIndex = (Integer) variables.get(VWindowManager.ATTRIBUTE_CS_WINDOW_MINIMIZE); Window window = managedWindows.get(minimizedWindowIndex); window.setVisible(!window.isVisible()); requestRepaint(); } }