Package bibliothek.gui.dock.common.action.predefined

Examples of bibliothek.gui.dock.common.action.predefined.CExternalizeAction


  /**
   * Creates a new mode.
   * @param control the owner of this mode
   */
  public CExternalizedMode( CControl control ){
    externalize = new KeyedLocationModeActionProvider( CDockable.ACTION_KEY_EXTERNALIZE, new CExternalizeAction( control ));
    unmaximize = new KeyedLocationModeActionProvider( CDockable.ACTION_KEY_UNMAXIMIZE_EXTERNALIZED, new CUnmaximizeExternalizedAction( control ));
   
    setActionProvider( new MappingLocationModeActionProvider() {
      protected LocationModeActionProvider getProvider( Dockable dockable, Mode<Location> currentMode, DockActionSource currentSource ){
        if( currentMode instanceof CMaximizedMode ){
View Full Code Here


  /**
   * Creates a new mode.
   * @param control the control in whose realm this mode works
   */
  public ExternalizedMode( CControl control ){
    setActionProvider( new DefaultLocationModeActionProvider( new CExternalizeAction( control ) ) );
  }
View Full Code Here

TOP

Related Classes of bibliothek.gui.dock.common.action.predefined.CExternalizeAction

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.