Package bibliothek.gui.dock.action

Examples of bibliothek.gui.dock.action.FilteredDockActionSource


* {@link DockTitle}s, tabs and info-components placed alongside tabs.
* @author Benjamin Sigg
*/
public class CDefaultDockActionDistributor extends DefaultDockActionDistributor{
  protected DockActionSource createTabSource( DockActionSource source ){
    return new FilteredDockActionSource( source ){
      @Override
      protected boolean include( DockAction action ){
        return hasAnnotation( action, TabDockAction.class );
      }
    };
View Full Code Here


      }
    };
  }
 
  protected DockActionSource createInfoSource( DockActionSource source ){
    return new FilteredDockActionSource( source ){
      @Override
      protected boolean include( DockAction action ){
        return hasAnnotation( action, InfoDockAction.class );
      }
    };
View Full Code Here

      }
    };
  }
 
  protected DockActionSource createTitleSource( DockActionSource source ){
    return new FilteredDockActionSource( source ){
      @Override
      protected boolean include( DockAction action ){
        if( hasAnnotation( action, TitleDockAction.class ) ){
          return true;
        }
View Full Code Here

TOP

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

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.