Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework PlainJava project type and Deprecate SettableValueProvider #9634

Merged
merged 30 commits into from
May 8, 2018
Merged

Rework PlainJava project type and Deprecate SettableValueProvider #9634

merged 30 commits into from
May 8, 2018

Conversation

gazarenkov
Copy link
Contributor

What does this PR do?

Make PlainJavaExtension's ValueProvider read-only (if was the last PT using settable one) and deprecate SettableValueProvider.

What issues does this PR fix or reference?

To simplify project type framework getting rid of not useful SettableValueProvider

Release Notes

N/A

Docs PR

N/A

gazarenkov and others added 28 commits February 25, 2018 17:33
# Conflicts:
#	ide/che-core-ide-app/src/main/java/org/eclipse/che/ide/context/AppContextImpl.java
…re no 'project' volume defined"

This reverts commit 127a79e.
…ode, remove highlighter from the source folder field
@musienko-maxim
Copy link
Contributor

ci-test

@benoitf benoitf added the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label May 7, 2018
Copy link
Contributor

@evidolob evidolob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request has a lot of commented code lines, do we need all of them?

Copy link
Member

@azatsarynnyy azatsarynnyy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you get rid of all the commented code, please?

@@ -145,7 +143,7 @@ private void setAttribute(String attrId, List<String> value) {
}

private boolean isCoordinatesCompleted() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method looks redundant since there's just one place where isCoordinatesCompleted() is called.

delegate.onBrowseSourceButtonClicked();
}
});
browseSourceBtn.setVisible(false);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

browseSourceBtn is always hidden so I guess it's not needed anymore. Should it be removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree but lets do it later )

@codenvy-ci
Copy link

ci-test build report:
Build details
Test report
selenium tests report data
docker image: eclipseche/che-server:9634
https://github.com/orgs/eclipse/teams/eclipse-che-qa please check this report.

@gazarenkov
Copy link
Contributor Author

comments deleted

@gazarenkov gazarenkov merged commit 89e3851 into eclipse-che:master May 8, 2018
@benoitf benoitf removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label May 8, 2018
@benoitf benoitf added this to the 6.5.0 milestone May 8, 2018
hbhargav pushed a commit to hbhargav/che that referenced this pull request Dec 5, 2018
…lipse-che#9634)

* Adding pipeline

* del jenkinsfile

* Make exec agent not to use setsid for other than Linux envs

* revert pom.xml

* goformat

* get projects folder from workkspace configuration

* Merge remote-tracking branch 'upstream/master'

* clean code

* clean code

* Fix calculation Projects Root so it wont cause NPE if there are no 'project' volume defined

* Revert "Fix calculation Projects Root so it wont cause NPE if there are no 'project' volume defined"

This reverts commit 127a79e.

* Fix calculation Projects Root so it wont cause NPE if there are no 'project' volume defined

* replace provided attribute values with stored (src, out) in PlainJavaProjectType

* fix PlainJavaProjectType for getting rid and deprecate using SettableValueProvider

* remove comented code

* hide brouse source folder button, set source folder field as disabled

* hide the browse source button, set source folder field to read only mode, remove highlighter from the source folder field

* adapt test for current changes on UI, set save button to enable state

* apply formatting

* fix order of steps in the test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants