Package org.ribax.data

Examples of org.ribax.data.DataModelManager


                    getContentPane().add(folders.elementAt(0), BorderLayout.CENTER);
                } else if ("configuration".equals(el.getName())) { //$NON-NLS-1$
                    readConfiguration(el);

                } else if ("dataModel".equals(el.getName())) { //$NON-NLS-1$
                    DataModelManager mgr = DataModelManager.getInstance();
                    mgr.readModel(el, ""); //$NON-NLS-1$
                }
            }

            String windowTitle = XMLutils.getElementString("title",root); //$NON-NLS-1$
View Full Code Here


      
       if (dms != null && dms.size() > 0) {
         Iterator<Element> iterator = dms.iterator();
           
            // get a handle in the DataModelManager singleton instance
        DataModelManager mgr = DataModelManager.getInstance();
       
        String path = getPath();
        // iterate through each data model specification adding them to the
            // data model manager instance
        while (iterator.hasNext()) {
          e = iterator.next();

          mgr.readModel(e, path);
        }
       }
      
        // get the name of a data model for this DataItem
       String modelName;
        if ((modelName = getElementValue("modelName",di)) != null) {  //$NON-NLS-1$
         DataModelManager mgr = DataModelManager.getInstance();
        
         model = mgr.getModel(modelName);
           
         if (model == null) {
                LOG.error(Messages.getString("DataItem.16")+modelName); //$NON-NLS-1$
            }
        }
View Full Code Here

            // split the model name into model_name and model_path
            String els[] = modelName.split(":",2); //$NON-NLS-1$
           
            if (els[0] != null && els[1] != null) {
                // get the model from the DataModel manager
                DataModelManager mgr = DataModelManager.getInstance();
               
                DataModel mod = mgr.getModel(els[0]);
               
                if (mod == null) {
                    LOG.error(Messages.getString("DataSetDataItem.26")+els[0]); //$NON-NLS-1$
                } else {
                    try {
View Full Code Here

TOP

Related Classes of org.ribax.data.DataModelManager

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.