Package de.sciss.app

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


        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


          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

    {
      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

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

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

  private void editMarkerLeftTo( long pos )
  {
View Full Code Here

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

  private MarkerStake getMarkerLeftTo( long pos )
  {
View Full Code Here

            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 );
//          return;
View Full Code Here

            edit.addPerform( new EditSetSessionObjectName( this, so, name ));
            coll2.add( so );
          }
        }
        edit.perform();
        edit.end();
        doc.getUndoManager().addEdit( edit );
      }
    }

    public void startListening()
View Full Code Here

          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

    {
      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.