Examples of readConfiguration()


Examples of com.dci.intellij.dbn.common.environment.EnvironmentType.readConfiguration()

        if (environmentTypesElement != null) {
            environmentTypes.clear();
            for (Object o : environmentTypesElement.getChildren()) {
                Element environmentTypeElement = (Element) o;
                EnvironmentType environmentType = new EnvironmentType();
                environmentType.readConfiguration(environmentTypeElement);
                environmentTypes.add(environmentType);
            }
        }

        Element visibilitySettingsElement = element.getChild("visibility-settings");
View Full Code Here

Examples of com.dci.intellij.dbn.connection.config.ConnectionSettings.readConfiguration()

        Element connectionsElement = element.getChild("connections");
        if (connectionsElement != null) {
            for (Object o : connectionsElement.getChildren()) {
                Element connectionElement = (Element) o;
                ConnectionSettings connectionConfig = new ConnectionSettings(this);
                connectionConfig.readConfiguration(connectionElement);
                ConnectionHandler connectionHandler = new ConnectionHandlerImpl(this, connectionConfig);
                connectionHandlers.add(connectionHandler);
            }
        }
    }
View Full Code Here

Examples of com.dci.intellij.dbn.connection.config.ConnectionSettings.readConfiguration()

                int selectedIndex = list.getSelectedIndex();
                List<Integer> selectedIndexes = new ArrayList<Integer>();
                for (Element configElement : configElements) {
                    selectedIndex++;
                    ConnectionSettings clone = new ConnectionSettings(connectionBundle);
                    clone.readConfiguration(configElement);
                    clone.getDatabaseSettings().setNew(true);
                    connectionBundle.setModified(true);

                    clone.getDatabaseSettings().setNew(true);
                    String name = clone.getDatabaseSettings().getName();
View Full Code Here

Examples of com.dci.intellij.dbn.object.lookup.DBMethodRef.readConfiguration()

        compileDependencies = SettingsUtil.getBoolean(element, "compile-dependencies", true);
        MethodExecutionManager executionManager = MethodExecutionManager.getInstance(getProject());
        Element methodIdentifierElement = element.getChild("method-identifier");
        if (methodIdentifierElement != null) {
            DBMethodRef methodRef = new DBMethodRef();
            methodRef.readConfiguration(methodIdentifierElement);

            executionInput = executionManager.getExecutionInput(methodRef);
        }

        Element methodIdentifierHistoryElement = element.getChild("method-identifier-history");
View Full Code Here

Examples of com.sun.star.wizards.web.data.CGSession.readConfiguration()

            view = Configuration.getNode(sessionToLoad, view);
        }
       
        CGSession session = new CGSession();
        session.setRoot(settings);
        session.readConfiguration(view, CONFIG_READ_PARAM);
        task.setMax(session.cp_Content.cp_Documents.getSize() * 5 + 7);
        task.advance(true);
       
        if (sessionToLoad.equals(""))
              setSaveSessionName(session);
View Full Code Here

Examples of com.sun.star.wizards.web.data.CGSession.readConfiguration()

                view = Configuration.getNode(sessionToLoad, view);
            }

            CGSession session = new CGSession();
            session.setRoot(settings);
            session.readConfiguration(view, CONFIG_READ_PARAM);
            task.setMax(session.cp_Content.cp_Documents.getSize() * 5 + 7);
            task.advance(true);

            if (sessionToLoad.equals(""))
            {
View Full Code Here

Examples of java.util.logging.LogManager.readConfiguration()

      }
      try {
         InputStream in = url.openStream();

         LogManager logManager = LogManager.getLogManager();
         logManager.readConfiguration(in);
         in.close();

         // init from command line (or xmlBlaster.properties)
         synchronized (Global.class) {
            if (!logIsInitialized) {
View Full Code Here

Examples of java.util.logging.LogManager.readConfiguration()

            System.out.println("STARTUP: Trying to load logging configuration from file " + loggingConfigFile.toString());
            fileIn = new FileInputStream(loggingConfigFile);

            // loading the logger configuration from file
            final LogManager logManager = LogManager.getLogManager();
            logManager.readConfiguration(fileIn);

            // creating the logging directory
            String logPattern = logManager.getProperty("java.util.logging.FileHandler.pattern");
            int stripPos = logPattern.lastIndexOf(File.separatorChar);
            if (!new File(logPattern).isAbsolute()) logPattern = new File(dataPath, logPattern).getAbsolutePath();
View Full Code Here

Examples of java.util.logging.LogManager.readConfiguration()

            if (haveLoadedOurDefault || isDefaultJdkConfig()) {
                haveLoadedOurDefault = true;
                consoleHandler.setFormatter(
                        new BasicTextJdkLogFormatter(false));
                consoleHandler.setLevel(Level.INFO);
                lm.readConfiguration(
                        FrameworkLogger.class.getResourceAsStream(
                        "/org/hsqldb/resources/jdklogging-default.properties"));
                Logger cmdlineLogger = Logger.getLogger("org.hsqldb.cmdline");
                cmdlineLogger.addHandler(consoleHandler);
                cmdlineLogger.setUseParentHandlers(false);
View Full Code Here

Examples of java.util.logging.LogManager.readConfiguration()

                cmdlineLogger.addHandler(consoleHandler);
                cmdlineLogger.setUseParentHandlers(false);
            } else {
                // Do not intervene.  Use JDK logging exactly as configured by
                // user.
                lm.readConfiguration();
                // The only bad thing about doing this is that if the app has
                // programmatically changed the logging config after starting
                // the program but before using FrameworkLogger, we will
                // clobber those customizations.
            }
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.