0
|
1 |
/*
|
|
2 |
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description:
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
package com.nokia.s60tools.ui.wizards;
|
|
19 |
|
|
20 |
/**
|
|
21 |
* Common method interface for wizard pages that are
|
|
22 |
* designed to work together with wizard implementations
|
|
23 |
* inherited from <code>S60ToolsWizard</code>, which
|
|
24 |
* expects all contained pages to adhere to
|
|
25 |
* this interface.
|
|
26 |
*
|
|
27 |
*@see com.nokia.s60tools.ui.wizards.S60ToolsWizard
|
|
28 |
*/
|
|
29 |
public interface IS60ToolsWizardPage {
|
|
30 |
|
|
31 |
/**
|
|
32 |
* This method is called when buttons states needs to
|
|
33 |
* be recalculated.
|
|
34 |
* Called by <code>S60ToolsWizard</code> class
|
|
35 |
* when wizard page has been changed.
|
|
36 |
* This method can be also called by listeners
|
|
37 |
* attached to wizard page whenever button
|
|
38 |
* stated needs to be recalculated.
|
|
39 |
*@see com.nokia.s60tools.ui.wizards.S60ToolsWizard#pageChanged
|
|
40 |
*/
|
|
41 |
public abstract void recalculateButtonStates();
|
|
42 |
|
|
43 |
/**
|
|
44 |
* Sets the initial focus for the wizard page.
|
|
45 |
* Called by <code>S60ToolsWizard</code> class
|
|
46 |
* when wizard page has been changed.
|
|
47 |
*@see com.nokia.s60tools.ui.wizards.S60ToolsWizard#pageChanged
|
|
48 |
*/
|
|
49 |
public abstract void setInitialFocus();
|
|
50 |
|
|
51 |
} |