debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/IWizardSection.java
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 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 the License "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.cdt.internal.debug.launch.newwizard; |
|
19 |
|
20 import org.eclipse.core.runtime.IStatus; |
|
21 import org.eclipse.swt.widgets.Composite; |
|
22 import org.eclipse.swt.widgets.Control; |
|
23 |
|
24 /** |
|
25 * |
|
26 */ |
|
27 public interface IWizardSection { |
|
28 |
|
29 public interface ISectionChangeListener { |
|
30 void changed(); |
|
31 } |
|
32 |
|
33 /** Initialize settings once per wizard (before UI is shown) */ |
|
34 void initializeSettings(); |
|
35 |
|
36 void createControl(Composite parent); |
|
37 |
|
38 Control getControl(); |
|
39 |
|
40 /** Get the current status (never <code>null</code>). This serves as the validation status as well |
|
41 * as being displayed in the wizard validation area. */ |
|
42 IStatus getStatus(); |
|
43 |
|
44 /** |
|
45 * @return |
|
46 */ |
|
47 String getSectionName(); |
|
48 |
|
49 /** |
|
50 * Set the listener notified when the Change button is clicked. |
|
51 */ |
|
52 void setChangeListener(ISectionChangeListener listener); |
|
53 } |