예제 #1
0
 @UiHandler("editFolderSaveButtonCancel")
 public void clickedOnEditFolderSaveButtonCancelButton(ClickEvent event) {
   titleAlertMessageLbl.setVisible(false);
   titleAlertMessageLbl.addStyleName("titleAlertMessageDeActive");
   titleAlertMessageLbl.removeStyleName("titleAlertMessageActive");
   folderTitle.switchToTitleCancelLabel();
   editFolderSaveButton.getElement().getStyle().setDisplay(Display.NONE);
   editFolderSaveButtonCancel.getElement().getStyle().setDisplay(Display.NONE);
 }
예제 #2
0
 @Override
 public void reset() {
   super.reset();
   this.collectionDo = null;
   collectionMetaDataSimPanel.clear();
   editFolderDescSaveButton.getElement().getStyle().setDisplay(Display.NONE);
   editFolderDescSaveButtonCancel.getElement().getStyle().setDisplay(Display.NONE);
   editFolderSaveButton.getElement().getStyle().setDisplay(Display.NONE);
   editFolderSaveButtonCancel.getElement().getStyle().setDisplay(Display.NONE);
   folderDescription.switchToDescCancelLabel();
   folderTitle.switchToTitleCancelLabel();
 }