debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/IWizardSection.java
author dadubrow
Mon, 15 Feb 2010 14:48:52 -0600
changeset 960 1b51db390dc4
parent 956 d1e221a2875f
permissions -rw-r--r--
ui tweaks to new launch wizard
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
956
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
     1
/*
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
     2
* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
     3
* All rights reserved.
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
     4
* This component and the accompanying materials are made available
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
     5
* under the terms of the License "Eclipse Public License v1.0"
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
     6
* which accompanies this distribution, and is available
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
     8
*
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
     9
* Initial Contributors:
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    11
*
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    12
* Contributors:
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    13
*
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    14
* Description: 
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    15
*
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    16
*/
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    17
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    18
package com.nokia.cdt.internal.debug.launch.newwizard;
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    19
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    20
import org.eclipse.core.runtime.IStatus;
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    21
import org.eclipse.swt.widgets.Composite;
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    22
import org.eclipse.swt.widgets.Control;
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    23
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    24
/**
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    25
 * 
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    26
 */
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    27
public interface IWizardSection {
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    28
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    29
	public interface ISectionChangeListener {
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    30
		void changed();
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    31
	}
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    32
	
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    33
	/** Initialize settings once per wizard (before UI is shown) */
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    34
	void initializeSettings();
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    35
	
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    36
	void createControl(Composite parent);
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    37
	
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    38
	Control getControl();
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    39
	
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    40
	/** Get the current status (never <code>null</code>).  This serves as the validation status as well
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    41
	 * as being displayed in the wizard validation area. */
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    42
	IStatus getStatus();
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    43
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    44
	/**
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    45
	 * @return
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    46
	 */
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    47
	String getSectionName();
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    48
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    49
	/**
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    50
	 * Set the listener notified when the Change button is clicked.
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    51
	 */
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    52
	void setChangeListener(ISectionChangeListener listener);
d1e221a2875f new launch wizard implementation
dadubrow
parents:
diff changeset
    53
}