Examples of CControl


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

Examples of bibliothek.gui.dock.common.CControl

 
  /**
   * 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

Examples of bibliothek.gui.dock.common.CControl

  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
Copyright © 2018 www.massapi.com. 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.