Package de.sciss.eisenkraut.render

Examples of de.sciss.eisenkraut.render.FilterDialog


    final RenderPlugIn  plugIn;
    final String    fileName;
    final long      startFrame;
    AudioFile      af    = null;
    int          argIdx  = 1;
    FilterDialog    filterDlg;
 
    try {
      fileName  = rom.msg.getArg( argIdx ).toString();
      argIdx++;
      if( argIdx < rom.msg.getArgCount() ) {
        startFrame  = ((Number) rom.msg.getArg( argIdx )).longValue();
      } else {
        startFrame  = 0;
      }
      af      = AudioFile.openAsRead( new File( fileName ));
      af.seekFrame( startFrame );
      plugIn    = new Replace( af );
    }
    catch( IndexOutOfBoundsException e1 ) {
      OSCRoot.failedArgCount( rom );
      return;
    }
    catch( ClassCastException e1 ) {
      OSCRoot.failedArgType( rom, argIdx );
      return;
    }
    catch( IOException e1 ) {
      if( af != null ) af.cleanUp();
      OSCRoot.failed( rom, e1 );
      return;
    }
   
    filterDlg = (FilterDialog) AbstractApplication.getApplication().getComponent( Main.COMP_FILTER );
   
    if( filterDlg == null ) {
      filterDlg = new FilterDialog();
    }
    filterDlg.process( plugIn, this, false, false );
//    actionProcessAgain.setPlugIn( filterDlg.getPlugIn() );
  }
View Full Code Here


      this.plugInClassName  = plugInClassName;
    }

    public void actionPerformed( ActionEvent e )
    {
      FilterDialog filterDlg = (FilterDialog) app.getComponent( Main.COMP_FILTER );
   
      if( filterDlg == null ) {
        filterDlg = new FilterDialog();
      }
      filterDlg.process( plugInClassName, doc, (e.getModifiers() & ActionEvent.SHIFT_MASK) != 0, false );
      actionProcessAgain.setPlugIn( filterDlg.getPlugIn() );
    }
View Full Code Here

    public void actionPerformed( ActionEvent e )
    {
      if( plugInClassName == null ) return;
     
      FilterDialog filterDlg = (FilterDialog) app.getComponent( Main.COMP_FILTER );
     
      if( filterDlg == null ) {
        filterDlg = new FilterDialog();
      }
      filterDlg.process( plugInClassName, doc, false, true );
    }
View Full Code Here

TOP

Related Classes of de.sciss.eisenkraut.render.FilterDialog

Copyright © 2018 www.massapicom. 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.