Package de.sciss.app

Examples of de.sciss.app.AbstractCompoundEdit.perform()


        }
        if( !insertSpan.isEmpty() ) {
          edit.addPerform( TimelineVisualEdit.select( this, Session.this, insertSpan ));
          edit.addPerform( TimelineVisualEdit.position( this, Session.this, insertSpan.stop ));
        }
        edit.perform();
        edit.end();
        getUndoManager().addEdit( edit );
      } else {
        edit.cancel();
      }
View Full Code Here


        if( !insertSpan.isEmpty() ) {
          edit.addPerform( TimelineVisualEdit.select( this, Session.this, insertSpan ));
          edit.addPerform( TimelineVisualEdit.position( this, Session.this, insertSpan.stop ));
        }

        edit.perform();
        edit.end();
        getUndoManager().addEdit( edit );
      } else {
        edit.cancel();
      }
View Full Code Here

    public void processFinished( ProcessingThread context )
    {
      final AbstractCompoundEdit edit = (AbstractCompoundEdit) context.getClientArg( "edit" );

      if( context.getReturnCode() == DONE ) {
        edit.perform();
        edit.end();
        getUndoManager().addEdit( edit );
      } else {
        edit.cancel();
      }
View Full Code Here

      return;
    }
    finally {
      doc.markers.editEnd( ce );
    }
    ce.perform();
    ce.end();
    doc.getUndoManager().addEdit( ce );
  }
 
  private void removeMarkerLeftTo( long pos )
View Full Code Here

      return;
    }
    finally {
      doc.markers.editEnd( ce );
    }
    ce.perform();
    ce.end();
    doc.getUndoManager().addEdit( ce );
  }

  private void editMarkerLeftTo( long pos )
View Full Code Here

      return;
    }
    finally {
      doc.markers.editEnd( ce );
    }
    ce.perform();
    ce.end();
    doc.getUndoManager().addEdit( ce );
  }

  private MarkerStake getMarkerLeftTo( long pos )
View Full Code Here

            System.err.println( e1 );
            ce.cancel();
            return;
          }
          doc.markers.editEnd( ce );
          ce.perform();
          ce.end();
          doc.getUndoManager().addEdit( ce );
//        }
//        catch( IOException e1 ) {  // should never happen
//          System.err.println( e1 );
View Full Code Here

            name  = BasicSessionCollection.createUniqueName( Session.SO_NAME_PTRN, args, coll2 );
            edit.addPerform( new EditSetSessionObjectName( this, so, name ));
            coll2.add( so );
          }
        }
        edit.perform();
        edit.end();
        doc.getUndoManager().addEdit( edit );
      }
    }
View Full Code Here

//          ce.addEdit( new EditAddSessionObjects( this, group.getTransmitters(), collSO ));

          if( b1 ) {
            ce.addPerform( new EditAddSessionObjects( this, doc.getMutableGroups(), collGroup ));
          }
          ce.perform();
          ce.end();
          doc.getUndoManager().addEdit( ce );
         
        } finally {
          doc.bird.releaseShared( Session.DOOR_TRNS | Session.DOOR_RCV );
View Full Code Here

    public void processFinished( ProcessingThread context )
    {
      final AbstractCompoundEdit edit = (AbstractCompoundEdit) context.getClientArg( "edit" );

      if( context.getReturnCode() == DONE ) {
        edit.perform();
        edit.end();
        getUndoManager().addEdit( edit );
      } else {
        edit.cancel();
      }
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.