Examples of addModuleListener()


Examples of com.intellij.openapi.module.ModuleManager.addModuleListener()

        final ModuleManager moduleMgr = ModuleManager.getInstance(pProject);
        final Module[] modules = moduleMgr.getModules();
        for (Module module : modules)
            add(new SynchronizeWithModuleAction(module));

        moduleMgr.addModuleListener(new ModuleListener() {
            public void moduleAdded(Project project, Module module) {
                add(new SynchronizeWithModuleAction(module));
            }

            public void beforeModuleRemoved(Project project, Module module) {
View Full Code Here

Examples of org.jboss.gravia.runtime.ModuleContext.addModuleListener()

                    removeRuntimeResource(module.getIdentity());
                }
            }
        };
        ModuleContext syscontext = runtime.getModuleContext();
        syscontext.addModuleListener(listener);
    }

    public static RuntimeEnvironment assertRuntimeEnvironment(Environment env) {
        if (!(env instanceof RuntimeEnvironment))
            throw new IllegalArgumentException("Not an RuntimeEnvironment: " + env);
View Full Code Here

Examples of org.jboss.gravia.runtime.ModuleContext.addModuleListener()

                    removeRuntimeResource(module.getIdentity());
                }
            }
        };
        ModuleContext syscontext = runtime.getModuleContext();
        syscontext.addModuleListener(listener);
    }

    public static RuntimeEnvironment assertRuntimeEnvironment(Environment env) {
        if (!(env instanceof RuntimeEnvironment))
            throw new IllegalArgumentException("Not an RuntimeEnvironment: " + env);
View Full Code Here

Examples of org.jboss.gravia.runtime.ModuleContext.addModuleListener()

                    removeRuntimeResource(module.getIdentity());
                }
            }
        };
        ModuleContext syscontext = runtime.getModuleContext();
        syscontext.addModuleListener(listener);
    }

    public static RuntimeEnvironment assertRuntimeEnvironment(Environment env) {
        if (!(env instanceof RuntimeEnvironment))
            throw new IllegalArgumentException("Not an RuntimeEnvironment: " + env);
View Full Code Here

Examples of org.jboss.gravia.runtime.ModuleContext.addModuleListener()

                    removeRuntimeResource(module.getIdentity());
                }
            }
        };
        ModuleContext syscontext = runtime.getModuleContext();
        syscontext.addModuleListener(listener);
    }

    public static RuntimeEnvironment assertRuntimeEnvironment(Environment env) {
        if (!(env instanceof RuntimeEnvironment))
            throw new IllegalArgumentException("Not an RuntimeEnvironment: " + env);
View Full Code Here

Examples of y.module.LayoutModule.addModuleListener()

        // getGraphElementsVisibilityController().updateGraphElementsVisibility();
        final DependencyGraph graph = (DependencyGraph) fGraphView.getGraph2D();
        if (doLayout) {
            final LayoutModule layoutModule = graph.getLayoutModule();

            layoutModule.addModuleListener(new ModuleListener() {
                public void moduleEventHappened(ModuleEvent event) {
                    if (event.getEventType() == ModuleEvent.TYPE_MODULE_MAIN_RUN_FINISHED) {
                        if (postLayout != null) {
                            postLayout.updateSelection();
                        }
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.