Skip to content
This repository was archived by the owner on Mar 14, 2020. It is now read-only.

Bug fix for property and widgets#86

Closed
xuzhang wants to merge 2 commits into
intel:masterfrom
xuzhang:bugFix
Closed

Bug fix for property and widgets#86
xuzhang wants to merge 2 commits into
intel:masterfrom
xuzhang:bugFix

Conversation

@xuzhang

@xuzhang xuzhang commented Jun 25, 2012

Copy link
Copy Markdown
Contributor

[Widgets] Bug Fix: getPropertySchema() should retern a clone of object
[Property View] only widgets in palette panel can be shown
[Outline View] enforce check in _modelUpdatedHandler

@zhizhangchen zhizhangchen mentioned this pull request Jun 28, 2012
@zhizhangchen

Copy link
Copy Markdown
Contributor

As there are many conflicts, please rebase the branch with master. Note that we have introduced new extension mechanism in widgets.js, so we need to be cautious when defining Base widget's field: it will be inherited by extending widget if it doesn't override it.

Comment thread src/js/widgets.js

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

"showInProperty" might be a better name than "isShownInProperty", which mean's it has already be shown in property. showInProperty means it should be shown in property

@zhizhangchen

Copy link
Copy Markdown
Contributor

Please rebase this PR as it can't be merged automatically now. In fact b004cff can be removed from this PR now as other commit has fixed this problem

xuzhang added 2 commits July 4, 2012 17:44
Add a check in function refresh(): in case property of some widget
such as design is shown in property view.
only update view when widget can be shown in outline.
Orignally, we ignore property of design changes. When
property of design node changes, outline view doesn't need
update
@xuzhang

xuzhang commented Jul 4, 2012

Copy link
Copy Markdown
Contributor Author

rebased code and please review PR.

@zhizhangchen

Copy link
Copy Markdown
Contributor

Replaced by #135

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants