Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 102390 | Differences between
and this patch

Collapse All | Expand All

(-)src/com/ibm/etools/symptom/presentation/SymptomInformationDetails.java (-9 / +10 lines)
Lines 29-34 Link Here
29
import org.eclipse.ui.forms.widgets.Section;
29
import org.eclipse.ui.forms.widgets.Section;
30
30
31
import com.ibm.etools.symptom.editor.internal.util.GridUtil;
31
import com.ibm.etools.symptom.editor.internal.util.GridUtil;
32
import com.ibm.etools.symptom.editor.internal.util.SymptomEditMessages;
32
/**
33
/**
33
 * @author apnan
34
 * @author apnan
34
 *  
35
 *  
Lines 86-92 Link Here
86
				client.layout();
87
				client.layout();
87
			}
88
			}
88
		});		
89
		});		
89
		symptomInformationSection.setText(getString("_UI_SymptomInformationSectionTitle"));
90
		symptomInformationSection.setText(SymptomEditMessages._168);
90
		toolkit.createCompositeSeparator(symptomInformationSection);
91
		toolkit.createCompositeSeparator(symptomInformationSection);
91
92
92
		Composite sectionClient = toolkit.createComposite(symptomInformationSection);
93
		Composite sectionClient = toolkit.createComposite(symptomInformationSection);
Lines 102-108 Link Here
102
		description = toolkit.createText(sectionClient, "", SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);
103
		description = toolkit.createText(sectionClient, "", SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);
103
		description.setEditable(true);
104
		description.setEditable(true);
104
		description.setData(new Integer(DESC_ID));
105
		description.setData(new Integer(DESC_ID));
105
		description.setToolTipText(getString("_UI_SymptomInformation_description_tooltip"));
106
		description.setToolTipText(SymptomEditMessages._169);
106
		setLayout(l, description);
107
		setLayout(l, description);
107
		description.addModifyListener(this);
108
		description.addModifyListener(this);
108
109
Lines 111-117 Link Here
111
		toolkit.adapt(state, false, false);
112
		toolkit.adapt(state, false, false);
112
		state.setEditable(false);
113
		state.setEditable(false);
113
		state.setData(new Integer(STATE_ID));
114
		state.setData(new Integer(STATE_ID));
114
		state.setToolTipText(getString("_UI_SymptomInformation_state_tooltip"));
115
		state.setToolTipText(SymptomEditMessages._172);
115
		setLayout(l, state);
116
		setLayout(l, state);
116
		state.addSelectionListener(this);
117
		state.addSelectionListener(this);
117
118
Lines 119-125 Link Here
119
		solution = toolkit.createText(sectionClient, "", SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);
120
		solution = toolkit.createText(sectionClient, "", SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);
120
		solution.setEditable(true);
121
		solution.setEditable(true);
121
		solution.setData(new Integer(SOLUTION_ID));
122
		solution.setData(new Integer(SOLUTION_ID));
122
		solution.setToolTipText(getString("_UI_SymptomInformation_solution_tooltip"));
123
		solution.setToolTipText(SymptomEditMessages._171);
123
		setLayout(l, solution);
124
		setLayout(l, solution);
124
		solution.addModifyListener(this);
125
		solution.addModifyListener(this);
125
		
126
		
Lines 127-133 Link Here
127
		url = toolkit.createText(sectionClient, "", SWT.NONE);
128
		url = toolkit.createText(sectionClient, "", SWT.NONE);
128
		url.setEditable(true);
129
		url.setEditable(true);
129
		url.setData(new Integer(URL_ID));
130
		url.setData(new Integer(URL_ID));
130
		url.setToolTipText(getString("_UI_SymptomInformation_url_tooltip"));
131
		url.setToolTipText(SymptomEditMessages._173);
131
		setLayout(l, url);
132
		setLayout(l, url);
132
		url.addModifyListener(this);
133
		url.addModifyListener(this);
133
134
Lines 135-141 Link Here
135
		example = toolkit.createText(sectionClient, "", SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);
136
		example = toolkit.createText(sectionClient, "", SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);
136
		example.setEditable(true);
137
		example.setEditable(true);
137
		example.setData(new Integer(EXAMPLE_ID));
138
		example.setData(new Integer(EXAMPLE_ID));
138
		example.setToolTipText(getString("_UI_SymptomInformation_example_tooltip"));
139
		example.setToolTipText(SymptomEditMessages._170);
139
		setLayout(l, example);
140
		setLayout(l, example);
140
		example.addModifyListener(this);
141
		example.addModifyListener(this);
141
		
142
		
Lines 145-151 Link Here
145
		knowledgeCategory.setData(new Integer(KNOWLEDGE_CAT_ID));
146
		knowledgeCategory.setData(new Integer(KNOWLEDGE_CAT_ID));
146
		setLayout(l,knowledgeCategory);
147
		setLayout(l,knowledgeCategory);
147
		knowledgeCategory.addModifyListener(this);
148
		knowledgeCategory.addModifyListener(this);
148
		knowledgeCategory.setToolTipText(getString("_UI_KnowledgeType_knowledgeCategory_tooltip"));
149
		knowledgeCategory.setToolTipText(SymptomEditMessages._142);
149
		
150
		
150
		l = toolkit.createLabel(sectionClient, getString("_UI_KnowledgeType_knowledgeScope_feature")+":", SWT.WRAP);
151
		l = toolkit.createLabel(sectionClient, getString("_UI_KnowledgeType_knowledgeScope_feature")+":", SWT.WRAP);
151
		knowledgeScope = toolkit.createText(sectionClient, "", SWT.NONE);
152
		knowledgeScope = toolkit.createText(sectionClient, "", SWT.NONE);
Lines 153-165 Link Here
153
		knowledgeScope.setData(new Integer(KNOWLEDGE_SCOPE_ID));
154
		knowledgeScope.setData(new Integer(KNOWLEDGE_SCOPE_ID));
154
		setLayout(l,knowledgeScope);
155
		setLayout(l,knowledgeScope);
155
		knowledgeScope.addModifyListener(this);
156
		knowledgeScope.addModifyListener(this);
156
		knowledgeScope.setToolTipText(getString("_UI_KnowledgeType_knowledgeScope_tooltip"));
157
		knowledgeScope.setToolTipText(SymptomEditMessages._143);
157
158
158
		l = toolkit.createLabel(sectionClient, getString("_UI_SymptomInformation_version_feature") + ":", SWT.WRAP);
159
		l = toolkit.createLabel(sectionClient, getString("_UI_SymptomInformation_version_feature") + ":", SWT.WRAP);
159
		version = toolkit.createText(sectionClient, "", SWT.NONE);
160
		version = toolkit.createText(sectionClient, "", SWT.NONE);
160
		version.setEditable(true);
161
		version.setEditable(true);
161
		version.setData(new Integer(VERSION_ID));
162
		version.setData(new Integer(VERSION_ID));
162
		version.setToolTipText(getString("_UI_SymptomInformation_version_tooltip"));
163
		version.setToolTipText(SymptomEditMessages._174);
163
		setLayout(l, version);
164
		setLayout(l, version);
164
		version.setText(defaultVersion);
165
		version.setText(defaultVersion);
165
		version.addModifyListener(this);
166
		version.addModifyListener(this);
(-)src/com/ibm/etools/symptom/presentation/SymptomEditor.java (-6 / +8 lines)
Lines 84-89 Link Here
84
import org.eclipse.jface.viewers.StructuredViewer;
84
import org.eclipse.jface.viewers.StructuredViewer;
85
import org.eclipse.jface.viewers.TreeViewer;
85
import org.eclipse.jface.viewers.TreeViewer;
86
import org.eclipse.jface.viewers.Viewer;
86
import org.eclipse.jface.viewers.Viewer;
87
import org.eclipse.osgi.util.NLS;
87
import org.eclipse.swt.custom.CTabFolder;
88
import org.eclipse.swt.custom.CTabFolder;
88
import org.eclipse.swt.dnd.DND;
89
import org.eclipse.swt.dnd.DND;
89
import org.eclipse.swt.dnd.Transfer;
90
import org.eclipse.swt.dnd.Transfer;
Lines 116-121 Link Here
116
import com.ibm.etools.symptom.editor.IKTypeEditHandler;
117
import com.ibm.etools.symptom.editor.IKTypeEditHandler;
117
import com.ibm.etools.symptom.editor.SymptomEditPlugin;
118
import com.ibm.etools.symptom.editor.SymptomEditPlugin;
118
import com.ibm.etools.symptom.editor.internal.util.SymptomDBFindDialog;
119
import com.ibm.etools.symptom.editor.internal.util.SymptomDBFindDialog;
120
import com.ibm.etools.symptom.editor.internal.util.SymptomEditMessages;
119
import com.ibm.etools.symptom.editor.internal.util.SymptomEditorConstants;
121
import com.ibm.etools.symptom.editor.internal.util.SymptomEditorConstants;
120
import com.ibm.etools.symptom.provider.KnowledgeElementContainerItemProvider;
122
import com.ibm.etools.symptom.provider.KnowledgeElementContainerItemProvider;
121
123
Lines 476-483 Link Here
476
		return
478
		return
477
			MessageDialog.openQuestion
479
			MessageDialog.openQuestion
478
				(getSite().getShell(),
480
				(getSite().getShell(),
479
				 getString("_UI_FileConflict_label"),
481
				 SymptomEditMessages._140,
480
				 getString("_WARN_FileConflict"));
482
				 SymptomEditMessages._179);
481
	}
483
	}
482
484
483
	/**
485
	/**
Lines 1203-1218 Link Here
1203
				Collection collection = ((IStructuredSelection)selection).toList();
1205
				Collection collection = ((IStructuredSelection)selection).toList();
1204
				switch (collection.size()) {
1206
				switch (collection.size()) {
1205
					case 0: {
1207
					case 0: {
1206
						statusLineManager.setMessage(getString("_UI_NoObjectSelected"));
1208
						statusLineManager.setMessage(SymptomEditMessages._145);
1207
						break;
1209
						break;
1208
					}
1210
					}
1209
					case 1: {
1211
					case 1: {
1210
						String text = new AdapterFactoryItemDelegator(adapterFactory).getText(collection.iterator().next());
1212
						String text = new AdapterFactoryItemDelegator(adapterFactory).getText(collection.iterator().next());
1211
						statusLineManager.setMessage(getString("_UI_SingleObjectSelected", text));
1213
						statusLineManager.setMessage(NLS.bind(SymptomEditMessages._166, text));
1212
						break;
1214
						break;
1213
					}
1215
					}
1214
					default: {
1216
					default: {
1215
						statusLineManager.setMessage(getString("_UI_MultiObjectSelected", Integer.toString(collection.size())));
1217
						statusLineManager.setMessage(NLS.bind(SymptomEditMessages._144,Integer.toString(collection.size())));				 
1216
						break;
1218
						break;
1217
					}
1219
					}
1218
				}
1220
				}
Lines 1341-1347 Link Here
1341
//			createContextMenuFor(selectionViewer);
1343
//			createContextMenuFor(selectionViewer);
1342
//			
1344
//			
1343
//			int pageIndex = addPage(viewerPane.getControl());
1345
//			int pageIndex = addPage(viewerPane.getControl());
1344
//			setPageText(pageIndex, getString("_UI_SelectionPage_label"));
1346
//			setPageText(pageIndex, SymptomEditMessagse._157);
1345
			
1347
			
1346
		//	 master details page
1348
		//	 master details page
1347
		try {
1349
		try {
(-)src/com/ibm/etools/symptom/presentation/SimpleMatchPatternDetails.java (-12 / +12 lines)
Lines 171-195 Link Here
171
		name = toolkit.createText(sectionClient, "", SWT.NONE);		
171
		name = toolkit.createText(sectionClient, "", SWT.NONE);		
172
		name.setData(new Integer(NAME_ID));	
172
		name.setData(new Integer(NAME_ID));	
173
		setLayout(l,name);
173
		setLayout(l,name);
174
		name.setToolTipText(getString("_UI_SimpleMatchPattern_name_tooltip"));
174
		name.setToolTipText(SymptomEditMessages._159);
175
		
175
		
176
		l = toolkit.createLabel(sectionClient, getString("_UI_SimpleMatchPattern_value_feature")+":", SWT.WRAP);
176
		l = toolkit.createLabel(sectionClient, getString("_UI_SimpleMatchPattern_value_feature")+":", SWT.WRAP);
177
		value = toolkit.createText(sectionClient, "", SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);		
177
		value = toolkit.createText(sectionClient, "", SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);		
178
		value.setData(new Integer(VALUE_ID));
178
		value.setData(new Integer(VALUE_ID));
179
		setLayout(l,value);
179
		setLayout(l,value);
180
		value.setToolTipText(getString("_UI_SimpleMatchPattern_value_tooltip"));
180
		value.setToolTipText(SymptomEditMessages._164);
181
		
181
		
182
		l = toolkit.createLabel(sectionClient, getString("_UI_KnowledgeType_knowledgeCategory_feature")+":", SWT.WRAP);
182
		l = toolkit.createLabel(sectionClient, getString("_UI_KnowledgeType_knowledgeCategory_feature")+":", SWT.WRAP);
183
		knowledgeCategory = toolkit.createText(sectionClient, "", SWT.NONE);		
183
		knowledgeCategory = toolkit.createText(sectionClient, "", SWT.NONE);		
184
		knowledgeCategory.setData(new Integer(KNOWLEDGE_CAT_ID));
184
		knowledgeCategory.setData(new Integer(KNOWLEDGE_CAT_ID));
185
		setLayout(l,knowledgeCategory);
185
		setLayout(l,knowledgeCategory);
186
		knowledgeCategory.setToolTipText(getString("_UI_KnowledgeType_knowledgeCategory_tooltip"));
186
		knowledgeCategory.setToolTipText(SymptomEditMessages._142);
187
		
187
		
188
		l = toolkit.createLabel(sectionClient, getString("_UI_KnowledgeType_knowledgeScope_feature")+":", SWT.WRAP);
188
		l = toolkit.createLabel(sectionClient, getString("_UI_KnowledgeType_knowledgeScope_feature")+":", SWT.WRAP);
189
		knowledgeScope = toolkit.createText(sectionClient, "", SWT.NONE);		
189
		knowledgeScope = toolkit.createText(sectionClient, "", SWT.NONE);		
190
		knowledgeScope.setData(new Integer(KNOWLEDGE_SCOPE_ID));
190
		knowledgeScope.setData(new Integer(KNOWLEDGE_SCOPE_ID));
191
		setLayout(l,knowledgeScope);
191
		setLayout(l,knowledgeScope);
192
		knowledgeScope.setToolTipText(getString("_UI_KnowledgeType_knowledgeScope_tooltip"));
192
		knowledgeScope.setToolTipText(SymptomEditMessages._143);
193
		
193
		
194
		toolkit.paintBordersFor(sectionClient);
194
		toolkit.paintBordersFor(sectionClient);
195
195
Lines 209-217 Link Here
209
				client.layout();
209
				client.layout();
210
			}
210
			}
211
		});
211
		});
212
		symptomInfoSection.setText(getString("_UI_SymptomSectionTitle"));
212
		symptomInfoSection.setText(SymptomEditMessages._176);
213
		toolkit.createCompositeSeparator(symptomInfoSection);
213
		toolkit.createCompositeSeparator(symptomInfoSection);
214
		symptomInfoSection.setDescription(getString("_UI_SymptomSectionDesc"));
214
		symptomInfoSection.setDescription(SymptomEditMessages._175);
215
		
215
		
216
		Composite symptomSectionClient = toolkit.createComposite(symptomInfoSection);
216
		Composite symptomSectionClient = toolkit.createComposite(symptomInfoSection);
217
		detailsLayout = new GridLayout();
217
		detailsLayout = new GridLayout();
Lines 226-257 Link Here
226
		expirationTime = toolkit.createText(symptomSectionClient, "", SWT.NONE);		
226
		expirationTime = toolkit.createText(symptomSectionClient, "", SWT.NONE);		
227
		expirationTime.setData(new Integer(EXPIRATION_TIME_ID));
227
		expirationTime.setData(new Integer(EXPIRATION_TIME_ID));
228
		setLayout(l,expirationTime);
228
		setLayout(l,expirationTime);
229
		expirationTime.setToolTipText(getString("_UI_SimpleMatchPattern_expirationTime_tooltip"));
229
		expirationTime.setToolTipText(SymptomEditMessages._158);
230
230
231
		l = toolkit.createLabel(symptomSectionClient, getString("_UI_SimpleMatchPattern_priority_feature")+":", SWT.WRAP);
231
		l = toolkit.createLabel(symptomSectionClient, getString("_UI_SimpleMatchPattern_priority_feature")+":", SWT.WRAP);
232
		priority = toolkit.createText(symptomSectionClient, "", SWT.NONE);		
232
		priority = toolkit.createText(symptomSectionClient, "", SWT.NONE);		
233
		priority.setData(new Integer(PRIORITY_ID));		
233
		priority.setData(new Integer(PRIORITY_ID));		
234
		setLayout(l,priority);
234
		setLayout(l,priority);
235
		priority.setToolTipText(getString("_UI_SimpleMatchPattern_priority_tooltip"));
235
		priority.setToolTipText(SymptomEditMessages._160);
236
236
237
		l = toolkit.createLabel(symptomSectionClient, getString("_UI_SimpleMatchPattern_probability_feature")+":", SWT.WRAP);
237
		l = toolkit.createLabel(symptomSectionClient, getString("_UI_SimpleMatchPattern_probability_feature")+":", SWT.WRAP);
238
		probability = toolkit.createText(symptomSectionClient, "", SWT.NONE);		
238
		probability = toolkit.createText(symptomSectionClient, "", SWT.NONE);		
239
		probability.setData(new Integer(PROBABILITY_ID));		
239
		probability.setData(new Integer(PROBABILITY_ID));		
240
		setLayout(l,probability);
240
		setLayout(l,probability);
241
		probability.setToolTipText(getString("_UI_SimpleMatchPattern_probability_tooltip"));
241
		probability.setToolTipText(SymptomEditMessages._161);
242
242
243
		l = toolkit.createLabel(symptomSectionClient, getString("_UI_KnowledgeType_state_feature")+":", SWT.WRAP);
243
		l = toolkit.createLabel(symptomSectionClient, getString("_UI_KnowledgeType_state_feature")+":", SWT.WRAP);
244
		state = new CCombo(symptomSectionClient, SWT.FLAT);
244
		state = new CCombo(symptomSectionClient, SWT.FLAT);
245
		toolkit.adapt(state,false,false);		
245
		toolkit.adapt(state,false,false);		
246
		state.setData(new Integer(STATE_ID));
246
		state.setData(new Integer(STATE_ID));
247
		setLayout(l,state);		
247
		setLayout(l,state);		
248
		state.setToolTipText(getString("_UI_SimpleMatchPattern_state_tooltip"));
248
		state.setToolTipText(SymptomEditMessages._162);
249
		
249
		
250
		l = toolkit.createLabel(symptomSectionClient, getString("_UI_SimpleMatchPattern_symptomType_feature")+":", SWT.WRAP);		
250
		l = toolkit.createLabel(symptomSectionClient, getString("_UI_SimpleMatchPattern_symptomType_feature")+":", SWT.WRAP);		
251
		type = toolkit.createText(symptomSectionClient, "", SWT.NONE);
251
		type = toolkit.createText(symptomSectionClient, "", SWT.NONE);
252
		type.setData(new Integer(TYPE_ID));	
252
		type.setData(new Integer(TYPE_ID));	
253
		setLayout(l,type);
253
		setLayout(l,type);
254
		type.setToolTipText(getString("_UI_SimpleMatchPattern_type_tooltip"));
254
		type.setToolTipText(SymptomEditMessages._163);
255
		
255
		
256
//		l = toolkit.createLabel(symptomSectionClient, getString("_UI_SimpleMatchPattern_version_feature")+":", SWT.WRAP);		
256
//		l = toolkit.createLabel(symptomSectionClient, getString("_UI_SimpleMatchPattern_version_feature")+":", SWT.WRAP);		
257
//		version = toolkit.createText(symptomSectionClient, "", SWT.NONE);
257
//		version = toolkit.createText(symptomSectionClient, "", SWT.NONE);
Lines 259-265 Link Here
259
//		version.setData(new Integer(VERSION_ID));	
259
//		version.setData(new Integer(VERSION_ID));	
260
//		version.addModifyListener(this);
260
//		version.addModifyListener(this);
261
//		setLayout(l,version);
261
//		setLayout(l,version);
262
//		version.setToolTipText(getString("_UI_SimpleMatchPattern_version_tooltip"));
262
//		version.setToolTipText(SymptomEditMessages._165);
263
263
264
		name.addModifyListener(this);
264
		name.addModifyListener(this);
265
		value.addModifyListener(this);
265
		value.addModifyListener(this);
(-)src/com/ibm/etools/symptom/presentation/SymptomActionBarContributor.java (-12 / +13 lines)
Lines 59-64 Link Here
59
import com.ibm.etools.symptom.editor.internal.actions.PagingAction;
59
import com.ibm.etools.symptom.editor.internal.actions.PagingAction;
60
import com.ibm.etools.symptom.editor.internal.actions.ReuseAction;
60
import com.ibm.etools.symptom.editor.internal.actions.ReuseAction;
61
import com.ibm.etools.symptom.editor.internal.actions.SymptomCopyAction;
61
import com.ibm.etools.symptom.editor.internal.actions.SymptomCopyAction;
62
import com.ibm.etools.symptom.editor.internal.util.SymptomEditMessages;
62
import com.ibm.etools.symptom.editor.internal.util.SymptomEditUtil;
63
import com.ibm.etools.symptom.editor.internal.util.SymptomEditUtil;
63
64
64
/**
65
/**
Lines 93-99 Link Here
93
	 * @generated
94
	 * @generated
94
	 */
95
	 */
95
	protected IAction showPropertiesViewAction =
96
	protected IAction showPropertiesViewAction =
96
		new Action(SymptomEditPlugin.INSTANCE.getString("_UI_ShowPropertiesView_menu_item")) {
97
		new Action(SymptomEditMessages._126) {
97
			public void run() {
98
			public void run() {
98
				try {
99
				try {
99
					getPage().showView("org.eclipse.ui.views.PropertySheet");
100
					getPage().showView("org.eclipse.ui.views.PropertySheet");
Lines 112-118 Link Here
112
	 * @generated
113
	 * @generated
113
	 */
114
	 */
114
	protected IAction refreshViewerAction =
115
	protected IAction refreshViewerAction =
115
		new Action(SymptomEditPlugin.INSTANCE.getString("_UI_RefreshViewer_menu_item")) {
116
		new Action(SymptomEditMessages._125) {
116
			public boolean isEnabled() {
117
			public boolean isEnabled() {
117
				return activeEditorPart instanceof IViewerProvider;
118
				return activeEditorPart instanceof IViewerProvider;
118
			}
119
			}
Lines 204-210 Link Here
204
	public void contributeToMenu(IMenuManager menuManager) {
205
	public void contributeToMenu(IMenuManager menuManager) {
205
		super.contributeToMenu(menuManager);
206
		super.contributeToMenu(menuManager);
206
207
207
		IMenuManager submenuManager = new MenuManager(SymptomEditPlugin.INSTANCE.getString("_UI_SymptomEditor_menu"), "org.eclipse.hyades.models.symptomMenuID");
208
		IMenuManager submenuManager = new MenuManager(SymptomEditMessages._127, "org.eclipse.hyades.models.symptomMenuID");
208
		menuManager.insertAfter("additions", submenuManager);
209
		menuManager.insertAfter("additions", submenuManager);
209
210
210
		submenuManager.add(new Separator("settings"));
211
		submenuManager.add(new Separator("settings"));
Lines 214-229 Link Here
214
215
215
		// Prepare for CreateChild item addition or removal.
216
		// Prepare for CreateChild item addition or removal.
216
		//
217
		//
217
		createChildMenuManager = new MenuManager(SymptomEditPlugin.INSTANCE.getString("_UI_CreateChild_menu_item"));
218
		createChildMenuManager = new MenuManager(SymptomEditMessages._114);
218
		submenuManager.insertBefore("additions", createChildMenuManager);
219
		submenuManager.insertBefore("additions", createChildMenuManager);
219
		
220
		
220
		//Prepare for Reuse item addition or removal.
221
		//Prepare for Reuse item addition or removal.
221
		reuseChildMenuManager = new MenuManager(SymptomEditPlugin.INSTANCE.getString("_UI_ReuseChild_menu_item"));
222
		reuseChildMenuManager = new MenuManager(SymptomEditMessages._139);
222
		submenuManager.insertBefore("additions", reuseChildMenuManager);
223
		submenuManager.insertBefore("additions", reuseChildMenuManager);
223
224
224
		// Prepare for CreateSibling item addition or removal.
225
		// Prepare for CreateSibling item addition or removal.
225
		//
226
		//
226
		createSiblingMenuManager = new MenuManager(SymptomEditPlugin.INSTANCE.getString("_UI_CreateSibling_menu_item"));
227
		createSiblingMenuManager = new MenuManager(SymptomEditMessages._115);
227
		submenuManager.insertBefore("additions", createSiblingMenuManager);
228
		submenuManager.insertBefore("additions", createSiblingMenuManager);
228
229
229
		// Force an update because Eclipse hides empty menus now.
230
		// Force an update because Eclipse hides empty menus now.
Lines 433-447 Link Here
433
		super.menuAboutToShow(menuManager);
434
		super.menuAboutToShow(menuManager);
434
		MenuManager submenuManager = null;
435
		MenuManager submenuManager = null;
435
436
436
		submenuManager = new MenuManager(SymptomEditPlugin.INSTANCE.getString("_UI_CreateChild_menu_item"));
437
		submenuManager = new MenuManager(SymptomEditMessages._114);
437
		populateManager(submenuManager, createChildActions, null);
438
		populateManager(submenuManager, createChildActions, null);
438
		menuManager.insertBefore("additions", submenuManager);
439
		menuManager.insertBefore("additions", submenuManager);
439
440
440
		submenuManager = new MenuManager(SymptomEditPlugin.INSTANCE.getString("_UI_ReuseChild_menu_item"));
441
		submenuManager = new MenuManager(SymptomEditMessages._139);
441
		populateManager(submenuManager, reuseChildActions, null);
442
		populateManager(submenuManager, reuseChildActions, null);
442
		menuManager.insertBefore("additions", submenuManager);
443
		menuManager.insertBefore("additions", submenuManager);
443
444
444
//		submenuManager = new MenuManager(SymptomEditPlugin.INSTANCE.getString("_UI_CreateSibling_menu_item"));
445
//		submenuManager = new MenuManager(SymptomEditMessages._115);
445
//		populateManager(submenuManager, createSiblingActions, null);
446
//		populateManager(submenuManager, createSiblingActions, null);
446
//		menuManager.insertBefore("additions", submenuManager);
447
//		menuManager.insertBefore("additions", submenuManager);
447
	}
448
	}
Lines 462-472 Link Here
462
		
463
		
463
		if(pageActions==null){			
464
		if(pageActions==null){			
464
			pageActions = new IAction[3];			
465
			pageActions = new IAction[3];			
465
			pageUpAction = new PageUpAction(SymptomEditPlugin.INSTANCE.getString("_UI_Pg_Up"), SymptomEditorPluginImages.DESC_PG_UP);
466
			pageUpAction = new PageUpAction(SymptomEditMessages._123, SymptomEditorPluginImages.DESC_PG_UP);
466
			pageActions[0] = pageUpAction;
467
			pageActions[0] = pageUpAction;
467
			goToPageAction = new GoToPageAction(SymptomEditPlugin.INSTANCE.getString("_UI_Pg_Goto_label"), SymptomEditorPluginImages.DESC_PG_GOTO);
468
			goToPageAction = new GoToPageAction(SymptomEditMessages._124, SymptomEditorPluginImages.DESC_PG_GOTO);
468
			pageActions[1] = goToPageAction;
469
			pageActions[1] = goToPageAction;
469
			pageDownAction = new PageDownAction(SymptomEditPlugin.INSTANCE.getString("_UI_Pg_Down"), SymptomEditorPluginImages.DESC_PG_DOWN);
470
			pageDownAction = new PageDownAction(SymptomEditMessages._118, SymptomEditorPluginImages.DESC_PG_DOWN);
470
			pageActions[2] = pageDownAction;
471
			pageActions[2] = pageDownAction;
471
		}
472
		}
472
		
473
		
(-)src/com/ibm/etools/symptom/presentation/SymptomAnalysisViewer.java (-9 / +11 lines)
Lines 29-40 Link Here
29
import com.ibm.etools.symptom.editor.SymptomEditPlugin;
29
import com.ibm.etools.symptom.editor.SymptomEditPlugin;
30
import com.ibm.etools.symptom.editor.internal.SymptomEditorPluginImages;
30
import com.ibm.etools.symptom.editor.internal.SymptomEditorPluginImages;
31
import com.ibm.etools.symptom.editor.internal.util.GridUtil;
31
import com.ibm.etools.symptom.editor.internal.util.GridUtil;
32
import com.ibm.etools.symptom.editor.internal.util.SymptomEditMessages;
33
import org.eclipse.osgi.util.NLS;
32
34
33
public class SymptomAnalysisViewer extends ViewPart {
35
public class SymptomAnalysisViewer extends ViewPart {
34
	private PageBook _book;
36
	private PageBook _book;
35
	private IPage _defaultPage;
37
	private IPage _defaultPage;
36
	private SymptomAnalysisPage _currentPage = null;
38
	private SymptomAnalysisPage _currentPage = null;
37
	private String _title = SymptomEditPlugin.INSTANCE.getString("_UI_Symptom_Analysis_Viewer_Title");
39
	private String _title = SymptomEditPlugin.INSTANCE.getString("15");
38
	private boolean _initializedMenu = false;
40
	private boolean _initializedMenu = false;
39
	private Action _pageUp, _pageDown, _gotoPage;
41
	private Action _pageUp, _pageDown, _gotoPage;
40
42
Lines 63-69 Link Here
63
	private IPage createDefaultPage(PageBook book){
65
	private IPage createDefaultPage(PageBook book){
64
		DefaultPage page = new DefaultPage();
66
		DefaultPage page = new DefaultPage();
65
		page.createControl(book);
67
		page.createControl(book);
66
		page.setMessage(SymptomEditPlugin.INSTANCE.getString("_UI_Symptom_Default_Page_No_Data_Msg"));
68
		page.setMessage(SymptomEditMessages._131);
67
		return page;
69
		return page;
68
	}
70
	}
69
	
71
	
Lines 125-131 Link Here
125
			return;
127
			return;
126
		
128
		
127
		initializedMenu(true);
129
		initializedMenu(true);
128
		String STR_PAGE_UP = SymptomEditPlugin.INSTANCE.getString("_UI_Pg_Up");
130
		String STR_PAGE_UP = SymptomEditMessages._123;
129
		_pageUp = new Action(STR_PAGE_UP) {
131
		_pageUp = new Action(STR_PAGE_UP) {
130
			public void run() {
132
			public void run() {
131
				if (_currentPage == null || !(_currentPage instanceof SymptomAnalysisPage))
133
				if (_currentPage == null || !(_currentPage instanceof SymptomAnalysisPage))
Lines 148-154 Link Here
148
		_pageUp.setDescription(STR_PAGE_UP);
150
		_pageUp.setDescription(STR_PAGE_UP);
149
		_pageUp.setToolTipText(STR_PAGE_UP);
151
		_pageUp.setToolTipText(STR_PAGE_UP);
150
		
152
		
151
		String STR_PAGE_DOWN = SymptomEditPlugin.INSTANCE.getString("_UI_Pg_Down"); 
153
		String STR_PAGE_DOWN = SymptomEditMessages._118; 
152
		_pageDown = new Action(STR_PAGE_DOWN) {
154
		_pageDown = new Action(STR_PAGE_DOWN) {
153
			public void run() {
155
			public void run() {
154
				if (_currentPage == null || !(_currentPage instanceof SymptomAnalysisPage))
156
				if (_currentPage == null || !(_currentPage instanceof SymptomAnalysisPage))
Lines 171-177 Link Here
171
		_pageDown.setDescription(STR_PAGE_DOWN);
173
		_pageDown.setDescription(STR_PAGE_DOWN);
172
		_pageDown.setToolTipText(STR_PAGE_DOWN);
174
		_pageDown.setToolTipText(STR_PAGE_DOWN);
173
175
174
		String STR_GO_TO_PAGE = SymptomEditPlugin.INSTANCE.getString("_UI_Pg_Goto"); 
176
		String STR_GO_TO_PAGE = SymptomEditMessages._119; 
175
		_gotoPage = new Action(STR_GO_TO_PAGE) {
177
		_gotoPage = new Action(STR_GO_TO_PAGE) {
176
			public void run() {
178
			public void run() {
177
				if (_currentPage == null || !(_currentPage instanceof SymptomAnalysisPage))
179
				if (_currentPage == null || !(_currentPage instanceof SymptomAnalysisPage))
Lines 182-189 Link Here
182
				String[] variables = new String[2];
184
				String[] variables = new String[2];
183
				variables[0] = "1";
185
				variables[0] = "1";
184
				variables[1] = ""+totalPages;
186
				variables[1] = ""+totalPages;
185
				String dialogTitle = SymptomEditPlugin.INSTANCE.getString("_UI_Pg_Goto_Dialog_Title");
187
				String dialogTitle = SymptomEditMessages._122;
186
				String dialogMessage = SymptomEditPlugin.INSTANCE.getString("_UI_Pg_Goto_Dialog_Message", variables);
188
				String dialogMessage = NLS.bind(SymptomEditMessages._146, variables);
187
				InputDialog dialog = new InputDialog(getSite().getShell(), dialogTitle, dialogMessage, null, new IInputValidator(){
189
				InputDialog dialog = new InputDialog(getSite().getShell(), dialogTitle, dialogMessage, null, new IInputValidator(){
188
					public String isValid(String newText){
190
					public String isValid(String newText){
189
						if(newText == null || newText.length() == 0)
191
						if(newText == null || newText.length() == 0)
Lines 191-199 Link Here
191
						try{
193
						try{
192
							int pageNr = Integer.parseInt(newText);
194
							int pageNr = Integer.parseInt(newText);
193
							if(pageNr<1 || pageNr>totalPages)
195
							if(pageNr<1 || pageNr>totalPages)
194
								return SymptomEditPlugin.INSTANCE.getString("_UI_Pg_Goto_Dialog_Err_VNIR");
196
								return SymptomEditMessages._121;
195
						} catch (Exception e) {
197
						} catch (Exception e) {
196
							return SymptomEditPlugin.INSTANCE.getString("_UI_Pg_Goto_Dialog_Err_VNAN");
198
							return SymptomEditMessages._120;
197
						}
199
						}
198
						return null;
200
						return null;
199
					}
201
					}
(-)src/com/ibm/etools/symptom/presentation/SymptomAnalysisTreeContentProvider.java (-1 / +4 lines)
Lines 14-19 Link Here
14
import org.eclipse.jface.viewers.ITreeContentProvider;
14
import org.eclipse.jface.viewers.ITreeContentProvider;
15
import org.eclipse.jface.viewers.Viewer;
15
import org.eclipse.jface.viewers.Viewer;
16
import com.ibm.etools.symptom.editor.SymptomEditPlugin;
16
import com.ibm.etools.symptom.editor.SymptomEditPlugin;
17
import com.ibm.etools.symptom.editor.internal.util.SymptomEditMessages;
18
19
import org.eclipse.osgi.util.NLS;
17
20
18
public class SymptomAnalysisTreeContentProvider implements ITreeContentProvider {
21
public class SymptomAnalysisTreeContentProvider implements ITreeContentProvider {
19
	private SymptomAnalysisPage _container;
22
	private SymptomAnalysisPage _container;
Lines 113-119 Link Here
113
		variables[1] = "" + _totalPages;
116
		variables[1] = "" + _totalPages;
114
		variables[2] = "" + _allElements.size();
117
		variables[2] = "" + _allElements.size();
115
118
116
		String title = SymptomEditPlugin.INSTANCE.getString("_UI_Symptom_Analysis_Tree_View_Title", variables);
119
		String title = NLS.bind(SymptomEditMessages._177, variables);
117
120
118
		//		title = HyadesUtil.change(title, "%2", String.valueOf(_total));
121
		//		title = HyadesUtil.change(title, "%2", String.valueOf(_total));
119
		//		title = HyadesUtil.change(title, "%1", String.valueOf(_visible));
122
		//		title = HyadesUtil.change(title, "%1", String.valueOf(_visible));
(-)src/com/ibm/etools/symptom/presentation/KTypeContainerDetails.java (-1 / +2 lines)
Lines 26-31 Link Here
26
import org.eclipse.ui.forms.widgets.Section;
26
import org.eclipse.ui.forms.widgets.Section;
27
27
28
import com.ibm.etools.symptom.editor.internal.util.GridUtil;
28
import com.ibm.etools.symptom.editor.internal.util.GridUtil;
29
import com.ibm.etools.symptom.editor.internal.util.SymptomEditMessages;
29
30
30
/**
31
/**
31
 * @author apnan
32
 * @author apnan
Lines 79-85 Link Here
79
				client.layout();
80
				client.layout();
80
			}
81
			}
81
		});		
82
		});		
82
		knowledgeElemContainerSection.setText(getString("_UI_KnowledgeElementContainerSectionTitle"));
83
		knowledgeElemContainerSection.setText(SymptomEditMessages._141);
83
		toolkit.createCompositeSeparator(knowledgeElemContainerSection);
84
		toolkit.createCompositeSeparator(knowledgeElemContainerSection);
84
85
85
		Composite sectionClient = toolkit.createComposite(knowledgeElemContainerSection);
86
		Composite sectionClient = toolkit.createComposite(knowledgeElemContainerSection);
(-)src/com/ibm/etools/symptom/presentation/RecommendedActionDetails.java (-8 / +9 lines)
Lines 30-35 Link Here
30
import org.eclipse.ui.forms.widgets.Section;
30
import org.eclipse.ui.forms.widgets.Section;
31
31
32
import com.ibm.etools.symptom.editor.internal.util.GridUtil;
32
import com.ibm.etools.symptom.editor.internal.util.GridUtil;
33
import com.ibm.etools.symptom.editor.internal.util.SymptomEditMessages;
33
34
34
/**
35
/**
35
 * @author apnan
36
 * @author apnan
Lines 89-95 Link Here
89
				client.layout();
90
				client.layout();
90
			}
91
			}
91
		});		
92
		});		
92
		recommendedActionSection.setText(getString("_UI_RecommendedActionSectionTitle"));
93
		recommendedActionSection.setText(SymptomEditMessages._148);
93
		toolkit.createCompositeSeparator(recommendedActionSection);
94
		toolkit.createCompositeSeparator(recommendedActionSection);
94
		
95
		
95
		Composite sectionClient = toolkit.createComposite(recommendedActionSection);
96
		Composite sectionClient = toolkit.createComposite(recommendedActionSection);
Lines 106-112 Link Here
106
		description.setEditable(true);
107
		description.setEditable(true);
107
		description.setData(new Integer(DESC_ID));
108
		description.setData(new Integer(DESC_ID));
108
		setLayout(l,description);
109
		setLayout(l,description);
109
		description.setToolTipText(getString("_UI_RecommendedAction_description_tooltip"));
110
		description.setToolTipText(SymptomEditMessages._150);
110
		description.addModifyListener(this);		
111
		description.addModifyListener(this);		
111
		
112
		
112
		l = toolkit.createLabel(sectionClient, getString("_UI_KnowledgeType_state_feature")+":", SWT.WRAP);
113
		l = toolkit.createLabel(sectionClient, getString("_UI_KnowledgeType_state_feature")+":", SWT.WRAP);
Lines 115-121 Link Here
115
		state.setEditable(false);
116
		state.setEditable(false);
116
		state.setData(new Integer(STATE_ID));
117
		state.setData(new Integer(STATE_ID));
117
		setLayout(l,state);
118
		setLayout(l,state);
118
		state.setToolTipText(getString("_UI_RecommendedAction_state_tooltip"));
119
		state.setToolTipText(SymptomEditMessages._152);
119
		state.addSelectionListener(this);
120
		state.addSelectionListener(this);
120
121
121
		l = toolkit.createLabel(sectionClient, getString("_UI_RecommendedAction_directive_feature")+":", SWT.WRAP);
122
		l = toolkit.createLabel(sectionClient, getString("_UI_RecommendedAction_directive_feature")+":", SWT.WRAP);
Lines 123-129 Link Here
123
		directive.setEditable(true);
124
		directive.setEditable(true);
124
		directive.setData(new Integer(DIR_ID));
125
		directive.setData(new Integer(DIR_ID));
125
		setLayout(l,directive);
126
		setLayout(l,directive);
126
		directive.setToolTipText(getString("_UI_RecommendedAction_directive_tooltip"));
127
		directive.setToolTipText(SymptomEditMessages._151);
127
		directive.addModifyListener(this);
128
		directive.addModifyListener(this);
128
		
129
		
129
		l = toolkit.createLabel(sectionClient, getString("_UI_RecommendedAction_type_feature")+":", SWT.WRAP);
130
		l = toolkit.createLabel(sectionClient, getString("_UI_RecommendedAction_type_feature")+":", SWT.WRAP);
Lines 131-137 Link Here
131
		type.setEditable(true);
132
		type.setEditable(true);
132
		type.setData(new Integer(TYPE_ID));
133
		type.setData(new Integer(TYPE_ID));
133
		setLayout(l,type);
134
		setLayout(l,type);
134
		type.setToolTipText(getString("_UI_RecommendedAction_type_tooltip"));
135
		type.setToolTipText(SymptomEditMessages._153);
135
		type.addModifyListener(this);
136
		type.addModifyListener(this);
136
		
137
		
137
		l = toolkit.createLabel(sectionClient, getString("_UI_KnowledgeType_knowledgeCategory_feature")+":", SWT.WRAP);
138
		l = toolkit.createLabel(sectionClient, getString("_UI_KnowledgeType_knowledgeCategory_feature")+":", SWT.WRAP);
Lines 140-146 Link Here
140
		knowledgeCategory.setData(new Integer(KNOWLEDGE_CAT_ID));
141
		knowledgeCategory.setData(new Integer(KNOWLEDGE_CAT_ID));
141
		setLayout(l,knowledgeCategory);
142
		setLayout(l,knowledgeCategory);
142
		knowledgeCategory.addModifyListener(this);
143
		knowledgeCategory.addModifyListener(this);
143
		knowledgeCategory.setToolTipText(getString("_UI_KnowledgeType_knowledgeCategory_tooltip"));
144
		knowledgeCategory.setToolTipText(SymptomEditMessages._142);
144
		
145
		
145
		l = toolkit.createLabel(sectionClient, getString("_UI_KnowledgeType_knowledgeScope_feature")+":", SWT.WRAP);
146
		l = toolkit.createLabel(sectionClient, getString("_UI_KnowledgeType_knowledgeScope_feature")+":", SWT.WRAP);
146
		knowledgeScope = toolkit.createText(sectionClient, "", SWT.NONE);
147
		knowledgeScope = toolkit.createText(sectionClient, "", SWT.NONE);
Lines 148-161 Link Here
148
		knowledgeScope.setData(new Integer(KNOWLEDGE_SCOPE_ID));
149
		knowledgeScope.setData(new Integer(KNOWLEDGE_SCOPE_ID));
149
		setLayout(l,knowledgeScope);
150
		setLayout(l,knowledgeScope);
150
		knowledgeScope.addModifyListener(this);
151
		knowledgeScope.addModifyListener(this);
151
		knowledgeScope.setToolTipText(getString("_UI_KnowledgeType_knowledgeScope_tooltip"));
152
		knowledgeScope.setToolTipText(SymptomEditMessages._143);
152
				
153
				
153
		l = toolkit.createLabel(sectionClient, getString("_UI_RecommendedAction_version_feature")+":", SWT.WRAP);
154
		l = toolkit.createLabel(sectionClient, getString("_UI_RecommendedAction_version_feature")+":", SWT.WRAP);
154
		version = toolkit.createText(sectionClient, "", SWT.NONE);
155
		version = toolkit.createText(sectionClient, "", SWT.NONE);
155
		version.setEditable(true);
156
		version.setEditable(true);
156
		version.setData(new Integer(VERSION_ID));
157
		version.setData(new Integer(VERSION_ID));
157
		setLayout(l,version);
158
		setLayout(l,version);
158
		version.setToolTipText(getString("_UI_RecommendedAction_version_tooltip"));
159
		version.setToolTipText(SymptomEditMessages._154);
159
		version.addModifyListener(this);
160
		version.addModifyListener(this);
160
		toolkit.paintBordersFor(sectionClient);
161
		toolkit.paintBordersFor(sectionClient);
161
162
(-)src/com/ibm/etools/symptom/presentation/SymptomInfoDetailPane.java (-10 / +10 lines)
Lines 74-80 Link Here
74
				_container.layout();
74
				_container.layout();
75
			}
75
			}
76
		});
76
		});
77
		_treeSection.setText(SymptomEditPlugin.INSTANCE.getString("_UI_SymptomInfo_TreeSectionTitle"));
77
		_treeSection.setText(SymptomEditMessages._129);
78
		_toolkit.createCompositeSeparator(_treeSection);
78
		_toolkit.createCompositeSeparator(_treeSection);
79
		_treeSection.setDescription(SymptomEditMessages._112);
79
		_treeSection.setDescription(SymptomEditMessages._112);
80
		
80
		
Lines 111-117 Link Here
111
				_container.layout();
111
				_container.layout();
112
			}
112
			}
113
		});
113
		});
114
		_tableSection.setText(SymptomEditPlugin.INSTANCE.getString("_UI_SymptomInfo_TableSectionTitle_Info"));
114
		_tableSection.setText(SymptomEditMessages._128);
115
		_toolkit.createCompositeSeparator(_tableSection);
115
		_toolkit.createCompositeSeparator(_tableSection);
116
		_tableSection.setDescription(SymptomEditMessages._110);
116
		_tableSection.setDescription(SymptomEditMessages._110);
117
		
117
		
Lines 142-152 Link Here
142
			public void run(){
142
			public void run(){
143
				boolean show = _filterAction.isChecked();
143
				boolean show = _filterAction.isChecked();
144
				if (!show){
144
				if (!show){
145
					_filterAction.setToolTipText(SymptomEditPlugin.INSTANCE.getString("_UI_Symptom_Information_Checked_Button_ToolTip"));
145
					_filterAction.setToolTipText(SymptomEditMessages._133);
146
					_treeSection.setDescription("");
146
					_treeSection.setDescription("");
147
				}
147
				}
148
				else{
148
				else{
149
					_filterAction.setToolTipText(SymptomEditPlugin.INSTANCE.getString("_UI_Symptom_Information_Unchecked_Button_ToolTip"));
149
					_filterAction.setToolTipText(SymptomEditMessages._135);
150
					_treeSection.setDescription(SymptomEditMessages._112);
150
					_treeSection.setDescription(SymptomEditMessages._112);
151
				}
151
				}
152
				((SymptomInfoContentProvider) _treeViewer.getContentProvider()).showInfoNode(show);
152
				((SymptomInfoContentProvider) _treeViewer.getContentProvider()).showInfoNode(show);
Lines 154-160 Link Here
154
			}
154
			}
155
		};
155
		};
156
		_filterAction.setChecked(true);
156
		_filterAction.setChecked(true);
157
		_filterAction.setToolTipText(SymptomEditPlugin.INSTANCE.getString("_UI_Symptom_Information_Unchecked_Button_ToolTip"));
157
		_filterAction.setToolTipText(SymptomEditMessages._135);
158
		SymptomEditorPluginImages.setImageDescriptors(
158
		SymptomEditorPluginImages.setImageDescriptors(
159
				_filterAction,
159
				_filterAction,
160
				SymptomEditorPluginImages.T_LCL,
160
				SymptomEditorPluginImages.T_LCL,
Lines 194-222 Link Here
194
	
194
	
195
	private void update(Object newInput){
195
	private void update(Object newInput){
196
		if (newInput instanceof SymptomInformation){
196
		if (newInput instanceof SymptomInformation){
197
			_tableSection.setText(SymptomEditPlugin.INSTANCE.getString("_UI_SymptomInfo_TableSectionTitle_Info"));
197
			_tableSection.setText(SymptomEditMessages._128);
198
			_tableSection.setDescription(SymptomEditMessages._110);
198
			_tableSection.setDescription(SymptomEditMessages._110);
199
199
200
			String desc = ((SymptomInformation) newInput).getDescription();
200
			String desc = ((SymptomInformation) newInput).getDescription();
201
			_descText.setText(desc == null ? "" : desc);
201
			_descText.setText(desc == null ? "" : desc);
202
			_descText.setToolTipText(SymptomEditPlugin.INSTANCE.getString("_UI_SymptomInformation_description_tooltip"));
202
			_descText.setToolTipText(SymptomEditMessages._169);
203
			
203
			
204
			_detailLabel.setText(SymptomEditPlugin.INSTANCE.getString("_UI_SymptomInformation_solution_feature") + ":");
204
			_detailLabel.setText(SymptomEditPlugin.INSTANCE.getString("_UI_SymptomInformation_solution_feature") + ":");
205
			String solution = ((SymptomInformation) newInput).getSolution();
205
			String solution = ((SymptomInformation) newInput).getSolution();
206
			_detailText.setText(solution == null ? "" : solution);
206
			_detailText.setText(solution == null ? "" : solution);
207
			_detailText.setToolTipText(SymptomEditPlugin.INSTANCE.getString("_UI_SymptomInformation_solution_tooltip"));
207
			_detailText.setToolTipText(SymptomEditMessages._171);
208
		} else if (newInput instanceof RecommendedAction){
208
		} else if (newInput instanceof RecommendedAction){
209
			_tableSection.setText(SymptomEditMessages._111);
209
			_tableSection.setText(SymptomEditMessages._111);
210
			_tableSection.setDescription(SymptomEditMessages._109);
210
			_tableSection.setDescription(SymptomEditMessages._109);
211
211
212
			String desc = ((RecommendedAction) newInput).getDescription();
212
			String desc = ((RecommendedAction) newInput).getDescription();
213
			_descText.setText(desc == null ? "" : desc);
213
			_descText.setText(desc == null ? "" : desc);
214
			_descText.setToolTipText(SymptomEditPlugin.INSTANCE.getString("_UI_RecommendedAction_description_tooltip"));
214
			_descText.setToolTipText(SymptomEditMessages._150);
215
			
215
			
216
			_detailLabel.setText(SymptomEditPlugin.INSTANCE.getString("_UI_RecommendedAction_directive_feature")+":");
216
			_detailLabel.setText(SymptomEditPlugin.INSTANCE.getString("_UI_RecommendedAction_directive_feature")+":");
217
			String directive = ((RecommendedAction) newInput).getDirective();
217
			String directive = ((RecommendedAction) newInput).getDirective();
218
			_detailText.setText(directive == null ? "" : directive);
218
			_detailText.setText(directive == null ? "" : directive);
219
			_detailText.setToolTipText(SymptomEditPlugin.INSTANCE.getString("_UI_RecommendedAction_directive_tooltip"));
219
			_detailText.setToolTipText(SymptomEditMessages._151);
220
		}
220
		}
221
	}
221
	}
222
	
222
	
(-)src/com/ibm/etools/symptom/presentation/SymptomAnalysisDetailPageBook.java (-22 / +12 lines)
Lines 130-149 Link Here
130
		_tabFolder = new CTabFolder(this, SWT.TOP);
130
		_tabFolder = new CTabFolder(this, SWT.TOP);
131
131
132
		_symptomDescTabItem = new CTabItem(_tabFolder, SWT.NONE);
132
		_symptomDescTabItem = new CTabItem(_tabFolder, SWT.NONE);
133
		_symptomDescTabItem.setText(SymptomEditPlugin.INSTANCE
133
		_symptomDescTabItem.setText(SymptomEditMessages._132);
134
				.getString("_UI_Symptom_Description_Tab"));
135
		createSymptomDescViewer();
134
		createSymptomDescViewer();
136
		//_symptomDescTabItem.setControl();
135
		//_symptomDescTabItem.setControl();
137
136
138
		_symptomInfoTabItem = new CTabItem(_tabFolder, SWT.NONE);
137
		_symptomInfoTabItem = new CTabItem(_tabFolder, SWT.NONE);
139
		_symptomInfoTabItem.setText(SymptomEditPlugin.INSTANCE
138
		_symptomInfoTabItem.setText(SymptomEditMessages._134);
140
				.getString("_UI_Symptom_Information_Tab"));
141
		createSymptomInfoViewer();
139
		createSymptomInfoViewer();
142
		_symptomInfoTabItem.setControl(_symptomInfoViewer.getControl());
140
		_symptomInfoTabItem.setControl(_symptomInfoViewer.getControl());
143
141
144
		_cbeTabItem = new CTabItem(_tabFolder, SWT.NONE);
142
		_cbeTabItem = new CTabItem(_tabFolder, SWT.NONE);
145
		_cbeTabItem.setText(SymptomEditPlugin.INSTANCE
143
		_cbeTabItem.setText(SymptomEditMessages._130);
146
				.getString("_UI_Symptom_Correlated_Tab"));
147
144
148
		createCBETableViewer();
145
		createCBETableViewer();
149
		_cbeTabItem.setControl(_cbeMatchedEvents);
146
		_cbeTabItem.setControl(_cbeMatchedEvents);
Lines 241-248 Link Here
241
			public void menuAboutToShow(IMenuManager menu) {
238
			public void menuAboutToShow(IMenuManager menu) {
242
				if (_gotoLogViewAction == null) {
239
				if (_gotoLogViewAction == null) {
243
					_gotoLogViewAction = new GoToLogViewAction(
240
					_gotoLogViewAction = new GoToLogViewAction(
244
							SymptomEditPlugin.INSTANCE
241
							SymptomEditMessages._117,
245
									.getString("_UI_Open_Log_View_Menu_Item"),
246
							SymptomEditorPluginImages
242
							SymptomEditorPluginImages
247
									.getImageDescriptor(SymptomEditorPluginImages.IMG_OPEN_LOG_VIEW));
243
									.getImageDescriptor(SymptomEditorPluginImages.IMG_OPEN_LOG_VIEW));
248
				}
244
				}
Lines 250-256 Link Here
250
						.getSelection());
246
						.getSelection());
251
				if (_pageUpAction == null) {
247
				if (_pageUpAction == null) {
252
					_pageUpAction = new TablePageUpControl(
248
					_pageUpAction = new TablePageUpControl(
253
							SymptomEditPlugin.INSTANCE.getString("_UI_Pg_Up"),
249
							SymptomEditMessages._123,
254
							SymptomEditorPluginImages.DESC_PG_UP,
250
							SymptomEditorPluginImages.DESC_PG_UP,
255
							(CBETableContentProvider) _cbeTableViewer
251
							(CBETableContentProvider) _cbeTableViewer
256
									.getContentProvider());
252
									.getContentProvider());
Lines 258-265 Link Here
258
				_pageUpAction.update();
254
				_pageUpAction.update();
259
				if (_goToPageAction == null) {
255
				if (_goToPageAction == null) {
260
					_goToPageAction = new TableGoToPageAction(
256
					_goToPageAction = new TableGoToPageAction(
261
							SymptomEditPlugin.INSTANCE
257
							SymptomEditMessages._124,
262
									.getString("_UI_Pg_Goto_label"),
263
							SymptomEditorPluginImages.DESC_PG_GOTO,
258
							SymptomEditorPluginImages.DESC_PG_GOTO,
264
							(CBETableContentProvider) _cbeTableViewer
259
							(CBETableContentProvider) _cbeTableViewer
265
									.getContentProvider());
260
									.getContentProvider());
Lines 268-274 Link Here
268
263
269
				if (_pageDownAction == null) {
264
				if (_pageDownAction == null) {
270
					_pageDownAction = new TablePageDownControl(
265
					_pageDownAction = new TablePageDownControl(
271
							SymptomEditPlugin.INSTANCE.getString("_UI_Pg_Down"),
266
							SymptomEditMessages._118,
272
							SymptomEditorPluginImages.DESC_PG_DOWN,
267
							SymptomEditorPluginImages.DESC_PG_DOWN,
273
							(CBETableContentProvider) _cbeTableViewer
268
							(CBETableContentProvider) _cbeTableViewer
274
									.getContentProvider());
269
									.getContentProvider());
Lines 643-652 Link Here
643
			String[] variables = new String[2];
638
			String[] variables = new String[2];
644
			variables[0] = "1";
639
			variables[0] = "1";
645
			variables[1] = "" + totalPages;
640
			variables[1] = "" + totalPages;
646
			String dialogTitle = SymptomEditPlugin.INSTANCE
641
			String dialogTitle = SymptomEditMessages._122;
647
					.getString("_UI_Pg_Goto_Dialog_Title");
642
			String dialogMessage = NLS.bind(SymptomEditMessages._146, variables); 
648
			String dialogMessage = SymptomEditPlugin.INSTANCE.getString(
649
					"_UI_Pg_Goto_Dialog_Message", variables);
650
			InputDialog dialog = new InputDialog(_cbeTableViewer.getControl()
643
			InputDialog dialog = new InputDialog(_cbeTableViewer.getControl()
651
					.getShell(), dialogTitle, dialogMessage, null,
644
					.getShell(), dialogTitle, dialogMessage, null,
652
					new IInputValidator() {
645
					new IInputValidator() {
Lines 656-666 Link Here
656
							try {
649
							try {
657
								int pageNr = Integer.parseInt(newText);
650
								int pageNr = Integer.parseInt(newText);
658
								if (pageNr < 1 || pageNr > totalPages)
651
								if (pageNr < 1 || pageNr > totalPages)
659
									return SymptomEditPlugin.INSTANCE
652
									return SymptomEditMessages._121;
660
											.getString("_UI_Pg_Goto_Dialog_Err_VNIR");
661
							} catch (Exception e) {
653
							} catch (Exception e) {
662
								return SymptomEditPlugin.INSTANCE
654
								return SymptomEditMessages._120;
663
										.getString("_UI_Pg_Goto_Dialog_Err_VNAN");
664
							}
655
							}
665
							return null;
656
							return null;
666
						}
657
						}
Lines 856-863 Link Here
856
		variables[1] = "" + totalPages;
847
		variables[1] = "" + totalPages;
857
		variables[2] = "" + totalNrOfEvents;
848
		variables[2] = "" + totalNrOfEvents;
858
849
859
		String title = SymptomEditPlugin.INSTANCE.getString(
850
		String title = NLS.bind(SymptomEditMessages._178, variables);
860
				"_UI_Symptom_Matched_Events_Label", variables);
861
		_matchedEventsPageStatus.setText(title);
851
		_matchedEventsPageStatus.setText(title);
862
	}
852
	}
863
853
(-)src/com/ibm/etools/symptom/presentation/SymptomMasterDetailsBlock.java (-7 / +8 lines)
Lines 57-62 Link Here
57
import org.eclipse.ui.forms.widgets.FormToolkit;
57
import org.eclipse.ui.forms.widgets.FormToolkit;
58
import org.eclipse.ui.forms.widgets.ScrolledForm;
58
import org.eclipse.ui.forms.widgets.ScrolledForm;
59
import org.eclipse.ui.forms.widgets.Section;
59
import org.eclipse.ui.forms.widgets.Section;
60
import org.eclipse.osgi.util.NLS;
60
61
61
import com.ibm.etools.symptom.editor.SymptomEditPlugin;
62
import com.ibm.etools.symptom.editor.SymptomEditPlugin;
62
import com.ibm.etools.symptom.editor.internal.SymptomEditorPluginImages;
63
import com.ibm.etools.symptom.editor.internal.SymptomEditorPluginImages;
Lines 111-117 Link Here
111
		layout.marginHeight = 2;
112
		layout.marginHeight = 2;
112
		client.setLayout(layout);
113
		client.setLayout(layout);
113
		//create page info label
114
		//create page info label
114
		pageInfo = toolkit.createLabel(client, SymptomEditPlugin.INSTANCE.getString("_UI_PageInfo_Label"), SWT.NONE);
115
		pageInfo = toolkit.createLabel(client,  SymptomEditMessages._181, SWT.NONE);
115
		pageInfo.setFont(JFaceResources.getBannerFont());
116
		pageInfo.setFont(JFaceResources.getBannerFont());
116
		pageInfo.setForeground(JFaceColors.getBannerForeground(ourEditor.getSite().getShell().getDisplay()));
117
		pageInfo.setForeground(JFaceColors.getBannerForeground(ourEditor.getSite().getShell().getDisplay()));
117
		
118
		
Lines 227-233 Link Here
227
			}
228
			}
228
		};
229
		};
229
		haction.setChecked(true);
230
		haction.setChecked(true);
230
		haction.setToolTipText(SymptomEditPlugin.INSTANCE.getString("_UI_HorizontalOrientation_label"));
231
		haction.setToolTipText(SymptomEditMessages._116);
231
		haction.setImageDescriptor(SymptomEditorPluginImages.DESC_HORIZONTAL);
232
		haction.setImageDescriptor(SymptomEditorPluginImages.DESC_HORIZONTAL);
232
		haction.setDisabledImageDescriptor(SymptomEditorPluginImages.DESC_HORIZONTAL_DISABLED);
233
		haction.setDisabledImageDescriptor(SymptomEditorPluginImages.DESC_HORIZONTAL_DISABLED);
233
234
Lines 238-244 Link Here
238
			}
239
			}
239
		};
240
		};
240
		vaction.setChecked(false);
241
		vaction.setChecked(false);
241
		vaction.setToolTipText(SymptomEditPlugin.INSTANCE.getString("_UI_VerticalOrientation_label"));
242
		vaction.setToolTipText(SymptomEditMessages._136);
242
		vaction.setImageDescriptor(SymptomEditorPluginImages.DESC_VERTICAL);
243
		vaction.setImageDescriptor(SymptomEditorPluginImages.DESC_VERTICAL);
243
		vaction.setDisabledImageDescriptor(SymptomEditorPluginImages.DESC_VERTICAL_DISABLED);
244
		vaction.setDisabledImageDescriptor(SymptomEditorPluginImages.DESC_VERTICAL_DISABLED);
244
		
245
		
Lines 414-420 Link Here
414
				break;
415
				break;
415
			case FIND_BTN:
416
			case FIND_BTN:
416
				if(findAction==null)
417
				if(findAction==null)
417
					findAction = new FindAction(this, SymptomEditPlugin.INSTANCE.getString("_UI_find_label"));
418
					findAction = new FindAction(this, SymptomEditMessages._137);
418
				findAction.run();
419
				findAction.run();
419
			
420
			
420
		}		
421
		}		
Lines 430-437 Link Here
430
	
431
	
431
	public Action getFindAction(){
432
	public Action getFindAction(){
432
		if(findAction==null)	
433
		if(findAction==null)	
433
			findAction = new FindAction(this, SymptomEditPlugin.INSTANCE.getString("_UI_find_label"));
434
			findAction = new FindAction(this, SymptomEditMessages._137);
434
		findAction.setToolTipText(SymptomEditPlugin.INSTANCE.getString("_UI_find_tooltip"));
435
		findAction.setToolTipText(SymptomEditMessages._138);
435
		findAction.setImageDescriptor(SymptomEditorPluginImages.DESC_FIND);
436
		findAction.setImageDescriptor(SymptomEditorPluginImages.DESC_FIND);
436
		findAction.setDisabledImageDescriptor(SymptomEditorPluginImages.DESC_FIND_DISABLED);
437
		findAction.setDisabledImageDescriptor(SymptomEditorPluginImages.DESC_FIND_DISABLED);
437
//		findAction.setActionDefinitionId("com.ibm.etools.symptom.editor.findAction");
438
//		findAction.setActionDefinitionId("com.ibm.etools.symptom.editor.findAction");
Lines 483-489 Link Here
483
		KnowledgeElementContainer root = getTreeRoot();
484
		KnowledgeElementContainer root = getTreeRoot();
484
		KnowledgeElementContainerItemProvider provider = (KnowledgeElementContainerItemProvider)ourEditor.getAdapterFactory().adapt(root, root);
485
		KnowledgeElementContainerItemProvider provider = (KnowledgeElementContainerItemProvider)ourEditor.getAdapterFactory().adapt(root, root);
485
		if(provider!=null){
486
		if(provider!=null){
486
			pageInfo.setText(SymptomEditPlugin.INSTANCE.getString("_UI_PageInfo_Label", new String[]{""+(provider.getCurrentPage()+1), ""+provider.getTotalNrOfPages(root)}));
487
			pageInfo.setText(NLS.bind(SymptomEditMessages._181, new String[]{""+(provider.getCurrentPage()+1), ""+provider.getTotalNrOfPages(root)}));
487
		}
488
		}
488
		
489
		
489
	}
490
	}
(-)src/com/ibm/etools/symptom/presentation/MasterDetailsPage.java (-1 / +2 lines)
Lines 20-25 Link Here
20
import org.eclipse.ui.forms.widgets.ScrolledForm;
20
import org.eclipse.ui.forms.widgets.ScrolledForm;
21
import com.ibm.etools.symptom.editor.SymptomEditPlugin;
21
import com.ibm.etools.symptom.editor.SymptomEditPlugin;
22
import com.ibm.etools.symptom.editor.internal.util.SymptomDBFindDialog;
22
import com.ibm.etools.symptom.editor.internal.util.SymptomDBFindDialog;
23
import com.ibm.etools.symptom.editor.internal.util.SymptomEditMessages;
23
24
24
public class MasterDetailsPage extends FormPage implements IPropertyListener, Listener{
25
public class MasterDetailsPage extends FormPage implements IPropertyListener, Listener{
25
26
Lines 32-38 Link Here
32
	protected void createFormContent(final IManagedForm managedForm) {
33
	protected void createFormContent(final IManagedForm managedForm) {
33
		final ScrolledForm form = managedForm.getForm();
34
		final ScrolledForm form = managedForm.getForm();
34
		this.toolkit = managedForm.getToolkit();
35
		this.toolkit = managedForm.getToolkit();
35
		form.setText(SymptomEditPlugin.INSTANCE.getString("_UI_CorrelationEngine_symptomsDefinitions_feature"));
36
		form.setText(SymptomEditMessages._113);
36
37
37
		block = new SymptomMasterDetailsBlock(this,(SymptomEditor)getEditor());
38
		block = new SymptomMasterDetailsBlock(this,(SymptomEditor)getEditor());
38
		block.createContent(managedForm);
39
		block.createContent(managedForm);
(-)plugin.properties (-122 / +53 lines)
Lines 9-189 Link Here
9
9             = Migrate Symptom Databases
9
9             = Migrate Symptom Databases
10
10 = A wizard that creates a new symptom database
10
10 = A wizard that creates a new symptom database
11
11 = A wizard for migration of symptom databases using the old format
11
11 = A wizard for migration of symptom databases using the old format
12
12                      = IBM WebSphere Application Server Standard Edition
12
12             = AC Symptom Database tool
13
13                      = IBM WebSphere Application Server Advanced Edition
13
13           = IBM
14
14                   = IBM WebSphere Application Server, Version 5
14
14 = Symptom Model Editor
15
15                   = IBM WebSphere Application Server, Version 6
15
15 = Symptom Analysis Result View
16
16                   = IBM WebSphere Application Server Network Deployment, Version 5
16
16 = Example EMF Model Creation Wizards
17
17
17                   = AC Log Analyzer
18
17             = AC Symptom Database tool
19
18           = IBM
20
18
19
#EMF STRINGS
20
_UI_DocumentRoot_type = Document Root
21
_UI_CommonBaseEventKType_type = Common Base Event KType
21
_UI_CommonBaseEventKType_type = Common Base Event KType
22
_UI_CommonBaseEventKType_uri_feature = Uri
22
_UI_CommonBaseEventKType_uri_feature = Uri
23
_UI_CommonBaseEvent_type = Common Base Event
24
_UI_CorrelationEngine_id_feature = Id
23
_UI_CorrelationEngine_id_feature = Id
25
_UI_CorrelationEngine_symptomsDefinitions_feature = Symptoms Definitions
26
_UI_CorrelationEngine_type = Correlation Engine
24
_UI_CorrelationEngine_type = Correlation Engine
27
_UI_CorrelationEngine_type_feature = Type
25
_UI_CorrelationEngine_type_feature = Type
28
_UI_CreateChild_description = Create a new child of type {0} for the {1} feature of the selected {2}.
29
_UI_CreateChild_menu_item = &New
30
_UI_CreateChild_text = {0}
31
_UI_CreateChild_text2 = {1} {0}
32
_UI_CreateChild_tooltip = Create New {0} Under {1} Feature
33
_UI_CreateSibling_description = Create a new sibling of type {0} for the selected {2}, under the {1} feature of their parent.
34
_UI_CreateSibling_menu_item = N&ew Sibling
35
_UI_DocumentRoot_correlationEngine_feature = Correlation Engine
36
_UI_DocumentRoot_knowledgeElementContainer_feature = Knowledge Element Container
37
_UI_DocumentRoot_knowledgeType_feature = Knowledge Type
38
_UI_DocumentRoot_mixed_feature = Mixed
39
_UI_DocumentRoot_recommendedAction_feature = Recommended Action
40
_UI_DocumentRoot_symptomInformation_feature = Symptom Information
41
_UI_DocumentRoot_symptom_feature = Symptom
42
_UI_DocumentRoot_type = Document Root
43
_UI_DocumentRoot_xMLNSPrefixMap_feature = XMLNS Prefix Map
44
_UI_DocumentRoot_xSISchemaLocation_feature = XSI Schema Location
45
_UI_FileConflict_label = File Conflict
46
_UI_HorizontalOrientation_label = Horizontal orientation
47
_UI_KnowledgeElementContainerSectionTitle = Knowledge element container properties
48
_UI_KnowledgeElementContainer_correlationEngine_feature = Correlation Engine
49
_UI_KnowledgeElementContainer_description_feature = &Description
26
_UI_KnowledgeElementContainer_description_feature = &Description
50
_UI_KnowledgeElementContainer_id_feature = Id
27
_UI_KnowledgeElementContainer_id_feature = Id
51
_UI_KnowledgeElementContainer_kTypes_feature = KTypes
52
_UI_KnowledgeElementContainer_knowledgeElementType_feature = Knowledge Element Type
53
_UI_KnowledgeElementContainer_name_feature = &Name
28
_UI_KnowledgeElementContainer_name_feature = &Name
54
_UI_KnowledgeElementContainer_type = Knowledge Element Container
29
_UI_KnowledgeElementContainer_type = Knowledge Element Container
55
_UI_KnowledgeElementContainer_url_feature = &Url
30
_UI_KnowledgeElementContainer_url_feature = &Url
56
_UI_KnowledgeTypeContainer_knowledgeTypes_feature = Knowledge Types
57
_UI_KnowledgeType_id_feature = Id
31
_UI_KnowledgeType_id_feature = Id
58
_UI_KnowledgeType_kTypeChildren_feature = KType Children
32
_UI_KnowledgeType_kTypeChildren_feature = KType Children
59
_UI_KnowledgeType_kTypeParents_feature = KType Parents
33
_UI_KnowledgeType_kTypeParents_feature = KType Parents
60
_UI_KnowledgeType_knowledgeCategory_feature = Knowledge &Category
34
_UI_KnowledgeType_knowledgeCategory_feature = Knowledge &Category
61
_UI_KnowledgeType_knowledgeCategory_tooltip = The knowledge type classification (memory leak symptom,  availability goal policy, etc.).
62
_UI_KnowledgeType_knowledgeElementContainer_feature = Knowledge Element Container
35
_UI_KnowledgeType_knowledgeElementContainer_feature = Knowledge Element Container
63
_UI_KnowledgeType_knowledgeScope_feature = Knowledge &Scope
36
_UI_KnowledgeType_knowledgeScope_feature = Knowledge &Scope
64
_UI_KnowledgeType_knowledgeScope_tooltip = Defines where this knowledge type is applicable.
65
_UI_KnowledgeType_state_feature = S&tate
37
_UI_KnowledgeType_state_feature = S&tate
66
_UI_KnowledgeType_type = Knowledge Type
38
_UI_KnowledgeType_type = Knowledge Type
67
_UI_MultiObjectSelected = Selected {0} Objects
68
_UI_NoObjectSelected = Selected Nothing
69
_UI_ObjectColumn_label = Object
70
_UI_Open_Log_View_Menu_Item = Open Log View
71
_UI_OperationCanceled = Analyze operation canceled.
72
_UI_OtherKType_any_feature = Any
73
_UI_OtherKType_type = Other KType
39
_UI_OtherKType_type = Other KType
74
_UI_OtherKType_type_feature = Type
40
_UI_OtherKType_type_feature = Type
75
_UI_ParentPage_label = Parent
76
_UI_Pg_Down = Page down
77
_UI_Pg_Goto = Go to page...
78
_UI_Pg_Goto_Dialog_Err_VNAN = Not a valid number !
79
_UI_Pg_Goto_Dialog_Err_VNIR = Number not in range !
80
_UI_Pg_Goto_Dialog_Message = Enter page number ({0}..{1})
81
_UI_Pg_Goto_Dialog_Title = Go to page
82
_UI_Pg_Up = Page up
83
_UI_Pg_Goto_label = Go to page
84
_UI_ProgressSubTaskName = Log event: {0} of {1}.
85
_UI_PropertyDescriptor_description = The {0} of the {1}
41
_UI_PropertyDescriptor_description = The {0} of the {1}
86
_UI_RecommendedActionSectionTitle = Recommended action properties
87
_UI_RecommendedActionChoices_label = Matched recommended actions:
88
_UI_RecommendedAction_any_feature = Any
89
_UI_RecommendedAction_description_feature = &Description
42
_UI_RecommendedAction_description_feature = &Description
90
_UI_RecommendedAction_description_tooltip = A description of the recommended action.
91
_UI_RecommendedAction_directive_feature = D&irective
43
_UI_RecommendedAction_directive_feature = D&irective
92
_UI_RecommendedAction_directive_tooltip = Specific instructions to be executed.
93
_UI_RecommendedAction_state_tooltip = The workflow state of the recommended action.
94
_UI_RecommendedAction_type = Recommended Action
44
_UI_RecommendedAction_type = Recommended Action
95
_UI_RecommendedAction_type_feature = T&ype
45
_UI_RecommendedAction_type_feature = T&ype
96
_UI_RecommendedAction_type_tooltip = The type of the recommended action.
97
_UI_RecommendedAction_version_feature = &Version
46
_UI_RecommendedAction_version_feature = &Version
98
_UI_RecommendedAction_version_tooltip = The version of this recommended action.
99
_UI_RefreshViewer_menu_item = &Refresh
100
_UI_SelectedRecommendedAction_label = Selected recommended actions
101
_UI_SelectedSymptomInformation_label = Selected symptom information:
102
_UI_SelectionPage_label = Selection
103
_UI_SelfColumn_label = Self
104
_UI_ShowPropertiesView_menu_item = Show &Properties View
105
_UI_SimpleMatchPattern_expirationTime_feature = &Expiration Time
47
_UI_SimpleMatchPattern_expirationTime_feature = &Expiration Time
106
_UI_SimpleMatchPattern_expirationTime_tooltip = The time the symptom instance generated by the current rule expires.
107
_UI_SimpleMatchPattern_name_feature = &Name
48
_UI_SimpleMatchPattern_name_feature = &Name
108
_UI_SimpleMatchPattern_name_tooltip = The name of the simple match pattern rule.
109
_UI_SimpleMatchPattern_priority_feature = &Priority
49
_UI_SimpleMatchPattern_priority_feature = &Priority
110
_UI_SimpleMatchPattern_priority_tooltip = The importance of the symptom instance generated by the current rule. Input a value from 0 to 100.
111
_UI_SimpleMatchPattern_probability_feature = Pr&obability
50
_UI_SimpleMatchPattern_probability_feature = Pr&obability
112
_UI_SimpleMatchPattern_probability_tooltip = The probability that the symptom is correctly identified. Input a value from 0 to 100.
113
_UI_SimpleMatchPattern_state_tooltip = The workflow state of the symptom instance generated by the current rule.
114
_UI_SimpleMatchPattern_symptomType_feature = S&ymptom Type
51
_UI_SimpleMatchPattern_symptomType_feature = S&ymptom Type
115
_UI_SimpleMatchPattern_type = Match Pattern Rule
52
_UI_SimpleMatchPattern_type = Match Pattern Rule
116
_UI_SimpleMatchPattern_type_feature = Type
117
_UI_SimpleMatchPattern_type_tooltip = The type of the symptom instance generated by the current rule.
118
_UI_SimpleMatchPattern_value_feature = &Match pattern
53
_UI_SimpleMatchPattern_value_feature = &Match pattern
119
_UI_SimpleMatchPattern_value_tooltip = The actual match pattern value.
120
_UI_SimpleMatchPattern_version_feature = Version
54
_UI_SimpleMatchPattern_version_feature = Version
121
_UI_SimpleMatchPattern_version_tooltip = The version of the symptom instance generated by the current rule.
122
_UI_SingleObjectSelected = Selected Object: {0}
123
_UI_StateType_ANALYZED_literal = ANALYZED
124
_UI_StateType_BUILDING_literal = BUILDING
125
_UI_StateType_COMPLETED_literal = COMPLETED
126
_UI_StateType_CREATED_literal = CREATED
127
_UI_StateType_EXECUTING_literal = EXECUTING
128
_UI_StateType_EXPIRED_literal = EXPIRED
129
_UI_StateType_FAULT_literal = FAULT
130
_UI_StateType_PLANNING_literal = PLANNING
131
_UI_StateType_SCHEDULED_literal = SCHEDULED
132
_UI_SymptomDescription_any_feature = Any
133
_UI_SymptomDescription_correlatedObjectsRefs_feature = Correlated Objects Refs
55
_UI_SymptomDescription_correlatedObjectsRefs_feature = Correlated Objects Refs
134
_UI_SymptomDescription_creationTime_feature = Creation Time
56
_UI_SymptomDescription_creationTime_feature = Creation Time
135
_UI_SymptomDescription_expirationTime_feature = Expiration Time
57
_UI_SymptomDescription_expirationTime_feature = Expiration Time
136
_UI_SymptomDescription_priority_feature = Priority
58
_UI_SymptomDescription_priority_feature = Priority
137
_UI_SymptomDescription_probability_feature = Probability
59
_UI_SymptomDescription_probability_feature = Probability
138
_UI_SymptomDescription_symptomDefinitionRef_feature = Symptom Definition Ref
60
_UI_SymptomDescription_symptomDefinitionRef_feature = Symptom Definition Ref
139
_UI_SymptomDescription_symptomInformationRefs_feature = SymptomDescription Information Refs
140
_UI_SymptomDescription_type = SymptomDescription
61
_UI_SymptomDescription_type = SymptomDescription
141
_UI_SymptomDescription_symptomType_feature = Type
62
_UI_SymptomDescription_symptomType_feature = Type
142
_UI_SymptomDescription_symptomsRefs_feature = SymptomDescriptions Refs
143
_UI_SymptomDescription_version_feature = Version
63
_UI_SymptomDescription_version_feature = Version
144
_UI_SymptomEditor_label = Symptom Model Editor
145
_UI_SymptomEditor_menu = &Symptom Editor
146
_UI_SymptomInfo_TableSectionTitle_Info = Symptom information
147
_UI_SymptomInfo_TreeSectionTitle = Rules
148
_UI_SymptomInformationChoices_label = Matched symptom information:
149
_UI_SymptomInformationSectionTitle = Symptom information properties
150
_UI_SymptomInformation_any_feature = Any
151
_UI_SymptomInformation_description_feature = &Description
64
_UI_SymptomInformation_description_feature = &Description
152
_UI_SymptomInformation_description_tooltip = A description of the symptom.
153
_UI_SymptomInformation_example_feature = &Example
65
_UI_SymptomInformation_example_feature = &Example
154
_UI_SymptomInformation_example_tooltip = An optional example of the symptom or the symptom solution.
155
_UI_SymptomInformation_recommendedActionsRefs_feature = Recommended Actions Refs
156
_UI_SymptomInformation_solution_feature = S&olution
66
_UI_SymptomInformation_solution_feature = S&olution
157
_UI_SymptomInformation_solution_tooltip = A description of why the symptom is occurring.
158
_UI_SymptomInformation_state_tooltip = The workflow state of the symptom.
159
_UI_SymptomInformation_type = Symptom Information
67
_UI_SymptomInformation_type = Symptom Information
160
_UI_SymptomInformation_url_feature = &Url
68
_UI_SymptomInformation_url_feature = &Url
161
_UI_SymptomInformation_url_tooltip = Web site to visit to get the latest information or description about the symptom.
162
_UI_SymptomInformation_version_feature = &Version
69
_UI_SymptomInformation_version_feature = &Version
163
_UI_SymptomInformation_version_tooltip = The version of this symptom information.
70
164
_UI_SymptomSectionDesc = Provide information needed to create instances of symptoms during log analysis
71
165
_UI_SymptomSectionTitle = Symptom description properties
72
166
_UI_Symptom_Analysis_Tree_View_Title = Symptom Analysis Results(Page {0} of {1}, {2} records in total)
73
#UNUSED STRINGS
167
_UI_Symptom_Analysis_Viewer_Title = Symptom Analysis Result View
74
_UI_CommonBaseEvent_type = Common Base Event
168
_UI_Symptom_Correlated_Tab = Matched Events
75
_UI_CreateChild_description = Create a new child of type {0} for the {1} feature of the selected {2}.
169
_UI_Symptom_Matched_Events_Label = Matched events page {0} of {1}, {2} records in total
76
_UI_CreateChild_text = {0}
170
_UI_Symptom_Default_Page_No_Data_Msg = No data is available for display. \t\n\t\nNote:\t\nPopulate the view by selecting Analyze or Analyze All action from Log View.
77
_UI_CreateChild_text2 = {1} {0}
171
_UI_Symptom_Description_Tab = Symptom Description
78
_UI_CreateChild_tooltip = Create New {0} Under {1} Feature
172
_UI_Symptom_Information_Checked_Button_ToolTip = Show symptom information
79
_UI_CreateSibling_description = Create a new sibling of type {0} for the selected {2}, under the {1} feature of their parent.
173
_UI_Symptom_Information_Tab = Symptom Information
80
_UI_DocumentRoot_correlationEngine_feature = Correlation Engine
174
_UI_Symptom_Information_Unchecked_Button_ToolTip = Hide symptom information
81
_UI_DocumentRoot_knowledgeElementContainer_feature = Knowledge Element Container
82
_UI_DocumentRoot_knowledgeType_feature = Knowledge Type
83
_UI_DocumentRoot_mixed_feature = Mixed
84
_UI_DocumentRoot_recommendedAction_feature = Recommended Action
85
_UI_DocumentRoot_symptomInformation_feature = Symptom Information
86
_UI_DocumentRoot_symptom_feature = Symptom
87
_UI_DocumentRoot_xMLNSPrefixMap_feature = XMLNS Prefix Map
88
_UI_DocumentRoot_xSISchemaLocation_feature = XSI Schema Location
89
_UI_KnowledgeElementContainer_correlationEngine_feature = Correlation Engine
90
_UI_KnowledgeElementContainer_kTypes_feature = KTypes
91
_UI_KnowledgeElementContainer_knowledgeElementType_feature = Knowledge Element Type
92
_UI_KnowledgeTypeContainer_knowledgeTypes_feature = Knowledge Types
93
_UI_ObjectColumn_label = Object
94
_UI_OperationCanceled = Analyze operation canceled.
95
_UI_OtherKType_any_feature = Any
96
_UI_ParentPage_label = Parent
97
_UI_RecommendedAction_any_feature = Any
98
_UI_SelfColumn_label = Self
99
_UI_SimpleMatchPattern_type_feature = Type
100
_UI_StateType_ANALYZED_literal = ANALYZED
101
_UI_StateType_BUILDING_literal = BUILDING
102
_UI_StateType_COMPLETED_literal = COMPLETED
103
_UI_StateType_CREATED_literal = CREATED
104
_UI_StateType_EXECUTING_literal = EXECUTING
105
_UI_StateType_EXPIRED_literal = EXPIRED
106
_UI_StateType_FAULT_literal = FAULT
107
_UI_StateType_PLANNING_literal = PLANNING
108
_UI_StateType_SCHEDULED_literal = SCHEDULED
109
_UI_SymptomDescription_any_feature = Any
110
_UI_SymptomDescription_symptomInformationRefs_feature = SymptomDescription Information Refs
111
_UI_SymptomDescription_symptomsRefs_feature = SymptomDescriptions Refs
112
_UI_SymptomInformation_any_feature = Any
113
_UI_SymptomInformation_recommendedActionsRefs_feature = Recommended Actions Refs
175
_UI_TablePage_label = Table
114
_UI_TablePage_label = Table
176
_UI_TableTreePage_label = TableTree
115
_UI_TableTreePage_label = TableTree
177
_UI_TreePage_label = Tree
116
_UI_TreePage_label = Tree
178
_UI_Unknown_feature = Unspecified
117
_UI_Unknown_feature = Unspecified
179
_UI_Unknown_type = Object
118
_UI_Unknown_type = Object
180
_UI_VerticalOrientation_label = Vertical orientation
119
181
_UI_Wizard_category = Example EMF Model Creation Wizards
182
_WARN_FileConflict = There are unsaved changes that conflict with changes made outside the editor.  Do you wish to discard this editor's changes?
183
defaultLogAnalyzer                   = AC Log Analyzer
184
_UI_find_label = Find
185
_UI_find_tooltip = Find records in the symptom database
186
_UI_ReuseChild_menu_item = &Reuse
187
_UI_TreeRoot_Label = {0} rules
188
_UI_PageInfo_Label = Page {0} of {1}
189
120
(-)plugin.xml (-4 / +4 lines)
Lines 11-17 Link Here
11
    point = "org.eclipse.ui.newWizards">
11
    point = "org.eclipse.ui.newWizards">
12
    <category
12
    <category
13
      id = "org.eclipse.emf.ecore.Wizard.category.ID"
13
      id = "org.eclipse.emf.ecore.Wizard.category.ID"
14
      name="%_UI_Wizard_category">
14
      name="%16">
15
    </category>
15
    </category>
16
    <wizard
16
    <wizard
17
      id = "com.ibm.etools.symptom.presentation.SymptomModelWizardID"
17
      id = "com.ibm.etools.symptom.presentation.SymptomModelWizardID"
Lines 27-33 Link Here
27
  <extension point = "org.eclipse.ui.editors">
27
  <extension point = "org.eclipse.ui.editors">
28
    <editor
28
    <editor
29
        id = "com.ibm.etools.symptom.presentation.SymptomEditorID"
29
        id = "com.ibm.etools.symptom.presentation.SymptomEditorID"
30
        name = "%_UI_SymptomEditor_label"
30
        name = "%14"
31
        icon = "icons/full/obj16/SymptomModelFile.gif"
31
        icon = "icons/full/obj16/SymptomModelFile.gif"
32
        extensions = "symptom"
32
        extensions = "symptom"
33
        class = "com.ibm.etools.symptom.presentation.SymptomEditor" 
33
        class = "com.ibm.etools.symptom.presentation.SymptomEditor" 
Lines 71-77 Link Here
71
   <extension
71
   <extension
72
         point="org.eclipse.hyades.analysis.engine.logAnalyzer">
72
         point="org.eclipse.hyades.analysis.engine.logAnalyzer">
73
      <logAnalyzer
73
      <logAnalyzer
74
            name="%defaultLogAnalyzer"
74
            name="%17"
75
            type="org.eclipse.hyades.models.cbe.CBEDefaultEvent"
75
            type="org.eclipse.hyades.models.cbe.CBEDefaultEvent"
76
            class="com.ibm.etools.symptom.editor.analysis.LogAnalyzerImpl"
76
            class="com.ibm.etools.symptom.editor.analysis.LogAnalyzerImpl"
77
            id="com.ibm.etools.symptom.editor.analysis.LogAnalyzerImpl">
77
            id="com.ibm.etools.symptom.editor.analysis.LogAnalyzerImpl">
Lines 182-188 Link Here
182
   <extension
182
   <extension
183
         point="org.eclipse.ui.views">
183
         point="org.eclipse.ui.views">
184
      <view
184
      <view
185
            name="%_UI_Symptom_Analysis_Viewer_Title"
185
            name="%15"
186
            icon="icons/full/obj16/new_symptomdb_obj.gif"
186
            icon="icons/full/obj16/new_symptomdb_obj.gif"
187
            category="org.eclipse.hyades.trace.internal.ui.trace"
187
            category="org.eclipse.hyades.trace.internal.ui.trace"
188
            class="com.ibm.etools.symptom.presentation.SymptomAnalysisViewer"
188
            class="com.ibm.etools.symptom.presentation.SymptomAnalysisViewer"
(-)src/com/ibm/etools/symptom/provider/KnowledgeElementContainerItemProvider.java (-1 / +3 lines)
Lines 53-59 Link Here
53
import com.ibm.etools.symptom.editor.EditorExtensionsRegistry;
53
import com.ibm.etools.symptom.editor.EditorExtensionsRegistry;
54
import com.ibm.etools.symptom.editor.IKTypeEditHandler;
54
import com.ibm.etools.symptom.editor.IKTypeEditHandler;
55
import com.ibm.etools.symptom.editor.SymptomEditPlugin;
55
import com.ibm.etools.symptom.editor.SymptomEditPlugin;
56
import com.ibm.etools.symptom.editor.internal.util.SymptomEditMessages;
56
import com.ibm.etools.symptom.editor.internal.util.SymptomEditorConstants;
57
import com.ibm.etools.symptom.editor.internal.util.SymptomEditorConstants;
58
import org.eclipse.osgi.util.NLS;
57
59
58
/**
60
/**
59
 * This is the item provider adpater for a {@link org.eclipse.hyades.models.symptom.KnowledgeElementContainer} object.
61
 * This is the item provider adpater for a {@link org.eclipse.hyades.models.symptom.KnowledgeElementContainer} object.
Lines 223-229 Link Here
223
		List allElements = getAllElements(container);
225
		List allElements = getAllElements(container);
224
		
226
		
225
		return label == null || label.length() == 0 ?
227
		return label == null || label.length() == 0 ?
226
			"("+SymptomEditPlugin.INSTANCE.getString("_UI_TreeRoot_Label", new String [] { ""+allElements.size() })+") - "+getString("_UI_KnowledgeElementContainer_type") : "("+SymptomEditPlugin.INSTANCE.getString("_UI_TreeRoot_Label", new String [] { ""+allElements.size() })+") - "+label;
228
			"("+ NLS.bind(SymptomEditMessages._180,new String [] { ""+allElements.size() })+") - "+getString("_UI_KnowledgeElementContainer_type") : "("+ NLS.bind(SymptomEditMessages._180, new String [] { ""+allElements.size() })+") - "+label;
227
	}
229
	}
228
230
229
	/**
231
	/**
(-)src/com/ibm/etools/symptom/editor/analysis/SimpleMatchPatternHandler.java (-2 / +5 lines)
Lines 28-33 Link Here
28
import org.eclipse.hyades.models.symptom.SymptomFactory;
28
import org.eclipse.hyades.models.symptom.SymptomFactory;
29
import com.ibm.etools.symptom.editor.SymptomEditPlugin;
29
import com.ibm.etools.symptom.editor.SymptomEditPlugin;
30
import com.ibm.etools.symptom.editor.SymptomEditPlugin.Implementation;
30
import com.ibm.etools.symptom.editor.SymptomEditPlugin.Implementation;
31
import com.ibm.etools.symptom.editor.internal.util.SymptomEditMessages;
32
33
import org.eclipse.osgi.util.NLS;
31
34
32
/**
35
/**
33
 *This is the handler for SimpleMatchPattern rules of the default analysis engine.
36
 *This is the handler for SimpleMatchPattern rules of the default analysis engine.
Lines 224-234 Link Here
224
		record[0] = String.valueOf(i);		
227
		record[0] = String.valueOf(i);		
225
		String result = "";
228
		String result = "";
226
		try {
229
		try {
227
			result = SymptomEditPlugin.INSTANCE.getString("_UI_ProgressSubTaskName", record);
230
			result = NLS.bind(SymptomEditMessages._147, record);
228
		}
231
		}
229
		catch(Exception e) {
232
		catch(Exception e) {
230
			// Running outside eclipse
233
			// Running outside eclipse
231
			result = "_UI_ProgressSubTaskName";
234
			result = "_147";
232
		}
235
		}
233
		return result;
236
		return result;
234
	}
237
	}
(-)src/com/ibm/etools/symptom/editor/internal/util/SymptomEditMessages.java (-5 / +95 lines)
Lines 120-130 Link Here
120
	public static String _110;	
120
	public static String _110;	
121
	public static String _111;	
121
	public static String _111;	
122
	public static String _112;	
122
	public static String _112;	
123
	public static String _113;	
123
	public static String _113;
124
	public static String _114;	
124
	public static String _114;
125
	public static String _115;	
125
	public static String _115;
126
	public static String _116;	
126
	public static String _116;
127
	public static String _117;	
127
	public static String _117;
128
	public static String _118;
129
	public static String _119;
130
	public static String _120;
131
	public static String _121;
132
	public static String _122;
133
	public static String _123;
134
	public static String _124;
135
	public static String _125;
136
	public static String _126;
137
	public static String _127;
138
	public static String _128;
139
	public static String _129;
140
	public static String _130;
141
	public static String _131;
142
	public static String _132;
143
	public static String _133;
144
	public static String _134;
145
	public static String _135;
146
	public static String _136;
147
	public static String _137;
148
	public static String _138;
149
	public static String _139;
150
	public static String _140;
151
	public static String _141;
152
	public static String _142;
153
	public static String _143;
154
	public static String _144;
155
	public static String _145;
156
	public static String _146;
157
	public static String _147;
158
	public static String _148;
159
	public static String _149;
160
	public static String _150;
161
	public static String _151;
162
	public static String _152;
163
	public static String _153;
164
	public static String _154;
165
	public static String _155;
166
	public static String _156;
167
	public static String _157;
168
	public static String _158;
169
	public static String _159;
170
	public static String _160;
171
	public static String _161;
172
	public static String _162;
173
	public static String _163;
174
	public static String _164;
175
	public static String _165;
176
	public static String _166;
177
	public static String _167;
178
	public static String _168;
179
	public static String _169;
180
	public static String _170;
181
	public static String _171;
182
	public static String _172;
183
	public static String _173;
184
	public static String _174;
185
	public static String _175;
186
	public static String _176;
187
	public static String _177;
188
	public static String _178;
189
	public static String _179;
190
	public static String _180;
191
	public static String _181;
192
	public static String _182;
193
	public static String _183;
194
	public static String _184;
195
	public static String _185;
196
	public static String _186;
197
	
198
	
199
	
200
	
201
	
202
	
203
	
204
	
205
	
206
	
207
	
208
	
209
	
210
	
211
	
212
	
213
	
214
	
215
	
216
	
217
	
128
	
218
	
129
	static {
219
	static {
130
		NLS.initializeMessages(BUNDLE_NAME, SymptomEditMessages.class);
220
		NLS.initializeMessages(BUNDLE_NAME, SymptomEditMessages.class);
(-)src/com/ibm/etools/symptom/editor/internal/util/messages.properties (+83 lines)
Lines 110-112 Link Here
110
_110 = Description and solution
110
_110 = Description and solution
111
_111 = Recommended action
111
_111 = Recommended action
112
_112 = Click the node of the tree to show details of symptom information or recommended actions.
112
_112 = Click the node of the tree to show details of symptom information or recommended actions.
113
_113 = Symptoms Definitions
114
_114 = &New
115
_115 = N&ew Sibling
116
_116 = Horizontal orientation
117
_117 = Open Log View
118
_118 = Page down
119
_119 = Go to page...
120
_120 = Not a valid number !
121
_121 = Number not in range !
122
_122 = Go to page
123
_123 = Page up
124
_124 = Go to page
125
_125 = &Refresh
126
_126 = Show &Properties View
127
_127 = &Symptom Editor
128
_128 = Symptom information
129
_129 = Rules
130
_130 = Matched Events
131
_131 = No data is available for display. \t\n\t\nNote:\t\nPopulate the view by selecting Analyze or Analyze All action from Log View.
132
_132 = Symptom Description
133
_133 = Show symptom information
134
_134 = Symptom Information
135
_135 = Hide symptom information
136
_136 = Vertical orientation
137
_137 = Find
138
_138 = Find records in the symptom database
139
_139 = &Reuse
140
_140 = File Conflict
141
_141 = Knowledge element container properties
142
_142 = The knowledge type classification (memory leak symptom,  availability goal policy, etc.).
143
_143 = Defines where this knowledge type is applicable.
144
_144 = Selected {0} Objects
145
_145 = Selected Nothing
146
_146 = Enter page number ({0}..{1})
147
_147 = Log event: {0} of {1}.
148
_148 = Recommended action properties
149
_149 = Matched recommended actions:
150
_150 = A description of the recommended action.
151
_151 = Specific instructions to be executed.
152
_152 = The workflow state of the recommended action.
153
_153 = The type of the recommended action.
154
_154 = The version of this recommended action.
155
_155 = Selected recommended actions
156
_156 = Selected symptom information:
157
_157 = Selection
158
_158 = The time the symptom instance generated by the current rule expires.
159
_159 = The name of the simple match pattern rule.
160
_160 = The importance of the symptom instance generated by the current rule. Input a value from 0 to 100.
161
_161 = The probability that the symptom is correctly identified. Input a value from 0 to 100.
162
_162 = The workflow state of the symptom instance generated by the current rule.
163
_163 = The type of the symptom instance generated by the current rule.
164
_164 = The actual match pattern value.
165
_165 = The version of the symptom instance generated by the current rule.
166
_166 = Selected Object: {0}
167
_167 = Matched symptom information:
168
_168 = Symptom information properties
169
_169 = A description of the symptom.
170
_170 = An optional example of the symptom or the symptom solution.
171
_171 = A description of why the symptom is occurring.
172
_172 = The workflow state of the symptom.
173
_173 = Web site to visit to get the latest information or description about the symptom.
174
_174 = The version of this symptom information.
175
_175 = Provide information needed to create instances of symptoms during log analysis
176
_176 = Symptom description properties
177
_177 = Symptom Analysis Results(Page {0} of {1}, {2} records in total)
178
_178 = Matched events page {0} of {1}, {2} records in total
179
_179 = There are unsaved changes that conflict with changes made outside the editor.  Do you wish to discard this editor's changes?
180
_180 = {0} rules
181
_181 = Page {0} of {1}
182
_182                      = IBM WebSphere Application Server Standard Edition
183
_183                      = IBM WebSphere Application Server Advanced Edition
184
_184                   = IBM WebSphere Application Server, Version 5
185
_185                   = IBM WebSphere Application Server, Version 6
186
_186                   = IBM WebSphere Application Server Network Deployment, Version 5
187
188
189
190
191
192
193
194
195
(-)src/com/ibm/etools/symptom/editor/SymptomEditPlugin.java (-5 / +6 lines)
Lines 43-48 Link Here
43
import org.eclipse.jface.util.SafeRunnable;
43
import org.eclipse.jface.util.SafeRunnable;
44
import org.osgi.framework.BundleContext;
44
import org.osgi.framework.BundleContext;
45
45
46
import com.ibm.etools.symptom.editor.internal.util.SymptomEditMessages;
46
import com.ibm.etools.symptom.editor.internal.util.SymptomEditorConstants;
47
import com.ibm.etools.symptom.editor.internal.util.SymptomEditorConstants;
47
/**
48
/**
48
 * This is the central singleton for the Symptom editor plugin. <!--
49
 * This is the central singleton for the Symptom editor plugin. <!--
Lines 167-189 Link Here
167
		protected void initializeDefaultPluginPreferences() {
168
		protected void initializeDefaultPluginPreferences() {
168
			IPreferenceStore store = getPreferenceStore();
169
			IPreferenceStore store = getPreferenceStore();
169
			String url =
170
			String url =
170
				getString("12")
171
				SymptomEditMessages._182
171
					+ "\t"
172
					+ "\t"
172
					+ SymptomEditorConstants.StdURL
173
					+ SymptomEditorConstants.StdURL
173
					+ "\n"
174
					+ "\n"
174
					+ getString("13")
175
					+ SymptomEditMessages._183
175
					+ "\t"
176
					+ "\t"
176
					+ SymptomEditorConstants.AdvURL
177
					+ SymptomEditorConstants.AdvURL
177
					+ "\n"
178
					+ "\n"
178
					+ getString("14")
179
					+ SymptomEditMessages._184
179
					+ "\t"
180
					+ "\t"
180
					+ SymptomEditorConstants.StdURL
181
					+ SymptomEditorConstants.StdURL
181
					+ "\n"
182
					+ "\n"
182
					+ getString("15")
183
					+ SymptomEditMessages._185
183
					+ "\t"
184
					+ "\t"
184
					+ SymptomEditorConstants.StdURL
185
					+ SymptomEditorConstants.StdURL
185
					+ "\n"
186
					+ "\n"
186
					+ getString("16")
187
					+ SymptomEditMessages._186
187
					+ "\t"
188
					+ "\t"
188
					+ SymptomEditorConstants.AdvURL;
189
					+ SymptomEditorConstants.AdvURL;
189
190
(-)META-INF/MANIFEST.MF (-2 / +2 lines)
Lines 1-10 Link Here
1
Manifest-Version: 1.0
1
Manifest-Version: 1.0
2
Bundle-ManifestVersion: 2
2
Bundle-ManifestVersion: 2
3
Bundle-Name: %17
3
Bundle-Name: %12
4
Bundle-SymbolicName: com.ibm.etools.symptom.editor; singleton:=true
4
Bundle-SymbolicName: com.ibm.etools.symptom.editor; singleton:=true
5
Bundle-Version: 7.0.0
5
Bundle-Version: 7.0.0
6
Bundle-Activator: com.ibm.etools.symptom.editor.SymptomEditPlugin$Implementation
6
Bundle-Activator: com.ibm.etools.symptom.editor.SymptomEditPlugin$Implementation
7
Bundle-Vendor: %18
7
Bundle-Vendor: %13
8
Bundle-Localization: plugin
8
Bundle-Localization: plugin
9
Require-Bundle: org.eclipse.core.runtime,
9
Require-Bundle: org.eclipse.core.runtime,
10
 org.eclipse.ui.ide,
10
 org.eclipse.ui.ide,
(-)src/com/ibm/etools/symptom/editor/internal/actions/GoToPageAction.java (-8 / +6 lines)
Lines 15-22 Link Here
15
import org.eclipse.jface.resource.ImageDescriptor;
15
import org.eclipse.jface.resource.ImageDescriptor;
16
import org.eclipse.jface.viewers.StructuredSelection;
16
import org.eclipse.jface.viewers.StructuredSelection;
17
import org.eclipse.swt.custom.BusyIndicator;
17
import org.eclipse.swt.custom.BusyIndicator;
18
import org.eclipse.osgi.util.NLS;
18
19
19
import com.ibm.etools.symptom.editor.SymptomEditPlugin;
20
import com.ibm.etools.symptom.editor.SymptomEditPlugin;
21
import com.ibm.etools.symptom.editor.internal.util.SymptomEditMessages;
20
import com.ibm.etools.symptom.provider.KnowledgeElementContainerItemProvider;
22
import com.ibm.etools.symptom.provider.KnowledgeElementContainerItemProvider;
21
23
22
/**
24
/**
Lines 44-53 Link Here
44
		String[] variables = new String[2];
46
		String[] variables = new String[2];
45
		variables[0] = "1";
47
		variables[0] = "1";
46
		variables[1] = "" + totalPages;
48
		variables[1] = "" + totalPages;
47
		String dialogTitle = SymptomEditPlugin.INSTANCE
49
		String dialogTitle = SymptomEditMessages._122;
48
				.getString("_UI_Pg_Goto_Dialog_Title");
50
		String dialogMessage = NLS.bind(SymptomEditMessages._146, variables);
49
		String dialogMessage = SymptomEditPlugin.INSTANCE.getString(
50
				"_UI_Pg_Goto_Dialog_Message", variables);
51
		InputDialog dialog = new InputDialog(editor.getSite().getShell(),
51
		InputDialog dialog = new InputDialog(editor.getSite().getShell(),
52
				dialogTitle, dialogMessage, null, new IInputValidator() {
52
				dialogTitle, dialogMessage, null, new IInputValidator() {
53
					public String isValid(String newText) {
53
					public String isValid(String newText) {
Lines 56-66 Link Here
56
						try {
56
						try {
57
							int pageNr = Integer.parseInt(newText);
57
							int pageNr = Integer.parseInt(newText);
58
							if (pageNr < 1 || pageNr > totalPages)
58
							if (pageNr < 1 || pageNr > totalPages)
59
								return SymptomEditPlugin.INSTANCE
59
								return SymptomEditMessages._121;
60
										.getString("_UI_Pg_Goto_Dialog_Err_VNIR");
61
						} catch (Exception e) {
60
						} catch (Exception e) {
62
							return SymptomEditPlugin.INSTANCE
61
							return SymptomEditMessages._120;
63
									.getString("_UI_Pg_Goto_Dialog_Err_VNAN");
64
						}
62
						}
65
						return null;
63
						return null;
66
					}
64
					}
(-)src/com/ibm/etools/symptom/editor/internal/actions/ReuseAction.java (-4 / +4 lines)
Lines 69-81 Link Here
69
69
70
		if(eObject instanceof SimpleMatchPattern){
70
		if(eObject instanceof SimpleMatchPattern){
71
			choiceType = SymptomPackage.eINSTANCE.getSymptomInformation();
71
			choiceType = SymptomPackage.eINSTANCE.getSymptomInformation();
72
			choiceLabel = "_UI_SymptomInformationChoices_label";
72
			choiceLabel = "_167";
73
			selectedLabel = "_UI_SelectedSymptomInformation_label";		
73
			selectedLabel = "_156";		
74
			typeLabel = "_UI_SymptomInformation_type";			
74
			typeLabel = "_UI_SymptomInformation_type";			
75
		}else if(eObject instanceof SymptomInformation){
75
		}else if(eObject instanceof SymptomInformation){
76
			choiceType = SymptomPackage.eINSTANCE.getRecommendedAction();
76
			choiceType = SymptomPackage.eINSTANCE.getRecommendedAction();
77
			choiceLabel = "_UI_RecommendedActionChoices_label";
77
			choiceLabel = "_149";
78
			selectedLabel = "_UI_SelectedRecommendedAction_label";		
78
			selectedLabel = "_155";		
79
			typeLabel = "_UI_RecommendedAction_type";			
79
			typeLabel = "_UI_RecommendedAction_type";			
80
		}
80
		}
81
		callReuseDialog(object, choiceType, choiceLabel, selectedLabel, typeLabel);
81
		callReuseDialog(object, choiceType, choiceLabel, selectedLabel, typeLabel);

Return to bug 102390