Examples of ComponentManager


Examples of com.atlassian.jira.ComponentManager

      if (user == null) {
        log.error("Cannot find user " + slaServiceUser);
      }

      // Get a search request service to use for searching
      final ComponentManager componentManager = ComponentManager.getInstance();
      final SearchService searchService = componentManager.getSearchService();
      final ProjectManager projectManager = componentManager.getProjectManager();
      final IssueTypeSchemeManager issueTypeSchemeManager = componentManager.getIssueTypeSchemeManager();
      final EventTypeManager eventTypeManager = componentManager.getEventTypeManager();
      final CustomFieldManager customFieldManager = componentManager.getCustomFieldManager();

      initialiseEventTypeIds(eventTypeManager);

      // create service context to execute search with
      JiraServiceContextImpl jiraServiceContextImpl = new JiraServiceContextImpl(user);
View Full Code Here

Examples of com.day.cq.wcm.api.components.ComponentManager

        int componentsWithoutIcons = 0;

        ResourceResolver resolver = null;
        try {
            resolver = rrFactory.getAdministrativeResourceResolver(null);
            ComponentManager compManager = resolver.adaptTo(ComponentManager.class);

            Collection<Component> components = compManager.getComponents();
            for (Component component : components) {
                String path = component.getPath();
                if (StringUtils.startsWithAny(path, paths)) {
                    String iconPath = component.getIconPath();
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.ComponentManager

        DateTimeFormat dateTimeFormat = DateTimeFormat.getFormat(Constants.DATE_FORMAT);
        NumberFormat numberFormat = NumberFormat.getFormat(Constants.NUMBER_FORMAT);
        // bus.fireEvent(new DeductionGridUpdateEvent(centerPanel.getDeductionDtoList()));
        // Information Generals
        String chainter = navigation.getContext().getCurrentChantier().getNom();
        ComponentManager componentManager = ComponentManager.get();
        TextField<String> societte = (TextField<String>) componentManager.get("INFORMATION_PANEL_SOCIETE_ID");
        TextField<String> lot = (TextField<String>) componentManager.get("INFORMATION_PANEL_LOT_ID");
        ComboBox<LotTypeDto> lotType = (ComboBox<LotTypeDto>) componentManager.get("INFORMATION_PANEL_LOT_TYPE_ID");
        TextField<String> sitravaux = (TextField<String>) componentManager.get("INFORMATION_PANEL_SITRAVAUX_ID");
        NumberField montant = (NumberField) componentManager.get("INFORMATION_PANEL_MONTANT_ID");
       
        // Conditions Particilifers
        ComboBox<SimpleDto> simpleDto = (ComboBox<SimpleDto>) componentManager.get("INFORMATION_PANEL_PAYMENT_ID");
        NumberField rg = (NumberField) componentManager.get("INFORMATIONAL_PANEL_RG_ID");
        ComboBox<SimpleDto> decennalenecessaire = (ComboBox<SimpleDto>) componentManager.get("INFORMATIONAL_PANEL_DECENNALENECESSAIRE_ID");
        ComboBox<SimpleDto> demandedagrement = (ComboBox<SimpleDto>) componentManager.get("INFORMATIONAL_PANEL_DEMANDEDAGREMENT_ID");
        ComboBox<SimpleDto> dgdpresente = (ComboBox<SimpleDto>) componentManager.get("INFORMATIONAL_PANEL_DGDPRESENTE_ID");
        DateField dgdpresentedate = (DateField) componentManager.get("INFORMATIONAL_PANEL_DGDPRESENTEDATE_ID");
        // Presation
        NumberField pilotage = (NumberField) componentManager.get("INFORMATIONAL_PANEL_PILOTAGE_ID");
        NumberField assurances = (NumberField) componentManager.get("INFORMATIONAL_PANEL_ASSURANCES_ID");
        NumberField prorata = (NumberField) componentManager.get("INFORMATIONAL_PANEL_PRORATE_ID");
        NumberField canto = (NumberField) componentManager.get("INFORMATIONAL_PANEL_CANTO_ID");
        NumberField badge = (NumberField) componentManager.get("INFORMATIONAL_PANEL_BADGE_ID");
        NumberField grue = (NumberField) componentManager.get("INFORMATIONAL_PANEL_GRUE_ID");
        NumberField lift = (NumberField) componentManager.get("INFORMATIONAL_PANEL_LIFT_ID");
        NumberField benne = (NumberField) componentManager.get("INFORMATIONAL_PANEL_BENNE_ID");
        NumberField netoyage = (NumberField) componentManager.get("INFORMATIONAL_PANEL_NETOYAGE_ID");
        // Information Commemlaires
        LabelField conducteur = (LabelField) componentManager.get("INFORMATIONAL_PANEL_CONDUCTEUR_ID");
        DateField dateOfMarket = (DateField) componentManager.get("INFORMATIONAL_PANEL_DATEOFMARKET_ID");
       
        List<NameValuePair> values = new ArrayList<NameValuePair>();
       
        // Add General Information
        String lotype = lotType.getValue() != null ? lotType.getValue().getName() : "";
View Full Code Here

Examples of com.opengamma.component.ComponentManager

    DBTestUtils.cleanUp(CONFIG_RESOURCE_LOCATION);
  }

  //-------------------------------------------------------------------------
  public void test() throws Exception {
    ComponentManager manager = new ComponentManager("test");
    manager.start(CONFIG_RESOURCE_LOCATION);
   
    RemoteComponentServer remoteServer = new RemoteComponentServer(URI.create("http://localhost:" + getJettyPort() + "/jax"));
    assertTrue(remoteServer.getComponentServer().getComponentInfos().size() > 0);
   
    manager.getRepository().stop();
  }
View Full Code Here

Examples of net.sf.jasperreports.engine.component.ComponentManager

    JRComponentElement componentElement = (JRComponentElement) element;
    JRPrintElement converted = null;
    ComponentKey componentKey = componentElement.getComponentKey();
    if (componentKey != null)
    {
      ComponentManager manager = ComponentsEnvironment.getComponentManager(
          componentKey);
      if (manager != null && manager.getDesignConverter() != null)
      {
        // convert using the component converter
        converted = manager.getDesignConverter().convert(reportConverter,
            componentElement);
      }
    }
   
    if (converted == null)
View Full Code Here

Examples of net.sf.jasperreports.engine.component.ComponentManager

  public void collect(JRComponentElement componentElement)
  {
    collectElement(componentElement);
   
    ComponentKey componentKey = componentElement.getComponentKey();
    ComponentManager manager = ComponentsEnvironment.getComponentManager(componentKey);
    Component component = componentElement.getComponent();
    manager.getComponentCompiler().collectExpressions(component, this);
  }
View Full Code Here

Examples of net.sf.jasperreports.engine.component.ComponentManager

  {
    super(element, factory);
   
    componentKey = element.getComponentKey();
   
    ComponentManager manager = ComponentsEnvironment.getComponentManager(componentKey);
    component = manager.getComponentCompiler().toCompiledComponent(
        element.getComponent(), factory);
  }
View Full Code Here

Examples of net.sf.jasperreports.engine.component.ComponentManager

    return componentKey;
  }

  public void collectExpressions(JRExpressionCollector collector)
  {
    ComponentManager manager = ComponentsEnvironment.getComponentManager(componentKey);
    manager.getComponentCompiler().collectExpressions(component, collector);
  }
View Full Code Here

Examples of net.sf.jasperreports.engine.component.ComponentManager

      JRFillObjectFactory factory)
  {
    super(filler, element, factory);
   
    ComponentKey componentKey = element.getComponentKey();
    ComponentManager manager = ComponentsEnvironment.getComponentManager(componentKey);
    fillComponent = manager.getComponentFillFactory().toFillComponent(element.getComponent(), factory);
    fillComponent.initialize(this);
  }
View Full Code Here

Examples of net.sf.jasperreports.engine.component.ComponentManager

      JRFillCloneFactory factory)
  {
    super(element, factory);
   
    ComponentKey componentKey = element.getComponentKey();
    ComponentManager manager = ComponentsEnvironment.getComponentManager(componentKey);
    fillComponent = manager.getComponentFillFactory().cloneFillComponent(element.fillComponent, factory);
    fillComponent.initialize(this);
  }
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.