Package de.sciss.meloncillo.session

Examples of de.sciss.meloncillo.session.SessionObject


    }

    // to be called with shared lock on 'doors'!
    private void updateFields( SessionCollection.Event e )
    {
      SessionObject          so;
      final int            numObj  = scSel.size();
      String              name;
      final de.sciss.app.Application  app    = AbstractApplication.getApplication();

      if( numObj >= 1 ) {
        so    = (SessionObject) scSel.get( 0 );
        name  = numObj == 1 ? so.getName() : app.getResourceString( "observerMultiSelection" );
      } else {
        name  = app.getResourceString( "observerNoSelection" );
      }
      ggName.setText( name );
    }
View Full Code Here


      ggName.setText( name );
    }

    public void actionPerformed( ActionEvent e )
    {
      SessionObject      so;
      int            i, num;
      AbstractCompoundEdit  edit;
      String          name;
      List          coll, coll2;
      Object[]        args;
View Full Code Here

   */
    private void updateUserImages()
    {
        int        i;
    java.util.List  collSO;
    SessionObject  so;
    File      f;
    Toolkit      tk  = Toolkit.getDefaultToolkit();
    MediaTracker  mt  = new MediaTracker( this );
    Image      img;
    Object[]    errors;

    try {
      doc.bird.waitShared( Session.DOOR_GRP );
      collSO  = doc.getSelectedGroups().getAll();
      disposeUserImages();
      for( i = 0; i < collSO.size(); i++ ) {
        so  = (SessionObject) collSO.get( i );
        f  = (File) so.getMap().getValue( SessionGroup.MAP_KEY_USERIMAGE );
        if( f != null ) {
          img = tk.createImage( f.getAbsolutePath() );
          collUserImages.add( img );
        }
      }
View Full Code Here

    java.util.List      coll, coll2, collGroups, collGroups2, collGroups3, collGroups4;
    int            i, j;
    double          d1;
    String          val;
    Preferences        prefs;
    SessionObject      so;
 
    // --------------- create lisp symbols ---------------
    // GROUPS : list (list elements : hashtable)
    collGroups  = doc.getGroups().getAll();
    collGroups2  = new ArrayList( collGroups.size() );
View Full Code Here

TOP

Related Classes of de.sciss.meloncillo.session.SessionObject

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.