Package bibliothek.gui.dock.common.perspective

Examples of bibliothek.gui.dock.common.perspective.MultipleCDockablePerspective


       
        return flayout;
    }

    public CommonMultipleDockableLayout getPerspectiveLayout( CommonElementPerspective element, Map<PerspectiveDockable, Integer> children ){
      MultipleCDockablePerspective dockable = (MultipleCDockablePerspective)element.getElement();
     
      MultipleCDockableLayout layout = dockable.getLayout();
       
        CommonMultipleDockableLayout flayout = new CommonMultipleDockableLayout();
        flayout.setLayout( layout );
        String uniqueId = perspectiveIdentifiers.getUniqueId( dockable );
        flayout.setId( uniqueId );
        if( dockable.getWorkingArea() != null )
            flayout.setArea( dockable.getWorkingArea().getUniqueId() );
       
        return flayout;
    }
View Full Code Here


       
        return flayout;
    }
   
  public void layoutPerspective( CommonElementPerspective perspective, CommonMultipleDockableLayout layout, Map<Integer, PerspectiveDockable> children ){
      MultipleCDockablePerspective multiple = (MultipleCDockablePerspective) perspective.getElement();
      multiple.setLayout( layout.getLayout() );
        perspectiveIdentifiers.putDockable( layout.getId(), multiple );
       
        // working area
        String areaId = layout.getArea();
        if( areaId != null ){
          multiple.setWorkingArea( perspectiveIdentifiers.getPerspective().getStation( areaId ) );
        }
    }
View Full Code Here

          multiple.setWorkingArea( perspectiveIdentifiers.getPerspective().getStation( areaId ) );
        }
    }
   
    public CommonElementPerspective layoutPerspective( CommonMultipleDockableLayout layout, Map<Integer, PerspectiveDockable> children ){
      MultipleCDockablePerspective perspective = new MultipleCDockablePerspective( getID(), layout.getId(), layout.getLayout() );
      layoutPerspective( perspective.intern(), layout, children );
      return perspective.intern();
    }
View Full Code Here

TOP

Related Classes of bibliothek.gui.dock.common.perspective.MultipleCDockablePerspective

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.