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

Spec Deprecation: Use SpWindowPresenter for PyramidWindow #134

Open
labordep opened this issue Dec 23, 2023 · 0 comments
Open

Spec Deprecation: Use SpWindowPresenter for PyramidWindow #134

labordep opened this issue Dec 23, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@labordep
Copy link
Member

Commentary from SpPresenter class>>aboutText:

DO NOT USE
With Spec 2, SpPresenter was refactored to move all window management to WindowPresenter.
From now on, if you want to interact with a window you need to:
- Implement #initializeWindow: method (#initializeDialog: for dialogs) to manage window elements before the presenter is opened
- Use the method #window or #withWindowDo: to interact with windows after it has been opened.
This method cannot be deprecated because during a transition phase we keep this mecanism.

If I understand, actually PyramidWindow is a subclass of Object, in term it can be a subsclass of SpWindowPresenter.

I tried to switch to it but it is not trial.

@labordep labordep added the enhancement New feature or request label Dec 23, 2023
@Nyan11 Nyan11 added this to the alpha 5 milestone May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants