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

[JBIDE-23210] made sure deploying docker image is using selected proj #1331

Merged
merged 1 commit into from Oct 3, 2016

Conversation

adietish
Copy link
Member

No description provided.

@scabanovich
Copy link
Contributor

Yes, that is good and seems quite natural. The resource loading in model was necessary long time ago, when deploy image page had the choice for connection. As soon as a separate page for choosing connection was added, and the selector in deploy image page was replaced with info controls, there was no need any more for loading resource immediately on connection setting, it can wait until page activation.


@Override
protected void onPageActivated(DataBindingContext dbc) {
loadResources(dbc);
Copy link
Contributor

Choose a reason for hiding this comment

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

Can it be an issue, that when deploy image page is not the first one (for instance, wizard is started from the docker explorer, and the connection page is before it), going back and forward will always cause resource loading, even if connection was not changed (though, this use case is very minor).

Copy link
Member Author

Choose a reason for hiding this comment

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

good point, fixing.

Copy link
Member

@jeffmaury jeffmaury left a comment

Choose a reason for hiding this comment

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

LGTM

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

3 participants