Package org.locationtech.udig.core.internal

Examples of org.locationtech.udig.core.internal.ExtensionPointProcessor


     * @return List of frends, possibly empty
     */
    public List<IResolve> friends( final IResolve handle ) {
        final List<IResolve> friends = new ArrayList<IResolve>();
        ExtensionPointUtil.process(CatalogPlugin.getDefault(),
                "org.locationtech.udig.catalog.friendly", new ExtensionPointProcessor(){ //$NON-NLS-1$
                    /**
                     * Lets find our friends.
                     */
                    public void process( IExtension extension, IConfigurationElement element )
                            throws Exception {
View Full Code Here


        if (configurationID != null && !configurationID.equals("")) {
            try {
                final Object[] configObj = new Object[1];
                final Throwable[] error = new Throwable[1];
                ExtensionPointProcessor p = new ExtensionPointProcessor(){

                    public void process( IExtension extension, IConfigurationElement element ) throws Exception {
                        try {
                            if (element.getAttribute(idField) != null && element.getAttribute(idField).equals(configurationID)) {
                                Object obj = element.createExecutableExtension(classField);
View Full Code Here

    private AOIProxy currentProxy;

    public AOIServiceImpl() {

        // process the extension point here to get the list of Strategies
        ExtensionPointProcessor processAOIItems = new ExtensionPointProcessor(){
            @Override
            public void process( IExtension extension, IConfigurationElement element )
                    throws Exception {
                AOIProxy proxy = new AOIProxy(element);
                proxyList.add(proxy);
View Full Code Here

     * the manager.
     */
    public static EditorPageManager loadManager(Plugin plugin, ILayer selectedLayer) {
        final EditorPageManager[] manager = new EditorPageManager[] {new EditorPageManager('.')};
       
        ExtensionPointProcessor extProcPage = new StyleEditorPageExtensionProcessor(manager, selectedLayer);
        ExtensionPointUtil.process(plugin, StyleEditorPage.XPID, extProcPage);
   
        ExtensionPointProcessor extProcConfigurator = new StyleConfiguratorExtensionProcessor(manager, selectedLayer);
        ExtensionPointUtil.process(plugin, IStyleConfigurator.XPID, extProcConfigurator);
        return manager[0];
    }
View Full Code Here

TOP

Related Classes of org.locationtech.udig.core.internal.ExtensionPointProcessor

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.