Examples of intern()


Examples of bibliothek.gui.Dockable.intern()

              if( dockable != null ){
                allDockables.add( dockable );
              }
            }
            for( MultipleCDockable dockable : control.getRegister().getMultipleDockables() ){
              allDockables.add( dockable.intern() );
            }
           
            PredefinedDockSituation predefined = (PredefinedDockSituation)situation;
            Set<Dockable> visible = predefined.listVisible( allDockables, layout );
           
View Full Code Here

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

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

          }
          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

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

      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

Examples of bibliothek.gui.dock.common.action.CAction.intern()

    CAction result = dockable.getAction( key );
    if( result == null ){
      return defaultAction;
    }
   
    return result.intern();
  }
 
  public DockAction getDockAction( int index ){
    if( index != 0 )
      throw new IllegalArgumentException( "only index=0 supported" );
View Full Code Here

Examples of bibliothek.gui.dock.common.action.CAction.intern()

    CAction action = dockable.getAction( CDockable.ACTION_KEY_MINIMIZE_HOLD );
    if( action == null ){
      handle.resetHoldAction();
    }
    else{
      handle.getActions().setHoldAction( action.intern() );
    }
  }
 
  @Override
  public Rectangle getExpansionBounds() {
View Full Code Here

Examples of bibliothek.gui.dock.common.action.CAction.intern()

        DockAction next = null;
        if( control != null ){
            if( dockable.isCloseable() ){
                CAction cnext = dockable.getAction( CDockable.ACTION_KEY_CLOSE );
                if( cnext != null )
                    next = cnext.intern();
                else
                    next = control.createCloseAction( dockable );
            }
        }
       
View Full Code Here

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

    if( info != null ){
      DockLayout<?> data = info.getDataLayout();
      if( data != null ){
        if( REPLACEMENT_FACTORY_ID.equals( data.getFactoryID() )){
          CDockable dockable = (CDockable)data.getData();
          visible.add( dockable.intern() );
        }
      }
    }
   
    for( DockLayoutComposition child : layout.getChildren() ){
View Full Code Here

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

              for( int i = history.length-1; i >= 0; i-- ){
                Dockable next = history[i];
                if( next instanceof CommonDockable ){
                  CDockable cdockable = ((CommonDockable)next).getDockable();
                  if( cdockable.getExtendedMode() != ExtendedMode.MINIMIZED ){
                    getController().setFocusedDockable( cdockable.intern(), true );
                  }
                }
              }
            }
          }
View Full Code Here

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

                    control.addDockable( (MultipleCDockable)dockable );
                  }
                }
            }
           
            intern[i] = dockable.intern();
        }
       
        grid.addDockable( x, y, width, height, intern );
    }
   
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.