Bug 177568 - [MPE] MultiPageEditorPart pageChange does not support validation
Summary: [MPE] MultiPageEditorPart pageChange does not support validation
Status: REOPENED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-15 11:22 EDT by Ed Willink CLA
Modified: 2021-09-19 12:27 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2007-03-15 11:22:45 EDT
3.3M5

It is not possible for a derived MultiPageEditorPart to reject a page change, possibly because the old page was dirty, and the user responded no to a save dialog. (The page change actually occurs as soon as the dialog box is shown and long before it is answered.)

The problem is that the application page state is maintained in the GUI not by the application, so the change occurs instantly. It is not even possible for pageChange to determine what the previous page was, unless the derived class has its own cache.

Requires an activePageIndex field that is maintained by pageChange, and interrogated by getActivePage().
Comment 1 Eclipse Webmaster CLA 2019-09-06 16:04:11 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 2 Eclipse Genie CLA 2021-09-19 12:20:37 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 3 Ed Willink CLA 2021-09-19 12:27:14 EDT
Surely cannot be CLOSED until a relevant committer triages?