Package bibliothek.gui.dock.common.perspective

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


              }
            }
           
            if( id != null ){
               ExtendedMode current = manager.getMode( dockable.intern().asDockable() );
               LocationHistory history = dockable.getLocationHistory();
               List<Path> order = history.getOrder();
               Map<Path, Location> locations = history.getLocations();
               modes.add( id, current == null ? null : current.getModeIdentifier(), locations, order );
            }
          }
        }
      }
View Full Code Here


              int index = modes.indexOf( id );
              if( index != -1 ){
               
                Path[] order = modes.getHistory( index );
                Map<Path, Location> locations = modes.getProperties( index );
                LocationHistory history = dockable.getLocationHistory();
                for( Path item : order ){
                  ExtendedMode mode = getMode( item );
                  if( mode == null ){
                    throw new IllegalStateException( "unknown ExtendedMode with id='" + item + "'" );
                  }
                  Location location = locations.get( item );
                  if( location != null ){
                    history.add( mode, location );
                  }
                }
              }
            }
          }
View Full Code Here

TOP

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

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.