Package oracle.ide.model

Examples of oracle.ide.model.Workspace


        AdapterSettings.addFactory(new XMLDCDataControlObjectFactory());

        DTContext.setCurrentContextImpl(new DTContext() {
            public Context getConnectionContext() throws Exception {
                AppConnContext appConnCtx = AppConnContext.getInstance();
                Workspace workspace = Ide.getActiveWorkspace();
                appConnCtx.setCurrentWorkspace(workspace);
                return appConnCtx.getConnectionContext();
            }
        });
    }
View Full Code Here


     * @see ProjectRunClassPathClassLoaderUtils#getClassLoader
     */
    public static ClassLoader getDesignTimeClassLoader() {
        ClassLoader retval = Thread.currentThread().getContextClassLoader();
        // During design time we need to get all the classloaders from the active workspace
        final Workspace activeWorkspace = Ide.getActiveWorkspace();
        for (Object child : activeWorkspace.getListOfChildren()) {
            if (child instanceof Reference) {
                oracle.ide.model.Node node = ((Reference) child).getData();
                if (node instanceof Project) {
                    final Project project = (Project) node;
                    // Create a child classloader for the project with the current classloader as parent.
View Full Code Here

TOP

Related Classes of oracle.ide.model.Workspace

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.