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