Package com.projity.pm.graphic.frames

Examples of com.projity.pm.graphic.frames.DocumentFrame.createCache()


    if (assignmentSpreadSheet==null) return;
        DocumentFrame df=evt.getCurrent();
        if (df!=null){
//          List impls=df.getSelectedImpls();
//          if (impls!=null&&impls.size()>0) setObject(impls.get(0));
          NodeModelCache cache = df.createCache(false,Messages.getString("View.TaskInformation.Assignments")); //$NON-NLS-1$
      assignmentSpreadSheet.setCache(cache);
        }
  }
 
 
View Full Code Here


  }
  public void documentSelected(DocumentSelectedEvent evt) {
    if (assignmentSpreadSheet==null) return;
        DocumentFrame df=evt.getCurrent();
        if (df!=null){
          NodeModelCache cache = df.createCache(true,Messages.getString("View.TaskInformation.Assignments")); //$NON-NLS-1$
      assignmentSpreadSheet.setCache(cache);
        }
  }
 
 
View Full Code Here

  }

  public NodeModelCache createCache(boolean task, String viewName) {
//    DocumentFrame df = ((MainFrame) owner).getCurrentFrame();
    DocumentFrame df = GraphicManager.getInstance(this).getCurrentFrame();
    return df.createCache(task, viewName);
  }

  protected boolean hasOkAndCancelButtons() {
    return !hasCloseButton();
  }
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.