Examples of DCModule


Examples of net.datacrow.core.modules.DcModule

      task.start();
    }
  }
 
  private void add() {
    DcModule module = DcModules.get(moduleIdx);
    DcObject dco = module.getItem();
    if (module.isChildModule()) {
        String parentID;
      if (DcSwingUtilities.getRootFrame() instanceof ItemForm)
        parentID = ((ItemForm) DcSwingUtilities.getRootFrame()).getItem().getID();
      else
        parentID = module.getParent().getCurrentSearchView().getSelectedItem().getID();
     
      dco.setValue(dco.getParentReferenceFieldIndex(), parentID);
     
      if (dco.getModule().getIndex() == DcModules._AUDIOTRACK)
        dco.setValue(AudioTrack._F_TRACKNUMBER, Long.valueOf(table.getRowCount() + 1));
View Full Code Here

Examples of net.datacrow.core.modules.DcModule

         * MAIN PANEL
         **********************************************************************/

        JTabbedPane tp = ComponentFactory.getTabbedPane();
       
        DcModule module = DcModules.get(DcSettings.getInt(DcRepository.Settings.stModule));
        panelDefinitionsParent = new DefinitionPanel(module);

        tp.addTab(DcResources.getText("lblXFields", module.getLabel()), panelDefinitionsParent);

        if (module.getChild() != null) {
            panelDefinitionsChild = new DefinitionPanel(module.getChild());
            tp.addTab(DcResources.getText("lblXFields", module.getChild().getLabel()), panelDefinitionsChild);
        }

        getContentPane().add(tp, Layout.getGBC(0, 0, 1, 1, 10.0, 10.0,
                             GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH,
                             new Insets(5, 5, 5, 5), 0, 0));
View Full Code Here

Examples of net.datacrow.core.modules.DcModule

        if (getSelectedModule() == -1) {
            DcSwingUtilities.displayMessage("msgSelectModuleFirst");
            return null;
        }
       
        DcModule module = DcModules.get(getSelectedModule());
        return module == null ? DcModules.getPropertyBaseModule(getSelectedModule()) : module;
    }
View Full Code Here

Examples of org.eobjects.datacleaner.guice.DCModule

   */
  public void openJob(final File file, final AnalysisJobBuilder ajb) {
    _userPreferences.setAnalysisJobDirectory(file.getParentFile());
    _userPreferences.addRecentJobFile(file);

    Injector injector = Guice.createInjector(new DCModule(_parentModule, ajb) {
      public String getJobFilename() {
        return file.getName();
      };
    });

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.