Package org.jdesktop.wonderland.client.content

Examples of org.jdesktop.wonderland.client.content.ContentImportManager


        plugin.cleanup();
    }

    protected void register() {
        LoaderManager.getLoaderManager().activateLoader(this);
        ContentImportManager cim = ContentImportManager.getContentImportManager();
        cim.registerContentImporter(importer);
    }
View Full Code Here


        cim.registerContentImporter(importer);
    }

    protected void unregister() {
        LoaderManager.getLoaderManager().deactivateLoader(this);
        ContentImportManager cim = ContentImportManager.getContentImportManager();
        cim.unregisterContentImporter(importer);
    }
View Full Code Here

        plugin.cleanup();
    }

    public void register() {
        LoaderManager.getLoaderManager().activateLoader(this);
        ContentImportManager cim = ContentImportManager.getContentImportManager();
        cim.registerContentImporter(importer);
    }
View Full Code Here

        cim.registerContentImporter(importer);
    }

    public void unregister() {
        LoaderManager.getLoaderManager().deactivateLoader(this);
        ContentImportManager cim = ContentImportManager.getContentImportManager();
        cim.unregisterContentImporter(importer);
    }
View Full Code Here

            return;
        }

        // Otherwise, ask the content manager for whom handles this kind of
        // file and dispatch there.
        ContentImportManager cim = ContentImportManager.getContentImportManager();
        final ContentImporterSPI importer = cim.getContentImporter(extension, true);
        if (importer == null) {
            logger.warning("No importer found for " + file.getAbsolutePath());
            return;
        }
View Full Code Here

        plugin.cleanup();
    }

    protected void register() {
        LoaderManager.getLoaderManager().activateLoader(this);
        ContentImportManager cim = ContentImportManager.getContentImportManager();
        cim.registerContentImporter(importer);
    }
View Full Code Here

        cim.registerContentImporter(importer);
    }

    protected void unregister() {
        LoaderManager.getLoaderManager().deactivateLoader(this);
        ContentImportManager cim = ContentImportManager.getContentImportManager();
        cim.unregisterContentImporter(importer);
    }
View Full Code Here

    /**
     * Called when our session manager becomes primary. Set the default
     * importer to this one.
     */
    public void register() {
        ContentImportManager cim = ContentImportManager.getContentImportManager();
        cim.setDefaultContentImporter(this);
    }
View Full Code Here

    /**
     * Called when our session manager is no longer primary.  Reset the
     * default importer back to null
     */
    public void unregister() {
        ContentImportManager cim = ContentImportManager.getContentImportManager();
        if (cim.getDefaultContentImporter() == this) {
            cim.setDefaultContentImporter(null);
        }
    }
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.client.content.ContentImportManager

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.