Package bibliothek.gui.dock.frontend

Examples of bibliothek.gui.dock.frontend.Setting


     * @param includeWorkingAreas whether {@link Dockable}s that are managed by a working-area should be
     * included in the layout or not
     * @return the current perspective
     */
    public CPerspective getPerspective( boolean includeWorkingAreas ){
      Setting setting = control.getOwner().intern().getSetting( !includeWorkingAreas );
      return convert( (CSetting)setting, includeWorkingAreas );
    }
View Full Code Here


     * Gets the perspective which represents a layout that was stored using {@link CControl#save(String)}.
     * @param name the name of the stored layout
     * @return the perspective or <code>null</code> if <code>name</code> was not found
     */
    public CPerspective getPerspective( String name ){
      Setting setting = control.getOwner().intern().getSetting( name );
      if( setting == null ){
        return null;
      }
      return convert( (CSetting)setting, false );
    }
View Full Code Here

      if( destination == null ){
        throw new IllegalArgumentException( "destination is null" );
      }
     
      CDockFrontend frontend = control.getOwner().intern();
      Setting layout = frontend.getSetting( source );
      if( layout == null ){
        throw new IllegalArgumentException( "no perspective registered with name '" + source + "'" );
      }
      frontend.setSetting( destination, layout );
      frontend.delete( source );
View Full Code Here

TOP

Related Classes of bibliothek.gui.dock.frontend.Setting

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.