sysperfana/analyzetoolext/com.nokia.s60tools.analyzetool/src/com/nokia/s60tools/analyzetool/preferences/AdvancedPreferencePage.java
equal
deleted
inserted
replaced
27 import org.eclipse.ui.IWorkbench; |
27 import org.eclipse.ui.IWorkbench; |
28 import org.eclipse.ui.IWorkbenchPreferencePage; |
28 import org.eclipse.ui.IWorkbenchPreferencePage; |
29 |
29 |
30 /** |
30 /** |
31 * This class implements AnalyzeTool advanced preference page. |
31 * This class implements AnalyzeTool advanced preference page. |
32 * |
32 * |
33 * @author kihe |
33 * @author kihe |
34 * |
34 * |
35 */ |
35 */ |
36 public class AdvancedPreferencePage extends PreferencePage implements |
36 public class AdvancedPreferencePage extends PreferencePage implements |
37 IWorkbenchPreferencePage { |
37 IWorkbenchPreferencePage { |
38 |
38 |
39 /** Label to display info text */ |
39 /** Label to display info text */ |
40 private Label infoText; |
40 private Label infoText; |
41 |
|
42 |
41 |
43 /** |
42 /** |
44 * Constructor. |
43 * Constructor. |
45 */ |
44 */ |
46 public AdvancedPreferencePage() { |
45 public AdvancedPreferencePage() { |
47 super(); |
46 super(); |
48 } |
47 } |
49 |
48 |
50 |
|
51 /** |
49 /** |
52 * Creates this preference page content. |
50 * Creates this preference page content. |
53 * |
51 * |
54 * @param parent |
52 * @param parent |
55 * This preference page parent |
53 * This preference page parent |
56 */ |
54 */ |
57 @Override |
55 @Override |
58 protected final Control createContents(final Composite parent) { |
56 protected final Control createContents(final Composite parent) { |
72 |
70 |
73 // set layoyt of this view |
71 // set layoyt of this view |
74 composite.setLayout(gridLayout); |
72 composite.setLayout(gridLayout); |
75 |
73 |
76 infoText = new Label(composite, INFORMATION); |
74 infoText = new Label(composite, INFORMATION); |
77 infoText.setText("AnalyzeTool rom symbol definition is changed to project related definition. \nSelect project - properties - " + |
75 infoText |
78 "Carbide extensions - AnalyzeTool to define symbol file(s)."); |
76 .setText("AnalyzeTool rom symbol definition is changed to project related definition. \nSelect project - properties - " |
|
77 + "Carbide extensions - AnalyzeTool to define symbol file(s)."); |
79 |
78 |
80 return composite; |
79 return composite; |
81 } |
80 } |
82 |
81 |
83 /* |
82 /* |
84 * (non-Javadoc) |
83 * (non-Javadoc) |
85 * |
84 * |
86 * @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench) |
85 * @see |
|
86 * org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench) |
87 */ |
87 */ |
88 public void init(final IWorkbench workbench) { |
88 public void init(final IWorkbench workbench) { |
89 // MethodDeclaration/Block[count(BlockStatement) = 0 and |
89 // MethodDeclaration/Block[count(BlockStatement) = 0 and |
90 // @containsComment = 'false'] |
90 // @containsComment = 'false'] |
91 } |
91 } |