-
Notifications
You must be signed in to change notification settings - Fork 17
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
Remove usage of deprecated APIs from the framework and examples #1732
Open
7 of 10 tasks
Labels
Comments
@marksreeves, @jonathanaustin and @ricksbrown are there any other deprecated classes, constructors or methods that can be added to this list? Is there anything that should be removed from the list above? |
This was referenced Jun 19, 2020
This was
linked to
pull requests
Jun 20, 2020
This was
linked to
pull requests
Jul 28, 2020
This was
linked to
pull requests
Aug 29, 2021
This was
unlinked from
pull requests
Aug 29, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Over a long period of time many Classes, constructors and methods have been deprecated in WComponents. When an API is deprecated it's a sign to users that it should not be used. How can we expect users to not use them if the framework itself and provided examples use them. I have listed below APIs that are used with WComponents, or examples, that should be updated to remove that usage.
WBeanContainer
class withWContainer
Remove usage of WBeanContainer from framework and examples #1733WHeading.TITLE
and other constant based heading levels withHeadingLevel
values Ensure consistent usage of HeadingLevel #1734int
basedFlowLayout
constructors and replace withSize
based constructors Deprecated FlowLayout constructors must not be used #1735int
basedColumnLayout
constructors and replace withSize
based constructors Removed usage of deprecated ColumnLayout constructors #1736SelectMode
APIs. Replace with newSelectionMode
APIs. Remove usage of SelectMode from examples #1741int
basedMargin
constructors and replace withSize
based constructors Replace usage of int Margins with Size margins #1739WProgressBar.UnitType
from examples. Remove usage of progressbar UnitType from examples #1750BorderLayout
it is deprecated and should not be used. Removed usage of BorderLayout from the examples #1788WComponent::getTag
andWComponent::setTag
fromWDefinitionList
Remove usage of the getTag and setTag methods #1740WMenu::getSelectedItem
,WMenu::getSelectedItems
andWMenu::clearSelectedItems
from examples and replace withWMenu::getSelectedMenuItem
,WMenu::getSelectedMenuItems
andWMenu::clearSelectedMenuItems
. Remove usage of WMenu deprecated methods from examples #1789The text was updated successfully, but these errors were encountered: