Examples of asDockable()


Examples of bibliothek.gui.DockStation.asDockable()

     * as parent.
     * @return the first found {@link CStation}.
     */
    private CStation<?> findFirstParentWorkingArea( Dockable dockable ){
        DockStation station = dockable.getDockParent();
        dockable = station == null ? null : station.asDockable();
       
        if( dockable != null )
            return getAreaOf( dockable );
        else
            return null;
View Full Code Here

Examples of bibliothek.gui.DockStation.asDockable()

        while( check != null ){
            DockStation parent = check.getDockParent();
            if( parent == null )
                check = null;
            else
                check = parent.asDockable();
           
            CStation<?> station = stations.get( parent );
            if( station != null )
                return station;
        }
View Full Code Here

Examples of bibliothek.gui.DockStation.asDockable()

   
    while( dockStation != null ){
      if( dockStation instanceof CommonDockStation<?,?>){
        return ((CommonDockStation<?,?>)dockStation).getStation();
      }
      if( dockStation.asDockable() == null ){
        dockStation = null;
      }
      else{
        dockStation = dockStation.asDockable().getDockParent();
      }
View Full Code Here

Examples of bibliothek.gui.DockStation.asDockable()

      }
      if( dockStation.asDockable() == null ){
        dockStation = null;
      }
      else{
        dockStation = dockStation.asDockable().getDockParent();
      }
    }
   
    return null;
  }
View Full Code Here

Examples of bibliothek.gui.DockStation.asDockable()

        if( container != null ){
          return container;
        }
      }
     
      Dockable dockable = station.asDockable();
      if( dockable == null ){
        return null;
      }
      station = dockable.getDockParent();
      if( station == null ){
View Full Code Here

Examples of bibliothek.gui.DockStation.asDockable()

      DockStation parent = intern().getDockParent();
      while( parent != null ){
        if( parent instanceof CommonDockStation<?,?> ){
          return ((CommonDockStation<?, ?>)parent).getStation();
        }
        Dockable item = parent.asDockable();
        if( item == null ){
          return null;
        }
        parent = item.getDockParent();
      }
View Full Code Here

Examples of bibliothek.gui.DockStation.asDockable()

            if( result != null ){
              return getMaximizeArea( result.getStation() );
            }
          }
        }
        Dockable temp = parent.asDockable();
        if( temp == null ){
          parent = null;
        }
        else{
          parent = temp.getDockParent();
View Full Code Here

Examples of bibliothek.gui.DockStation.asDockable()

 
  public Dockable getGroupElement( LocationModeManager<? extends LocationMode> manager, Dockable dockable, ExtendedMode mode  ){
    DockStation parent = dockable.getDockParent();
   
    if( parent instanceof StackDockStation ){
      if( parent.asDockable().getDockParent() == null ){
        // cannot move around a dockable without location
        return dockable;
      }
     
      for( int i = 0, n = parent.getDockableCount(); i<n; i++ ){
View Full Code Here

Examples of bibliothek.gui.DockStation.asDockable()

        CStation<?> cstation = ((CommonDockStation<?, ?>)parent).getStation();
        if( cstation.isWorkingArea() ){
          return cstation;
        }
      }
      Dockable child = parent.asDockable();
      parent = child == null ? null : child.getDockParent();
    }
    return null;
  }
}
View Full Code Here

Examples of bibliothek.gui.DockStation.asDockable()

              CStation<?> cstation = ((CommonDockStation<?,?>)station).getStation();
                if( cstation.isWorkingArea() )
                    return cstation;
            }
           
            dockable = station == null ? null : station.asDockable();
            station = dockable == null ? null : dockable.getDockParent();
        }
        return null;
    }
   
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.