Package org.woped.config

Examples of org.woped.config.ConfigurationDocument


   * @param confDoc
   * @return
   */
  public boolean readConfig(XmlObject configDoc) {
    // Create an instance of a type generated from schema to hold the XML.
    ConfigurationDocument confDoc = (ConfigurationDocument)configDoc;
    ConfigurationDocument.Configuration config;

    if (confDoc != null && (config = confDoc.getConfiguration()) != null) {
      // MAC, WIN, Linux and XPlatform LookAndFeel
      String lafConf = config.getGui().getWindow().getLookAndFeel();
      setLookAndFeel(lafConf);

      setWindowX(config.getGui().getWindow().getX());
View Full Code Here


   * Returns the home directory.
   *
   * @return String
   */
  public String getHomedir() {
    ConfigurationDocument confDoc = getConfDocument();
    return confDoc.getConfiguration().getGeneral().getHomedir();
  }
View Full Code Here

TOP

Related Classes of org.woped.config.ConfigurationDocument

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.