|
Hi Andrea,
Well, I tried to understand it for a while, but no result yet...
Someone likes a nice puzzle? Please help!
The "back()" that Andrea talks about is in the Wizard class.
Regards,
Michiel
----- Original Message -----
Sent: Monday, July 17, 2006 6:43 PM
Subject: [argouml-dev] help with issue
2463
I need help with issue 2463 (http://argouml.tigris.org/issues/show_bug.cgi?id=2463):
"Wrong downlighting of "Back" and "Next" buttons".
What I don't understand is how the back action manages to go back to the
ToDo description.
When the back button is pressed it executes this code:
...
public void back() {
step--;
if (step < 0)
step = 0;
undoAction(step);
if (item != null)
item.changed();
}
...
The undoAction() always calls a blank method, AFAICS. On the next line,
item.changed() fires a ToDoItemChanged event to every listener: the only one
is ToDoPane.
Anyway, the back action never calls the [WizStep.]enableButtons() method:
that's the only method that enables/disables the backButton.
I'd guess it's all a hiding panels game... but I don't understand how it's
done, and where the steps calculation fails. It's driving me crazy...
No virus found in this incoming message. Checked by AVG Free
Edition. Version: 7.1.394 / Virus Database: 268.10.1/390 - Release Date:
17/07/2006
No virus found in this incoming message. Checked by AVG Free
Edition. Version: 7.1.394 / Virus Database: 268.10.1/390 - Release Date:
17/07/2006
|
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.1/390 - Release Date: 17/07/2006
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]