Package org.eobjects.analyzer.connection

Examples of org.eobjects.analyzer.connection.DatastoreCatalog


    _windowContext = windowContext;
    _transformerJobBuilderPresenter = transformerJobBuilderPresenter;
    _analysisJobBuilder = analysisJobBuilder;
    _transformerJobBuilder = transformerJobBuilder;

    final DatastoreCatalog datastoreCatalog = DCConfiguration.get().getDatastoreCatalog();
    final ReferenceDataCatalog referenceDataCatalog = DCConfiguration.get().getReferenceDataCatalog();

    _lifeCycleHelper = new LifeCycleHelper(datastoreCatalog, referenceDataCatalog);
  }
View Full Code Here


    _windowContext = windowContext;
    _userPreferences = userPreferences;
    _databaseDriverCatalog = databaseDriverCatalog;
    setLayout(new BorderLayout());

    DatastoreCatalog datastoreCatalog = configuration.getDatastoreCatalog();
    String[] datastoreNames = datastoreCatalog.getDatastoreNames();
    for (String name : datastoreNames) {
      Datastore datastore = datastoreCatalog.getDatastore(name);
      if (datastore instanceof JdbcDatastore) {
        String driverClass = ((JdbcDatastore) datastore).getDriverClass();
        if (driverClass != null) {
          _usedDriverClassNames.add(driverClass);
        }
View Full Code Here

      final Injector injector = Guice.createInjector(new DCModule(configuration));

      final AnalysisJobBuilderWindow analysisJobBuilderWindow = injector.getInstance(AnalysisJobBuilderWindow.class);

      if (_options.isSingleDatastoreMode()) {
        DatastoreCatalog datastoreCatalog = configuration.getDatastoreCatalog();
        Datastore singleDatastore = _options.getSingleDatastore(datastoreCatalog);
        if (singleDatastore == null) {
          logger.info("Single datastore mode was enabled, but datastore was null!");
        } else {
          logger.info("Initializing single datastore mode with {}", singleDatastore);
View Full Code Here

  private DCPanel createButtonPanel(final OutputAnalyzerResult result) {
    final DCPanel panel = new DCPanel();
    panel.setLayout(new FlowLayout(Alignment.LEFT.getFlowLayoutAlignment(), 0, 4));

    final AnalyzerBeansConfiguration configuration = DCConfiguration.get();
    final DatastoreCatalog datastoreCatalog = configuration.getDatastoreCatalog();
    final Datastore datastore = result.getDatastore(datastoreCatalog);
    final Insets buttonMargin = new Insets(1, 4, 1, 4);
    if (datastore != null && datastore.getName() != null) {
      final Datastore ds = datastoreCatalog.getDatastore(datastore.getName());
      if (!datastore.equals(ds)) {
        final JButton addDatastoreButton = new JButton("Add to datastores",
            imageManager.getImageIcon("images/actions/add.png"));
        addDatastoreButton.setMargin(buttonMargin);
        addDatastoreButton.addActionListener(new ActionListener() {
View Full Code Here

TOP

Related Classes of org.eobjects.analyzer.connection.DatastoreCatalog

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.