List of usage examples for com.vaadin.ui Window setVisible
@Override public void setVisible(boolean visible)
From source file:org.eclipse.hawkbit.ui.artifacts.smtable.SoftwareModuleDetails.java
License:Open Source License
@Override protected void onEdit(final ClickEvent event) { final Window addSoftwareModule = softwareModuleAddUpdateWindow .createUpdateSoftwareModuleWindow(getSelectedBaseEntityId()); addSoftwareModule.setCaption(getI18n().get("upload.caption.update.swmodule")); UI.getCurrent().addWindow(addSoftwareModule); addSoftwareModule.setVisible(Boolean.TRUE); }
From source file:org.eclipse.hawkbit.ui.artifacts.smtable.SoftwareModuleTableHeader.java
License:Open Source License
@Override protected void addNewItem(final ClickEvent event) { final Window addSoftwareModule = softwareModuleAddUpdateWindow.createAddSoftwareModuleWindow(); addSoftwareModule.setCaption(i18n.get("upload.caption.add.new.swmodule")); UI.getCurrent().addWindow(addSoftwareModule); addSoftwareModule.setVisible(Boolean.TRUE); }
From source file:org.eclipse.hawkbit.ui.artifacts.smtype.SMTypeFilterHeader.java
License:Open Source License
@Override protected void settingsIconClicked(final ClickEvent event) { final Window addUpdateWindow = createUpdateSWTypeLayout.getWindow(); UI.getCurrent().addWindow(addUpdateWindow); addUpdateWindow.setVisible(Boolean.TRUE); }
From source file:org.eclipse.hawkbit.ui.common.detailslayout.AbstractDistributionSetDetails.java
License:Open Source License
@Override protected void onEdit(final ClickEvent event) { final Window newDistWindow = distributionAddUpdateWindowLayout .getWindowForUpdateDistributionSet(getSelectedBaseEntityId()); UI.getCurrent().addWindow(newDistWindow); newDistWindow.setVisible(Boolean.TRUE); }
From source file:org.eclipse.hawkbit.ui.common.detailslayout.AbstractSoftwareModuleDetails.java
License:Open Source License
@Override protected void onEdit(final ClickEvent event) { final Window addSoftwareModule = softwareModuleAddUpdateWindow .createUpdateSoftwareModuleWindow(getSelectedBaseEntityId()); addSoftwareModule.setCaption(/*from ww w . j av a2s . co m*/ getI18n().getMessage("caption.update", getI18n().getMessage("caption.software.module"))); UI.getCurrent().addWindow(addSoftwareModule); addSoftwareModule.setVisible(Boolean.TRUE); }
From source file:org.eclipse.hawkbit.ui.common.table.AbstractSoftwareModuleTableHeader.java
License:Open Source License
@Override protected void addNewItem(final ClickEvent event) { final Window addSoftwareModule = softwareModuleAddUpdateWindow.createAddSoftwareModuleWindow(); addSoftwareModule/* w w w . j av a2 s . co m*/ .setCaption(i18n.getMessage("caption.create.new", i18n.getMessage("caption.software.module"))); UI.getCurrent().addWindow(addSoftwareModule); addSoftwareModule.setVisible(Boolean.TRUE); }
From source file:org.eclipse.hawkbit.ui.distributions.dstable.DistributionSetTableHeader.java
License:Open Source License
@Override protected void addNewItem(final ClickEvent event) { final Window newDistWindow = addUpdateWindowLayout.getWindowForCreateDistributionSet(); UI.getCurrent().addWindow(newDistWindow); newDistWindow.setVisible(Boolean.TRUE); }
From source file:org.eclipse.hawkbit.ui.distributions.smtype.DistSMTypeFilterHeader.java
License:Open Source License
@Override protected void settingsIconClicked(final ClickEvent event) { final Window window = createUpdateSWTypeLayout.getWindow(); UI.getCurrent().addWindow(window);/*from w w w .j a v a 2 s. c o m*/ window.setVisible(Boolean.TRUE); }
From source file:org.eclipse.hawkbit.ui.management.dstable.DistributionDetails.java
License:Open Source License
@Override protected void onEdit(final ClickEvent event) { final Window newDistWindow = distributionAddUpdateWindowLayout.getWindow(getSelectedBaseEntityId()); newDistWindow.setCaption(getI18n().get("caption.update.dist")); UI.getCurrent().addWindow(newDistWindow); newDistWindow.setVisible(Boolean.TRUE); }
From source file:org.eclipse.hawkbit.ui.management.dstag.DistributionTagHeader.java
License:Open Source License
@Override protected void settingsIconClicked(final ClickEvent event) { final Window addUpdateWindow = createORUpdateDistributionTagLayout.getWindow(); UI.getCurrent().addWindow(addUpdateWindow); addUpdateWindow.setModal(true);/* w ww .ja v a 2s .c om*/ addUpdateWindow.setVisible(Boolean.TRUE); }