Examples of IModule


Examples of com.google.gwt.eclipse.core.modules.IModule

    assert ((JavaProjectUtilities
        .isJavaProjectNonNullAndExists(javaProject)) && (GWTNature
        .isGWTProject(javaProject.getProject())));

    if (javaProject.getResource().isAccessible()) {
      IModule gwtUserModule = ModuleUtils.findModule(javaProject,
          "com.google.gwt.user.User", true);
      if (gwtUserModule != null)
        addModuleIfNotAlreadyInList(gwtUserModule);
    }
  }
View Full Code Here

Examples of com.google.gwt.eclipse.core.modules.IModule

  private void addModuleIfNotAlreadyInList(IModule module) {
    for (Iterator localIterator = this.moduleInheritsDialogField
        .getElements().iterator(); localIterator.hasNext();) {
      Object elem = localIterator.next();
      IModule curModule = (IModule) elem;
      if (curModule.getQualifiedName().equals(module.getQualifiedName())) {
        return;
      }
    }

    this.moduleInheritsDialogField.addElement(module);
View Full Code Here

Examples of de.offis.faint.interfaces.IModule

  private IModule getActivePlugin(){
    return (IModule) this.hotSpot.getActivePlugin();
  }
 
  private void updateBody(){
    IModule plugin = this.getActivePlugin();
    String html = "";
    html += "<h2>Plugin Description</h2>" + plugin.getDescription() +"<br>";
    html += "<h2>Copyright Notes</h2>" + plugin.getCopyrightNotes() + "<br>";
    this.htmlPane.setText(html);
   
    Component view = null;
    htmlPane.setCaretPosition(0); // resets the scrollbars
    if (plugin instanceof ISwingCustomizable){
View Full Code Here

Examples of de.offis.faint.interfaces.IModule

      body.setVisible(false);
      return;
    }
    body.setVisible(true);
   
    IModule mudule = (IModule) hotSpot.getAvailableFilters()[table.getSelectedRow()];

    String html = "";
    html += "<h2>Filter Description</h2>" + mudule.getDescription() +"<br>";
    html += "<h2>Copyright Notes</h2>" + mudule.getCopyrightNotes() + "<br>";
    this.htmlPane.setText(html);
   
    Component view = null;
    htmlPane.setCaretPosition(0); // resets the scrollbars
    if (mudule instanceof ISwingCustomizable){
View Full Code Here

Examples of org.apache.wookie.beans.util.IModule

    // load configuration from environment
    persistenceManagerType = getSystemProperty(PERSISTENCE_MANAGER_TYPE_PROPERTY_NAME, PERSISTENCE_MANAGER_TYPE_JPA);

     // Configure system properties specific to the persistence implementation
    IModule module = getModule();
    module.configure();
   
    if (initDB) {
      System.setProperty(PersistenceManagerFactory.PERSISTENCE_MANAGER_INITIALIZE_STORE_PROPERTY_NAME, "true");
    }
View Full Code Here

Examples of org.apache.wookie.beans.util.IModule

        "org.mortbay.jetty.plus.webapp.EnvConfiguration",
        "org.mortbay.jetty.plus.webapp.Configuration",
        "org.mortbay.jetty.webapp.JettyWebXmlConfiguration",
    "org.mortbay.jetty.webapp.TagLibConfiguration"});

    IModule module = getModule();
    module.setup();

    // configure embedded jetty web application handler
    server.addHandler(context);

    // configure embedded jetty authentication realm
View Full Code Here

Examples of org.apache.wookie.beans.util.IModule

   * Get persistence module.
   * TODO use a more reliable and extensible approach than fixed class names
   * @return a persistence module
   */
  private static IModule getModule(){
    IModule module = null;
    try {
      if (persistenceManagerType.equals(PERSISTENCE_MANAGER_TYPE_JCR)){
        module = (IModule) Class.forName("org.apache.wookie.beans.jcr.JCRModule").newInstance();
      } else {
        module = (IModule) Class.forName("org.apache.wookie.beans.jpa.JPAModule").newInstance();
View Full Code Here

Examples of org.apache.wookie.beans.util.IModule

    // load configuration from environment
    persistenceManagerType = getSystemProperty(PERSISTENCE_MANAGER_TYPE_PROPERTY_NAME, PERSISTENCE_MANAGER_TYPE_JPA);

     // Configure system properties specific to the persistence implementation
    IModule module = getModule();
    module.configure();
   
    if (initDB) {
      System.setProperty(PersistenceManagerFactory.PERSISTENCE_MANAGER_INITIALIZE_STORE_PROPERTY_NAME, "true");
    }
View Full Code Here

Examples of org.eclipse.wst.server.core.IModule

    @Override
    protected void performDeployment(CloudFoundryApplicationModule appModule, IProgressMonitor monitor)
        throws CoreException {
      final Server server = (Server) getServer();
      final CloudFoundryServer cloudServer = getCloudFoundryServer();
      final IModule module = modules[0];

      try {

        // Update the local cloud module representing the application
        // first.
View Full Code Here

Examples of org.eclipse.wst.server.core.IModule

      CloudService service1 = (CloudService) e1;
      CloudService service2 = (CloudService) e2;
      return service1.getName().compareTo(service2.getName());
    }
    if (e1 instanceof IModule && e2 instanceof IModule) {
      IModule m1 = (IModule) e1;
      IModule m2 = (IModule) e2;
      return m1.getName().compareTo(m2.getName());
    }
    return super.compare(viewer, e1, e2);
  }
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.