Examples of View


Examples of org.sonatype.nexus.componentviews.View

    // A changed (and persisted) configuration created by an admin
    final ViewConfig config = mock(ViewConfig.class);

    final ViewFactory factory = factorySource.getFactory(config.getFactoryName());
    final View newView = factory.createView(config);

    // De-register the existing view
    final View existingView = viewRegistry.findViewByName(config.getViewName());
    if (existingView != null) {
      viewRegistry.unregisterView(existingView);
    }
    // Register its replacement
    viewRegistry.registerView(newView);
View Full Code Here

Examples of org.springframework.data.couchbase.core.view.View

   */
  private ResolvedView determineView() {
    String designDocument = entityInformation.getJavaType().getSimpleName().toLowerCase();
    String viewName = "all";

    final View view = viewMetadataProvider.getView();

    if (view != null) {
      designDocument = view.designDocument();
      viewName = view.viewName();
    }

    return new ResolvedView(designDocument, viewName);
  }
View Full Code Here

Examples of org.springframework.richclient.application.View

    }

    private View showView(ViewDescriptor viewDescriptor, boolean setInput, Object input) {
        Assert.notNull(viewDescriptor, "viewDescriptor cannot be null");

        View view = (View) findPageComponent(viewDescriptor.getId());
        if (view == null) {
            view = (View) createPageComponent(viewDescriptor);

            if (setInput) {
                // trigger control creation before input is set to avoid npe
                view.getControl();
               
                view.setInput(input);
            }

            addPageComponent(view);
        } else {
            if (setInput) {
                view.setInput(input);
            }
        }
        setActiveComponent(view);
       
        return view;
View Full Code Here

Examples of org.springframework.web.servlet.View

  @Test
  public void test() throws Exception
  {

    View view = createStrictMock(View.class);
    Map model = createStrictMock(Map.class);
    ActionContext context = createStrictMock(ActionContext.class);
    HttpServletRequest request = createStrictMock(HttpServletRequest.class);
    HttpServletResponse response = createStrictMock(HttpServletResponse.class);

    SpringRenderingViewAdapter va = new SpringRenderingViewAdapter(view, model);

    expect(context.getRequest()).andReturn(request);
    expect(context.getResponse()).andReturn(response);
    view.render(model, request, response);

    replay(context);
    replay(view);
    replay(model);
View Full Code Here

Examples of org.springframework.webflow.execution.View

        context.getExternalContext().requestFlowExecutionRedirect();
        if (popup) {
          context.getExternalContext().requestRedirectInPopup();
        }
      } else {
        View view = viewFactory.getView(context);
        render(context, view);
      }
    }
  }
View Full Code Here

Examples of org.structr.common.View

      }

      for (Map.Entry<Field, View> entry : views.entrySet()) {

        Field field = entry.getKey();
        View view = entry.getValue();

        for (PropertyKey propertyKey : view.properties()) {

          // register field in view for entity class and declaring superclass
          registerPropertySet(field.getDeclaringClass(), view.name(), propertyKey);
          registerPropertySet(type, view.name(), propertyKey);
        }
      }

    } catch (Throwable t) {
      logger.log(Level.SEVERE, "Unable to register type {0}: {1}", new Object[]{type, t.getMessage()});
View Full Code Here

Examples of org.thechiselgroup.choosel.core.client.visualization.View

            popup = null;
        }
    }

    private boolean isValidDrop(ResourceSetAvatar avatar) {
        View view = viewAccessor.findView(getDropTarget());
        assert view != null;

        VisualizationModel model = view.getModel();
        assert model != null;

        return capabilityChecker.isValidDrop(model.getSlots(),
                avatar.getResourceSet());
    }
View Full Code Here

Examples of org.timepedia.chronoscope.client.canvas.View

        || domainX > plotDomainEnd && myDomainEnd > plotDomainEnd) {
      return;
    }

    if (markerProperties == null) {
      View view = plot.getChart().getView();
      markerProperties = view.getGssProperties(this, "");
      markerLabelProperties = view
          .getGssProperties(new GssElementImpl("label", this), "");
    }

    if (!markerProperties.visible) {
      return;
View Full Code Here

Examples of org.uiautomation.ios.inspector.views.View

  @Override
  protected void doGet(HttpServletRequest req, HttpServletResponse response) throws IOException {
    response.setCharacterEncoding("UTF-8");
    try {
      IDECommandController controller = getController(req.getPathInfo());
      View view = controller.handle(req);
      view.render(response);
    } catch (Exception e) {
      log.log(Level.SEVERE, "ide process error", e);
    }
  }
View Full Code Here

Examples of org.waveprotocol.wave.client.wavepanel.view.View

    d.appendXml(XmlStringBuilder.createFromXmlString("<body><line></line>" + msg + "</body>"));
  }

  /** Completely re-renders the wave, producing a new view. */
  private View render() {
    View view = FakeRenderer.create(wave).render(wave);
    timer.tick(1); // Flush profile rendering.
    return view;
  }
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.