Examples of DocumentFrame


Examples of com.projity.pm.graphic.frames.DocumentFrame

    updateAssignmentSpreadsheet();
  }
 
  public void documentSelected(DocumentSelectedEvent evt) {
    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

Examples of com.projity.pm.graphic.frames.DocumentFrame

    changeWorkingTimeButton.setEnabled(getObject() != null && !((ResourceImpl)getObject()).isReadOnly());

  }
  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

Examples of com.projity.pm.graphic.frames.DocumentFrame

    return new DefaultComboBoxModel(options);
  }

  public ReferenceNodeModelCache getReferenceCache(boolean task) {
//    DocumentFrame df = ((MainFrame) owner).getCurrentFrame();
    DocumentFrame df = GraphicManager.getInstance(this).getCurrentFrame();
    return df.getReferenceCache(task);
  }
View Full Code Here

Examples of com.projity.pm.graphic.frames.DocumentFrame

    return df.getReferenceCache(task);
  }

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

Examples of com.projity.pm.graphic.frames.DocumentFrame

        LoadOptions opt=new LoadOptions();
        opt.setId(projectId);
        opt.setSync(true);
        ProjectFactory.getInstance().openProject(opt);
      }
      DocumentFrame documentFrame = graphicManager.addProjectFrame(project); // will add to combo
      documentFrame.restoreWorkspace(documentFrameWorkspace, context); // a little ugly, in that the worspace is used above to create the frame
    }
    getProjectComboBox().setSelectedIndex(ws.getSelectedIndex());
  }
View Full Code Here

Examples of com.projity.pm.graphic.frames.DocumentFrame

  public WorkspaceSetting createWorkspace(int context) {
    FrameWorkspace ws = new FrameWorkspace();
    ws.list = new LinkedList();
    for (int i = 0; i < getProjectComboBox().getItemCount(); i++) {
      DocumentFrame frame = (DocumentFrame)getProjectComboBox().getItemAt(i);
      ws.list.add(frame.createWorkspace(context));
    }
    ws.selectedIndex = getProjectComboBox().getSelectedIndex();
    return ws;
  }
View Full Code Here

Examples of de.sciss.eisenkraut.session.DocumentFrame

  throws IOException
  {
    final SuperColliderPlayer  p;
//    final MeterListener      ml;
//    final Bus          b;
    final DocumentFrame      f;

    if( !mapDocsToPlayers.containsKey( doc )) {
//      p = new SuperColliderPlayer( doc, server, oCfg, volume );
      p = new SuperColliderPlayer( doc, server, oCfg );
      collPlayers.add( p );
      mapDocsToPlayers.put( doc, p );
      f = doc.getFrame();
      if( f != null ) f.playerCreated( p );
//      if( chanMeter && (f != null) ) {
////        p.addMeterListener( doc.getFrame() );
////        meterTimer.restart();
//        b = p.getInputBus();
//        if( b != null ) {
View Full Code Here

Examples of de.sciss.eisenkraut.session.DocumentFrame

  }

  private void disposePlayer( Session doc )
  {
    final SuperColliderPlayer  p  = (SuperColliderPlayer) mapDocsToPlayers.remove( doc );
    final DocumentFrame      f  = doc.getFrame();

    if( f != null ) f.playerDestroyed( p );
//    if( f != null ) meterManager.removeMeterListener( f );
    if( p != null ) {
      collPlayers.remove( p );
      p.dispose();
//      if( chanMeter && collPlayers.isEmpty() ) meterTimer.stop();
View Full Code Here

Examples of de.sciss.meloncillo.session.DocumentFrame

    }
   
    protected void perform()
    {
      final Flag        confirmed  = new Flag( false );
      final DocumentFrame    frame    = (DocumentFrame) getApplication().getComponent( Main.COMP_MAIN );
      final ProcessingThread  pt      = frame.confirmUnsaved( text, confirmed );
      if( pt == null ) {
        if( !confirmed.isSet() ) return;
        queryAndPerform();
      } else {
        pt.addListener( new ProcessingThread.Listener() {
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.