Examples of eAdapters()


Examples of org.locationtech.udig.project.internal.render.RenderExecutor.eAdapters()

    /**
     * @param renderer
     */
    protected RenderExecutor createRenderExecutor( Renderer renderer ) {
         final RenderExecutor executor = RenderFactory.eINSTANCE.createRenderExecutor(renderer);
        executor.eAdapters().add(new RenderListenerAdapter(){

            /**
             * @see org.locationtech.udig.project.internal.render.RenderListenerAdapter#renderDisposed(org.eclipse.emf.common.notify.Notification)
             */
            protected void renderDisposed( Notification msg ) {
View Full Code Here

Examples of org.locationtech.udig.project.internal.render.RenderExecutor.eAdapters()

     * @param renderer
     */
    protected RenderExecutor createRenderExecutor( Renderer renderer ) {
         final RenderExecutor executor = RenderFactory.eINSTANCE.createRenderExecutor(renderer);
        
        executor.eAdapters().add(new RenderListenerAdapter(){

            /**
             * @see org.locationtech.udig.project.internal.render.RenderListenerAdapter#renderDisposed(org.eclipse.emf.common.notify.Notification)
             */
            protected void renderDisposed( Notification msg ) {
View Full Code Here

Examples of org.locationtech.udig.project.internal.render.impl.CompositeRendererImpl.eAdapters()

                    }
                }
                };
        map.getRenderManagerInternal().eAdapters().add( adapterImpl);
        CompositeRendererImpl compRenderer = (CompositeRendererImpl)map.getRenderManagerInternal().getRenderExecutor().getRenderer();
        compRenderer.eAdapters().add(adapterImpl);
        List<Renderer> renderers = compRenderer.children();
        for( Renderer renderer : renderers ) {
            renderer.eAdapters().add(listener);
        }
        CompositeRenderContext compContext = ((CompositeRenderContext)map.getRenderManagerInternal().getRenderExecutor().getContext());
View Full Code Here

Examples of org.locationtech.udig.project.internal.render.impl.RenderExecutorComposite.eAdapters()

       
        renderer.setName(Messages.RenderManagerDynamic_allLayers);
       
        RenderExecutorComposite renderExecutor = (RenderExecutorComposite)RenderFactory.eINSTANCE.createRenderExecutor(renderer);
        renderExecutor.setName("Tiled (" + bounds.hashCode() + "): " + bounds.toString()); //$NON-NLS-1$ //$NON-NLS-2$
        renderExecutor.eAdapters().add(renderExecutorListener);
       
        return renderExecutor;
    }

  
View Full Code Here

Examples of org.openhab.model.rule.rules.RuleModel.eAdapters()

   */
  public static synchronized IEvaluationContext getContext(Rule rule) {
      RuleModel ruleModel = (RuleModel) rule.eContainer();

      // check if a context already exists on the resource
      for(Adapter adapter : ruleModel.eAdapters()) {
      if(adapter instanceof RuleContextAdapter) {
        return ((RuleContextAdapter) adapter).getContext();
      }
    }
   
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.