Examples of ModuleDescription


Examples of com.google.gdt.eclipse.designer.util.ModuleDescription

  // getDocType()
  //
  ////////////////////////////////////////////////////////////////////////////
  @DisposeProjectAfter
  public void test_getDocType_no() throws Exception {
    ModuleDescription module = getTestModuleDescription();
    setFileContentSrc(
        "test/public/Module.html",
        getSourceDQ(
            "<!-- filler filler filler filler filler -->",
            "<html>",
View Full Code Here

Examples of fr.tm.elibel.smartqvt.modulesmanager.moduleregistry.ModuleRegistry.ModuleDescription

    String nsURI = properties.getProperty(self + ".nsURI");
    if (nsURI == null) {
      logger.log(Level.SEVERE, self
          + " nsURI not found in the '.properties' file.");
    } else {
      ModuleDescription md = ModulesmanagerPlugin.getDefault()
          .getModulesRegistry().getModuleDescriptionByNSURI(nsURI);
      String location = null;
      if (md.location.matches("installed")) {
        location = "platform:/plugin/" + md.plugin + "/" + md.model;
      } else {
View Full Code Here

Examples of org.apache.axis2.description.ModuleDescription

        ConfigurationContextFactory builder = new ConfigurationContextFactory();
        AxisConfiguration er = builder.createConfigurationContextFromFileSystem("target")
                .getAxisConfiguration();
        File file = new File("target/addressing.mar");
        assertTrue(file.exists());
        ModuleDescription moduleDesc = er.getModule(new QName("addressing"));
        assertNotNull(moduleDesc);
    }
View Full Code Here

Examples of org.locationtech.udig.omsbox.core.ModuleDescription

            public Image getImage( Object element ) {
                if (element instanceof ViewerFolder) {
                    return ImageCache.getInstance().getImage(ImageCache.CATEGORY);
                }
                if (element instanceof ViewerModule) {
                    ModuleDescription md = ((ViewerModule) element).getModuleDescription();
                    Status status = md.getStatus();
                    if (status == Status.experimental) {
                        return ImageCache.getInstance().getImage(ImageCache.MODULEEXP);
                    } else {
                        return ImageCache.getInstance().getImage(ImageCache.MODULE);
                    }
                }
                return null;
            }

            public String getText( Object element ) {
                if (element instanceof ViewerFolder) {
                    ViewerFolder categoryFolder = (ViewerFolder) element;
                    return categoryFolder.getName();
                }
                if (element instanceof ViewerModule) {
                    ModuleDescription module = ((ViewerModule) element).getModuleDescription();
                    return module.getName().replaceAll("\\_\\_", ".");
                }
                return ""; //$NON-NLS-1$
            }
        });

        modulesViewer.addSelectionChangedListener(new ISelectionChangedListener(){

            public void selectionChanged( SelectionChangedEvent event ) {
                if (!(event.getSelection() instanceof IStructuredSelection)) {
                    return;
                }
                IStructuredSelection sel = (IStructuredSelection) event.getSelection();

                Object selectedItem = sel.getFirstElement();
                if (selectedItem == null) {
                    // unselected, show empty panel
                    putUnselected();
                    return;
                }

                if (selectedItem instanceof ViewerModule) {
                    ModuleDescription currentSelectedModule = ((ViewerModule) selectedItem).getModuleDescription();
                    currentSelectedModuleGui = new ModuleGui(currentSelectedModule);

                    Control control = currentSelectedModuleGui.makeGui(modulesGuiComposite, false);

                    // Label dummyLabel = new Label(modulesGuiComposite, SWT.NONE);
View Full Code Here

Examples of org.omg.CORBA.ModuleDescription

        String defined_in_id = "IR";

        if (defined_in instanceof ContainedOperations)
            defined_in_id = ((ContainedOperations) defined_in).id();

        ModuleDescription md = new ModuleDescription(name, id, defined_in_id,
                version);

        Any any = getORB().create_any();

        ModuleDescriptionHelper.insert(any, md);
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.