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

[ADM] Implemented propertyVisible() for widget property exposed to user.#144

Closed
xuqingkuang wants to merge 1 commit into
intel:masterfrom
xuqingkuang:propertyVisible
Closed

[ADM] Implemented propertyVisible() for widget property exposed to user.#144
xuqingkuang wants to merge 1 commit into
intel:masterfrom
xuqingkuang:propertyVisible

Conversation

@xuqingkuang

Copy link
Copy Markdown
Contributor

The function will determine the property whether to show in property view.

Replace #131 & #141 by @zhizhangchen's comments.

@grgustaf Because of propertyUserVisible is too long and hard to fit the size of docs in widgets.js, so I still use 'propertyVisible' as the function and attribute name.

Comment thread src/js/widgets.js Outdated

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.

The return value description should corresponding to that of the function description,
for example:
true if this property is visible to user.

The function will determine the property whether to show in property view.
@grgustaf

Copy link
Copy Markdown
Contributor

Actually, the precedent for such a function was isPaletteWidget() / isHeaderVisible() so we probably should have gone with isPropertyVisible. But I don't care right now. :D

@grgustaf

Copy link
Copy Markdown
Contributor

Nice clean patch, thanks.

@grgustaf

Copy link
Copy Markdown
Contributor

Merged

@grgustaf grgustaf closed this Jul 16, 2012
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.

3 participants