Package bibliothek.gui.dock.action

Examples of bibliothek.gui.dock.action.MultiDockActionSource


         * @param id the unique if of this entry
         */
        public DockableHandle( Dockable dockable, String id ){
            this.dockable = dockable;
            this.id = id;
            source = new MultiDockActionSource( new LocationHint( LocationHint.ACTION_GUARD, LocationHint.RIGHT ) );
            properties = new HashMap<Path, H>();
            history = new LinkedList<Path>();
        }
View Full Code Here


      LocationMode mode = getCurrentMode( selected );
      if( mode == null ){
        return null;
      }
     
      MultiDockActionSource result = new MultiDockActionSource();
     
      for( LocationMode other : modes() ){
        if( behavior.shouldForwardActions( this, station, selected, other.getExtendedMode() ) ){
          DockActionSource source = other.getActionsFor( selected, mode );
          if( source != null ){
            result.add( source );
          }
        }
      }
     
      return result;
View Full Code Here

TOP

Related Classes of bibliothek.gui.dock.action.MultiDockActionSource

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.