Package bibliothek.gui.dock.facile.mode

Examples of bibliothek.gui.dock.facile.mode.Location


   
    public Runnable onApply( LocationModeEvent event ) {
      if( event.isDone() )
        return null;
     
      Location location = event.getLocation();
          Dockable dockable = event.getDockable();
     
      if( event.getMode().getUniqueIdentifier().equals( ExternalizedMode.IDENTIFIER )){
        CLocationMode last = manager.getCurrentMode( dockable );
        CLocationMode secondLast = manager.getPreviousMode( dockable );

        if( last != null && secondLast != null ){
          if( ExternalizedMode.IDENTIFIER.equals( secondLast.getUniqueIdentifier() ) &&
              MaximizedMode.IDENTIFIER.equals( last.getUniqueIdentifier() )){

            MaximizedModeArea area = maximizedMode.get( location.getRoot() );

            if( area == this ){
              dockable = maximizedMode.getMaximizingElement( dockable );
             
              area.setMaximized( dockable, false, null, event.getAffected() );
View Full Code Here

TOP

Related Classes of bibliothek.gui.dock.facile.mode.Location

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.