Examples of toSourceText()


Examples of org.openquark.cal.compiler.ModuleName.toSourceText()

        for (final Map.Entry<Pair<ModuleName, Boolean>, ModuleHierarchyInfo> entry : node.getChildren().entrySet()) {
            final Pair<ModuleName, Boolean> key = entry.getKey();
            final ModuleName childName = key.fst();
            final boolean childIsActualModule = key.snd().booleanValue();
            final ModuleHierarchyInfo child = entry.getValue();
            final String childDisplayName = isChildLevel ? childName.getLastComponent() : childName.toSourceText();
            final String fullyQualifiedNameForChildModule = getFullyQualifiedNameForModule(childName);
           
            final String childDivElementID = getModuleTreeNodeElementID("mlG", childName);

            currentPage.openTag(HTML.Tag.DIV);
View Full Code Here

Examples of org.openquark.cal.compiler.ModuleName.toSourceText()

                continue;
            }
           
            currentPage
                .openTag(HTML.Tag.DIV, classAttribute(StyleClassConstants.RELATED_MODULES_LIST))
                .addText(childName.toSourceText())
                .addText(LocalizableUserVisibleString.COLON.toResourceString())
                .addText(" ");
           
            int counter2 = 0;
            for (final Pair<ModuleName, Boolean> key2 : child.getChildren().keySet()) {
View Full Code Here

Examples of org.openquark.cal.compiler.ModuleName.toSourceText()

        final SortedMap<String, ModuleName> displayNameToModuleNameMap = getAbbreviatedModuleNameToModuleNameMap();
       
        for (final Map.Entry<String, ModuleName> entry : displayNameToModuleNameMap.entrySet()) {
            final String displayName = entry.getKey();
            final ModuleName moduleName = entry.getValue();
            final String fullyQualifiedNameForModule = moduleName.toSourceText();
           
            generateNonLocalReference(currentPage, MODULES_SUBDIRECTORY, moduleName, labelMaker.getModuleLabel(moduleName), displayName, fullyQualifiedNameForModule);
            currentPage.emptyTag(HTML.Tag.BR).newline();
        }
    }
View Full Code Here

Examples of org.openquark.cal.compiler.ModuleName.toSourceText()

        for (final Map.Entry<Pair<ModuleName, Boolean>, ModuleHierarchyInfo> entry : node.getChildren().entrySet()) {
            final Pair<ModuleName, Boolean> key = entry.getKey();
            final ModuleName childName = key.fst();
            final boolean childIsActualModule = key.snd().booleanValue();
            final ModuleHierarchyInfo child = entry.getValue();
            final String childDisplayName = isChildLevel ? childName.getLastComponent() : childName.toSourceText();
            final String fullyQualifiedNameForChildModule = getFullyQualifiedNameForModule(childName);
           
            final String childDivElementID = getModuleTreeNodeElementID("ovwG", childName);
           
            currentPage.openTag(HTML.Tag.DIV);
View Full Code Here

Examples of org.openquark.cal.compiler.ModuleName.toSourceText()

        final SortedMap<String, ModuleName> displayNameToModuleNameMap = getAbbreviatedModuleNameToModuleNameMap();
       
        for (final Map.Entry<String, ModuleName> entry : displayNameToModuleNameMap.entrySet()) {
            final String displayName = entry.getKey();
            final ModuleName moduleName = entry.getValue();
            final String fullyQualifiedNameForModule = moduleName.toSourceText();
           
            currentPage.openTag(HTML.Tag.DL, classAttribute(StyleClassConstants.DL_OVERVIEW_PAGE)).openTag(HTML.Tag.DT);
            generateNonLocalReference(currentPage, MODULES_SUBDIRECTORY, moduleName, labelMaker.getModuleLabel(moduleName), displayName, fullyQualifiedNameForModule);
           
            currentPage.closeTag(HTML.Tag.DT).openTag(HTML.Tag.DD);
View Full Code Here

Examples of org.openquark.cal.compiler.ModuleName.toSourceText()

        /// If the module name has more than one component, break it up into two pieces: the immediate prefix and the last component
        //
        final ModuleName immediatePrefix = currentModuleName.getImmediatePrefix();
        if (immediatePrefix != null) {
            currentPage.addTaggedText(HTML.Tag.DIV, classAttribute(StyleClassConstants.SIDE_BAR_KHAKI_SUPERTITLE), immediatePrefix.toSourceText());
        }
        currentPage.addTaggedText(HTML.Tag.H2, classAttribute(StyleClassConstants.SIDE_BAR_KHAKI_TITLE), currentModuleName.getLastComponent());
       
        currentPage.openTag(HTML.Tag.DIV, classAttribute(StyleClassConstants.INDEX_NAV));
       
View Full Code Here

Examples of org.openquark.cal.compiler.ModuleName.toSourceText()

        Options jFitOptions = commandLineOptions.getJFitOptions();
       
        commandLineLogger.config("Specified options: ");
       
        ModuleName moduleName = jFitOptions.getModuleName();
        commandLineLogger.config("  Module name:    " + (moduleName == null ? notSpecifiedString : moduleName.toSourceText()));
       
        String workspaceName = commandLineOptions.getWorkspaceName();
        commandLineLogger.config("  Workspace name: " + (workspaceName == null ? notSpecifiedString : workspaceName));
       
        File[] inputFiles = jFitOptions.getInputFiles();
View Full Code Here

Examples of org.openquark.cal.compiler.ModuleName.toSourceText()

                        } else if (command.equals("-XX:all")) { // unsupported internal use argument - adds all modules in the program
                            arguments.consumeArgument();

                            for (final ModuleName moduleName : getWorkspaceManager().getModuleNamesInProgram()) {
                                try {
                                    libClassSpecs.add(LibraryClassSpec.make(JavaScope.PUBLIC, "cal.lib." + moduleName.toSourceText(), moduleName));

                                } catch (final StandaloneJarBuilder.InvalidConfigurationException e) {
                                    iceLogger.log(Level.INFO, "Error: " + e.getMessage());
                                    return;
                                }
View Full Code Here

Examples of org.openquark.cal.compiler.ModuleName.toSourceText()

                        return;
                    }
                }
            }
           
            moduleName = resolveModuleNameInWorkspace(moduleName.toSourceText(), true);
            if (moduleName == null) {
                return;
            }
           
            refactorer = new Refactorer.CleanImports(getWorkspaceManager().getWorkspace().asModuleContainer(), moduleName, noGrouping);
View Full Code Here

Examples of org.openquark.cal.compiler.ModuleName.toSourceText()

           
            // process the -XX:all argument
            if (addAllModulesAsLibraries) {
                for (final ModuleName moduleName : workspaceManager.getModuleNamesInProgram()) {
                    try {
                        libClassSpecs.add(LibraryClassSpec.make(JavaScope.PUBLIC, "cal.lib." + moduleName.toSourceText(), moduleName));

                    } catch (final StandaloneJarBuilder.InvalidConfigurationException e) {
                        logger.log(Level.INFO, StandaloneJarToolMessages.getString("errorPrefix", e.getMessage()));
                        return;
                    }
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.