Package org.araneaframework

Examples of org.araneaframework.Relocatable$RelocatableWidget


  protected void _relocateComponent(Composite parent, Environment newEnv, Object keyFrom, Object keyTo) throws Exception {
    if (!(parent._getComposite().getChildren().get(keyFrom) instanceof Relocatable)) {
      throw new AraneaRuntimeException("Child "+keyFrom+" not an instance of Relocatable");
    }
   
    Relocatable comp = (Relocatable) parent._getComposite().detach(keyFrom);
    comp._getRelocatable().overrideEnvironment(newEnv);
   
    children.put(keyTo, comp);
  }
View Full Code Here

TOP

Related Classes of org.araneaframework.Relocatable$RelocatableWidget

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.