Package bibliothek.gui.dock.common

Examples of bibliothek.gui.dock.common.CControl


    protected void install( DockController controller ){   
        Controller settings = new Controller();
        settings.controller = controller;
       
        ColorManager colors = controller.getColors();
        CControl control = controller.getProperties().get( CControl.CCONTROL );
       
        try{
            colors.lockUpdate();
           
            ExtensionName<CColorBridgeExtension> name = new ExtensionName<CColorBridgeExtension>(
View Full Code Here


 
  /**
   * Queues up a call to {@link #autoRemove()}
   */
  protected void tryAutoRemove(){
    CControl control = getControl();
    if( control != null ){
      DockHierarchyLock lock = control.getController().getHierarchyLock();
      lock.onRelease( new Runnable(){
        public void run(){
          autoRemove();
        }
      } );
View Full Code Here

  private void autoRemove(){
    if( !autoRemove ){
      return;
    }
   
    CControl control = getControl();
    if( control != null ){
      DockRegister register = control.getController().getRegister();
      if( register.isStalled() ){
        register.addDockRegisterListener( new DelayedAutoRemove() );
      }
      else{
        SplitDockStation station = getStation();
        if( station.getDockableCount() == 0 ){
          DockStation parent = station.getDockParent();
          if( parent != null ){
            parent.drag( station );
          }
          control.removeDockable( this );
          control.removeStation( this );
        }
      }
    }
  }
View Full Code Here

TOP

Related Classes of bibliothek.gui.dock.common.CControl

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.