Package org.pentaho.aggdes.ui.model

Examples of org.pentaho.aggdes.ui.model.SchemaModel


  }
 
  public void deserializeConnection(Schema schema, String rdbmsXml, String schemaXml) {
    XStream xstream = getXStream(schema);
    DatabaseMeta databaseMeta = (DatabaseMeta)xstream.fromXML(rdbmsXml);
    SchemaModel schemaModel = (SchemaModel)xstream.fromXML(schemaXml);
   
    //save off cubeName since setSelectedSchemaModel will clear it out
    String cubeName = schemaModel.getCubeName();
   
    connectionModel.setDatabaseMeta(databaseMeta);
    connectionModel.setSelectedSchemaModel(schemaModel);
   
    connectionModel.setCubeName(cubeName);
View Full Code Here


    bf.createBinding(connectionModel, "connectEnabled", "connection_dialog_accept", "!disabled").fireSourceChanged();

    connectionModel.addPropertyChangeListener(new PropertyChangeListener() {
      public void propertyChange(PropertyChangeEvent evt) {
        if (evt.getPropertyName().equals("selectedSchemaModel")) {
          SchemaModel model = (SchemaModel) evt.getNewValue();
          // select the correct schema value
          for (SchemaProviderUiExtension extension : schemaProviders) {
            if (model != null && extension.supportsSchemaModel(model)) {
              selectedSchemaProvider = extension;
              extension.setSelected(true);
View Full Code Here

TOP

Related Classes of org.pentaho.aggdes.ui.model.SchemaModel

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.