-
Notifications
You must be signed in to change notification settings - Fork 83
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
Updated selection when switched from bnd to standard equinox #1502
base: master
Are you sure you want to change the base?
Conversation
cdef177
to
725f3c1
Compare
@laeubi @HannesWell - can you please have a look? thanks! |
…in project Signed-off-by: Neha Burnwal <[email protected]>
725f3c1
to
32d72df
Compare
@@ -162,6 +162,9 @@ protected void createFormatGroup(Composite container) { | |||
private void updateAutomatic() { | |||
boolean standardSelected = PDEUIMessages.NewProjectCreationPage_standard.equals(fOSGiCombo.getText()); | |||
useAutomaticMetadata.setVisible(standardSelected); | |||
if (!standardSelected) { | |||
useAutomaticMetadata.setSelection(false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure it should be fixed in the UI but at the place where the value is evaluated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will look into the possibility and get back.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We cannot stop it where the values are getting loaded as it is needed for standard selection bundles(when Generate OSGi metadata automatically is selected Unser standard)
As the problem occurs when moved from bnd to standard equinox, we need to make it False in the UI.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As the problem occurs when moved from bnd to standard equinox, we need to make it False in the UI.
I don't agree here, the UI is just showing a state. If that state is not valid or irrelevant then it should be assumed to be false
on this place (or not being evaluated at all).
This commit fixes the bnd in templates while switching the plugin project type from bnd(with checked 'Generate OSGi metadata automatically' ) to standard equinox
Fixes: #1500