Examples of ProjectProperties


Examples of org.gephi.project.explorer.actions.ProjectProperties

        }
    }

    @Override
    public Action[] getActions(boolean context) {
        return new Action[]{new OpenProject(project), new CloseProject(project), new RemoveProject(project), new AddWorkspace(project), new ProjectProperties(project)};
    }
View Full Code Here

Examples of org.netbeans.gradle.project.properties.ProjectProperties

    @Override
    public Charset getEncoding(FileObject file) {
        if (FileUtil.isParentOf(project.getProjectDirectory(), file)) {
            try {
                ProjectProperties properties = project.getLoadedProperties(Cancellation.UNCANCELABLE_TOKEN);
                return properties.getSourceEncoding().getValue();
            } catch (IllegalStateException ex) {
                LOGGER.log(Level.INFO, "The character encoding of a file has been requested from a wrong thread.", ex);
            }

            // We don't expect that anyone else can tell what the encoding of
View Full Code Here

Examples of org.netbeans.gradle.project.properties.ProjectProperties

    }

    private ProjectProperties getLoadedProperties(CancellationToken cancelToken, NbGradleConfiguration config) {
        checkNotEdt();

        ProjectProperties properties;
        if (config == null) {
            properties = project.getLoadedProperties(cancelToken);
        }
        else {
            final WaitableSignal loadedSignal = new WaitableSignal();
View Full Code Here

Examples of org.netbeans.gradle.project.properties.ProjectProperties

                return result;
            }

            @Override
            public GradleTaskDef tryCreateTaskDef(CancellationToken cancelToken) throws Exception {
                ProjectProperties properties = getLoadedProperties(cancelToken, appliedConfig);
                MutableProperty<PredefinedTask> builtInTask = properties.tryGetBuiltInTask(command);
                if (builtInTask == null) {
                    return null;
                }

                final PredefinedTask task = builtInTask.getValue();
View Full Code Here

Examples of org.netbeans.gradle.project.properties.ProjectProperties

        if (gradleUserHome != null) {
            result.useGradleUserHomeDir(gradleUserHome);
        }

        GradleLocation gradleLocation;
        ProjectProperties projectProperties = gradleProject.getLoadedProperties(cancelToken);
        if (projectProperties == null) {
            LOGGER.warning("Could not wait for retrieving the project properties. Using the globally defined one");
            gradleLocation = GlobalGradleSettings.getGradleHome().getValue();
        }
        else {
            gradleLocation = projectProperties.getGradleLocation().getValue();
        }

        gradleLocation.applyLocation(gradleProject, new GradleLocation.Applier() {
            @Override
            public void applyVersion(String versionStr) {
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.