Package bibliothek.gui.dock.common

Examples of bibliothek.gui.dock.common.MultipleCDockable


    public void estimateLocations( CommonMultipleDockableLayout layout, LocationEstimationMap children ){
      // currently not supported
    }

    public CommonMultipleDockableLayout getLayout( CommonDockable element, Map<Dockable, Integer> children ) {
        MultipleCDockable dockable = (MultipleCDockable)element.getDockable();
        MultipleCDockableLayout layout = delegate.write( dockable );
       
        CommonMultipleDockableLayout flayout = new CommonMultipleDockableLayout();
        flayout.setLayout( layout );
        String uniqueId = controlAccess.access( element.getDockable() ).getUniqueId();
View Full Code Here


        return layout( layout, placeholders );
    }

    public CommonDockable layout( CommonMultipleDockableLayout layout, PlaceholderStrategy placeholders ) {
        // base
        MultipleCDockable dockable = delegate.read( layout.getLayout() );
        if( dockable == null )
            return null;
       
        // id
        String id = layout.getId();
       
        MultipleCDockable oldDockable = controlAccess.getOwner().getMultipleDockable( id );
       
        if( oldDockable != null ){
          controlAccess.getOwner().replace( oldDockable, dockable );
        }
        else{
View Full Code Here

   
    DockLayoutInfo info = composition.getLayout();
    if( info != null ){
      DockLayout<?> layout = info.getDataLayout();
      if( layout != null ){
        MultipleCDockable match = setting.findMatch( layout );
        if( match != null ){
          DockLayout<?> newLayout = new DockLayout<MultipleCDockable>( REPLACEMENT_FACTORY_ID, match );
          DockLayoutInfo newInfo = new DockLayoutInfo( newLayout );
          newInfo.setLocation( info.getLocation() );
          info = newInfo;
View Full Code Here

        if( factory != null ){
          List<MultipleCDockable> list = remainingDockables.get( factoryId );
          if( list != null ){
            Iterator<MultipleCDockable> iterator = list.iterator();
            while( iterator.hasNext() ){
              MultipleCDockable next = iterator.next();
              if( factory.match( next, multipleLayout )){
                iterator.remove();
                if( list.isEmpty() ){
                  remainingDockables.remove( factoryId );
                }
View Full Code Here

TOP

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

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.