Package org.pentaho.ui.xul

Examples of org.pentaho.ui.xul.XulException


      final Document documentRoot = mainWizardContainer.getDocumentRoot();
      final XulComponent root = documentRoot.getRootElement();

      if (!(root instanceof XulDialog))
      {
        throw new XulException(Messages.getInstance().getString("EMBEDDED_WIZARD.Root_Error") + " " + root); //$NON-NLS-1$ //$NON-NLS-2$
      }

      dialog = (XulDialog) root;
      // This is a hack to get the JDialog (this wizard) to become the parent window of windows/dialogs
      // that the wizard creates.
View Full Code Here


      dialog = (XulDialog) root;
      dialog.setResizable(Boolean.TRUE);
    }
    else
    {
      throw new XulException("Error getting Xul Database Dialog root, element of type: " + root);
    }

    final ObjectFactory objectFactory = ClassicEngineBoot.getInstance().getObjectFactory();
    final IDatabaseDialectService dialectService = objectFactory.get(IDatabaseDialectService.class);
    this.databaseTypeHelper = new DatabaseTypeHelper(dialectService.getDatabaseTypes());
View Full Code Here

      final Document documentRoot = mainWizardContainer.getDocumentRoot();
      final XulComponent root = documentRoot.getRootElement();

      if (!(root instanceof XulDialog))
      {
        throw new XulException(Messages.getInstance().getString("EMBEDDED_WIZARD.Root_Error") + " " + root); //$NON-NLS-1$ //$NON-NLS-2$
      }

      dialog = (XulDialog) root;
      // This is a hack to get the JDialog (this wizard) to become the parent window of windows/dialogs
      // that the wizard creates.
View Full Code Here

      dialog = (XulDialog) root;
      dialog.setResizable(Boolean.TRUE);
    }
    else
    {
      throw new XulException("Error getting Xul Database Dialog root, element of type: " + root);
    }
  }
View Full Code Here

            }
          }
        }
        catch (Exception e)
        {
          designTimeContext.error(new XulException("Unable to parse database-URL, please report " +
              "your database driver to Pentaho to include it in our list of databases.", e));
          this.meta.setDatabaseType(DatabaseMapping.getGenericInterface().getPluginId());
          this.meta.getAttributes().put(GenericDatabaseMeta.ATRRIBUTE_CUSTOM_URL, jdbcDef.getConnectionString());
          this.meta.getAttributes().put(GenericDatabaseMeta.ATRRIBUTE_CUSTOM_DRIVER_CLASS, jdbcDef.getDriverClass());
        }
View Full Code Here

    {
      window = (XulWindow) root;
    }
    else
    {
      throw new XulException("Error getting Xul Database Dialog root, element of type: " + root);
    }

  }
View Full Code Here

      dialog = (XulDialog) root;
      dialog.setResizable(Boolean.TRUE);
    }
    else
    {
      throw new XulException("Error getting Xul Database Dialog root, element of type: " + root);
    }
  }
View Full Code Here

            }
          }
        }
        catch (Exception e)
        {
          designTimeContext.error(new XulException("Unable to parse database-URL, please report " +
              "your database driver to Pentaho to include it in our list of databases.", e));
          this.meta.setDatabaseType(DatabaseMapping.getGenericInterface().getPluginId());
          this.meta.getAttributes().put(GenericDatabaseMeta.ATRRIBUTE_CUSTOM_URL, jdbcDef.getConnectionString());
          this.meta.getAttributes().put(GenericDatabaseMeta.ATRRIBUTE_CUSTOM_DRIVER_CLASS, jdbcDef.getDriverClass());
        }
View Full Code Here

    {
      window = (XulWindow) root;
    }
    else
    {
      throw new XulException("Error getting Xul Database Dialog root, element of type: " + root);
    }

  }
View Full Code Here

TOP

Related Classes of org.pentaho.ui.xul.XulException

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.