Package bibliothek.gui.dock.common

Examples of bibliothek.gui.dock.common.SingleCDockable.intern()


       
        SingleCDockable dockable = backup.createBackup( layout.getId() );
        if( dockable == null )
            return null;
       
        String factoryId = dockable.intern().getFactoryID();
        if( !factoryId.equals( getID() )){
          throw new IllegalArgumentException( "Wrong type of dockable for unique id '" + layout.getId() + "': The backup factory created a dockable which expects a factory with type-id '" + factoryId +
              "',  but the call was done from a factory with type-id '" + getID() + "'" );
        }
       
View Full Code Here


          }
          else{
            dockable.setWorkingArea( null );
          }
        }
        return dockable.intern();
    }
   
    public CommonElementPerspective layoutPerspective( CommonSingleDockableLayout layout, Map<Integer, PerspectiveDockable> children ){
      SingleCDockablePerspective dockable = new SingleCDockablePerspective( layout.getId() );
      if( layout.isAreaSet() && layout.getArea() != null ){
View Full Code Here

      SingleCDockable dockable = factory.createBackup( id );
      if( dockable == null ){
        return null;
      }
     
        String factoryId = dockable.intern().getFactoryID();
        if( !factoryId.equals( getID() )){
          throw new IllegalArgumentException( "Wrong type of dockable for unique id '" + id + "': The backup factory created a dockable which expects a factory of type '" + factoryId +
              "',  but the call was done from a factory of type '" + getID() + "'" );
        }
       
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.