Package bibliothek.gui.dock.layout

Examples of bibliothek.gui.dock.layout.DockLayoutComposition


   
    for( DockLayoutComposition child : oldChildren ){
      newChildren.add( replaceMultipleDockables( frontend, setting, child ) );
    }
   
    return new DockLayoutComposition( info, composition.getAdjacent(), newChildren, composition.isIgnoreChildren() );
  }
View Full Code Here


      return null;
    }
   
    @Override
    public DockLayoutComposition getRoot( String root ){
      DockLayoutComposition result = modifiedRoots.get( root );
      if( result == null ){
        result = replaceMultipleDockables( frontend, this, super.getRoot( root ) );
        modifiedRoots.put( root, result );
      }
      return result;
View Full Code Here

        perspective.storeLocations();
        PropertyTransformer transformer = frontend.getPropertyTransformer();
        for( int i = 0, n = in.readInt(); i<n; i++ ){
          if( in.readBoolean() ){
            String key = in.readUTF();
            DockLayoutComposition composition = null;
            if( in.readBoolean() ){
               composition = conversion.getSituation().readComposition( in );
            }
           
            CDockablePerspective dockable = perspective.getDockable( key );
View Full Code Here

        }
      }
     
      // invisible dockables
      for( int i = 0, n = setting.getInvisibleCount(); i < n; i++ ){
        DockLayoutComposition composition = setting.getInvisibleLayout( i );
        if( composition != null ){
          PerspectiveElement element = conversion.convert( composition );
          if( element instanceof CommonElementPerspective ){
            CDockablePerspective dockable = ((CommonElementPerspective)element).getElement().asDockable();
            if( dockable != null ){
View Full Code Here

      if( !rootStation && control.getRegister().isSingleId( id )){
        key = control.getRegister().singleToNormalId( id );
      }
     
      // maybe a station
      DockLayoutComposition root = null;
      if( stations != null ){
        root = stations.get( key );
      }
      if( root == null ){
        root = getPredefinedStation( key, basePerspective.getSituation() );
      }
      Path stationType = null;
     
      if( root != null ){
        // really a station
        DockLayout<Path> layout = (DockLayout<Path>)root.getAdjacent( RootStationAdjacentFactory.FACTORY_ID );
        if( layout != null){
          stationType = layout.getData();
        }
     
        CStationPerspective station = perspective.getStation( key );
View Full Code Here

       * @return the layout or <code>null</code> if not found
       */
      protected DockLayoutComposition getPredefinedStation( String id, DockSituation situation ){
        if( stations != null ){
          for( DockLayoutComposition station : stations.values() ){
            DockLayoutComposition result = getPredefinedStation( id, station, situation );
            if( result != null ){
              return result;
            }
          }
        }
View Full Code Here

       
        // check children
        List<DockLayoutComposition> children = current.getChildren();
        if( children != null ){
          for( DockLayoutComposition child : children ){
            DockLayoutComposition result = getPredefinedStation( id, child, situation );
            if( result != null ){
              return result;
            }
          }
        }
View Full Code Here

TOP

Related Classes of bibliothek.gui.dock.layout.DockLayoutComposition

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.