예제 #1
0
 @UiHandler("editFolderSaveButton")
 public void clickedOnEditFolderSaveButton(ClickEvent event) {
   titleAlertMessageLbl.setVisible(false);
   folderTitle.switchToLabel();
   // editFolderSaveButton.getElement().getStyle().setDisplay(Display.NONE);
   // editFolderSaveButtonCancel.getElement().getStyle().setDisplay(Display.NONE);
 }
예제 #2
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);
 }
예제 #3
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();
 }
예제 #4
0
 @Override
 public void setFolderMetaData(CollectionDo collectionDo) {
   folderTitle.setText(collectionDo.getTitle());
   folderDescription.setText(collectionDo.getGoals());
   foldersBreadCrumps.setText("Folders > " + collectionDo.getTitle());
 }