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

#7461 fix for displaying EasyForm in OutputContainer for JVM kernels #7691

Merged
merged 2 commits into from
Jul 17, 2018

Conversation

lmitusinski
Copy link
Contributor

No description provided.

@@ -54,6 +55,9 @@ public void setBorderDisplayed(boolean borderDisplayed) {
if (item == null) {
return handleNull();
}
if (item instanceof EasyForm) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I would suggest create an interface "WidgetItem" with getAsWIdget() method,
then EasyForm and Widget should implement the interface.
This will allow us to get rid of "if statement" for Widget and EasyForm.

@LeeTZ LeeTZ merged commit 20cc55e into master Jul 17, 2018
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.

3 participants