Examples of doTargetChange()


Examples of org.zkoss.zss.app.zul.ctrl.DesktopWorkbenchContext.doTargetChange()

    //Note. setSrcName will set spreadsheet's src name, but not the book name
    // if setSrc will init a book, then setSrcName only change the src name,
    // if setSrc again with the first same book, the book will register two listener
    //spreadsheet.setSrcName("Untitled");
    final DesktopWorkbenchContext workbenchContext = getDesktopWorkbenchContext();
    workbenchContext.doTargetChange(new SSWorkbookCtrl(spreadsheet));
    workbenchContext.setWorkbenchCtrl(this);
   
//    if (!FileHelper.hasSavePermission())
//      saveBtn.setVisible(false);
    workbenchContext.addEventListener(Consts.ON_WORKBOOK_SAVED,  new EventListener() {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.