Examples of CDockable


Examples of bibliothek.gui.dock.common.intern.CDockable

    return keys;
  }
   
    @Override
    protected Color get( Color color, String id, DockColor observer ) {
        CDockable dockable = getDockable( observer );
        if( dockable != null ){
            return get( color, id, dockable );
        }
       
        return color;
View Full Code Here

Examples of bibliothek.gui.dock.common.intern.CDockable

    return keys;
  }
   
    @Override
    protected Color get( Color color, String id, DockColor observer ) {
        CDockable dockable = getDockable( observer );
        if( dockable != null ){
            return get( color, id, dockable );
        }
       
        return color;
View Full Code Here

Examples of bibliothek.gui.dock.common.intern.CDockable

        this.manager = manager;
    }
   
    @Override
    protected Color get( Color color, String id, DockColor observer ) {
        CDockable dockable = getDockable( observer );
        return get( color, id, dockable );
    }
View Full Code Here

Examples of bibliothek.gui.dock.common.intern.CDockable

   */
  protected void registerStation( CStation<?> station, boolean root ){
    if( control.getStation( station.getUniqueId() ) != station ){
      control.addStation( station, root );
    }
    CDockable dockable = station.asDockable();
    if( dockable != null ){
      if( dockable instanceof SingleCDockable ){
        SingleCDockable single = (SingleCDockable)dockable;
        if( control.getSingleDockable( single.getUniqueId() ) != single ){
          control.addDockable( single );
View Full Code Here

Examples of bibliothek.gui.dock.common.intern.CDockable

    Object layout = factory.getLayout( element, children );
    if( layout == null ){
      return null;
    }
   
    CDockable dockable = element.getStation().asDockable();
    String id = null;
    if( dockable instanceof SingleCDockable ){
      id = ((SingleCDockable)dockable).getUniqueId();
    }
   
View Full Code Here

Examples of bibliothek.gui.dock.common.intern.CDockable

            return true;
    }
   
    private CStation<?> getWorkingArea( Dockable dockable ){
      if( dockable instanceof CommonDockable ){
        CDockable fdockable = ((CommonDockable)dockable).getDockable();
          return fdockable.getWorkingArea();
      }
      return null;
    }
View Full Code Here

Examples of bibliothek.gui.dock.common.intern.CDockable

    if( station instanceof StackDockStation )
      return false;

    if( dockable instanceof CommonDockable ){
      CDockable cdockable = ((CommonDockable)dockable).getDockable();
      return cdockable.isSingleTabShown();
    }

    return false;
  }
View Full Code Here

Examples of bibliothek.gui.dock.common.intern.CDockable

   * @param mode the mode to check
   * @return whether <code>mode</code> is available or not
   */
  protected Availability isModeAvailable( Dockable dockable, ExtendedMode mode ){
    if( dockable instanceof CommonDockable ){
      CDockable cdockable = ((CommonDockable)dockable).getDockable();
     
      boolean result = false;
      boolean set = false;
     
      if( mode == ExtendedMode.EXTERNALIZED ){
        result = cdockable.isExternalizable();
        set = true;
      }
      else if( mode == ExtendedMode.MAXIMIZED ){
        result = cdockable.isMaximizable();
        set = true;
      }
      else if( mode == ExtendedMode.MINIMIZED ){
        result = cdockable.isMinimizable();
        set = true;
      }
      else if( mode == ExtendedMode.NORMALIZED ){
        result = cdockable.isNormalizeable();
        set = true;
      }
     
      if( set ){
        if( result ){
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.