Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 32679 Details for
Bug 102390
Provide sort by time capabilities in the Anaysis Result view
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
patch
com.ibm.etools.symptom.editor_patch.txt (text/plain), 72.10 KB, created by
Valentina Popescu
on 2006-01-09 10:41:15 EST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Valentina Popescu
Created:
2006-01-09 10:41:15 EST
Size:
72.10 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P com.ibm.etools.symptom.editor >Index: src/com/ibm/etools/symptom/presentation/SymptomInformationDetails.java >=================================================================== >RCS file: /cvsroot/ac-tech/com.ibm.etools.symptom.editor/src/com/ibm/etools/symptom/presentation/SymptomInformationDetails.java,v >retrieving revision 1.23 >diff -u -r1.23 SymptomInformationDetails.java >--- src/com/ibm/etools/symptom/presentation/SymptomInformationDetails.java 1 Jul 2005 02:02:08 -0000 1.23 >+++ src/com/ibm/etools/symptom/presentation/SymptomInformationDetails.java 29 Nov 2005 15:46:52 -0000 >@@ -29,6 +29,7 @@ > import org.eclipse.ui.forms.widgets.Section; > > import com.ibm.etools.symptom.editor.internal.util.GridUtil; >+import com.ibm.etools.symptom.editor.internal.util.SymptomEditMessages; > /** > * @author apnan > * >@@ -86,7 +87,7 @@ > client.layout(); > } > }); >- symptomInformationSection.setText(getString("_UI_SymptomInformationSectionTitle")); >+ symptomInformationSection.setText(SymptomEditMessages._168); > toolkit.createCompositeSeparator(symptomInformationSection); > > Composite sectionClient = toolkit.createComposite(symptomInformationSection); >@@ -102,7 +103,7 @@ > description = toolkit.createText(sectionClient, "", SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL); > description.setEditable(true); > description.setData(new Integer(DESC_ID)); >- description.setToolTipText(getString("_UI_SymptomInformation_description_tooltip")); >+ description.setToolTipText(SymptomEditMessages._169); > setLayout(l, description); > description.addModifyListener(this); > >@@ -111,7 +112,7 @@ > toolkit.adapt(state, false, false); > state.setEditable(false); > state.setData(new Integer(STATE_ID)); >- state.setToolTipText(getString("_UI_SymptomInformation_state_tooltip")); >+ state.setToolTipText(SymptomEditMessages._172); > setLayout(l, state); > state.addSelectionListener(this); > >@@ -119,7 +120,7 @@ > solution = toolkit.createText(sectionClient, "", SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL); > solution.setEditable(true); > solution.setData(new Integer(SOLUTION_ID)); >- solution.setToolTipText(getString("_UI_SymptomInformation_solution_tooltip")); >+ solution.setToolTipText(SymptomEditMessages._171); > setLayout(l, solution); > solution.addModifyListener(this); > >@@ -127,7 +128,7 @@ > url = toolkit.createText(sectionClient, "", SWT.NONE); > url.setEditable(true); > url.setData(new Integer(URL_ID)); >- url.setToolTipText(getString("_UI_SymptomInformation_url_tooltip")); >+ url.setToolTipText(SymptomEditMessages._173); > setLayout(l, url); > url.addModifyListener(this); > >@@ -135,7 +136,7 @@ > example = toolkit.createText(sectionClient, "", SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL); > example.setEditable(true); > example.setData(new Integer(EXAMPLE_ID)); >- example.setToolTipText(getString("_UI_SymptomInformation_example_tooltip")); >+ example.setToolTipText(SymptomEditMessages._170); > setLayout(l, example); > example.addModifyListener(this); > >@@ -145,7 +146,7 @@ > knowledgeCategory.setData(new Integer(KNOWLEDGE_CAT_ID)); > setLayout(l,knowledgeCategory); > knowledgeCategory.addModifyListener(this); >- knowledgeCategory.setToolTipText(getString("_UI_KnowledgeType_knowledgeCategory_tooltip")); >+ knowledgeCategory.setToolTipText(SymptomEditMessages._142); > > l = toolkit.createLabel(sectionClient, getString("_UI_KnowledgeType_knowledgeScope_feature")+":", SWT.WRAP); > knowledgeScope = toolkit.createText(sectionClient, "", SWT.NONE); >@@ -153,13 +154,13 @@ > knowledgeScope.setData(new Integer(KNOWLEDGE_SCOPE_ID)); > setLayout(l,knowledgeScope); > knowledgeScope.addModifyListener(this); >- knowledgeScope.setToolTipText(getString("_UI_KnowledgeType_knowledgeScope_tooltip")); >+ knowledgeScope.setToolTipText(SymptomEditMessages._143); > > l = toolkit.createLabel(sectionClient, getString("_UI_SymptomInformation_version_feature") + ":", SWT.WRAP); > version = toolkit.createText(sectionClient, "", SWT.NONE); > version.setEditable(true); > version.setData(new Integer(VERSION_ID)); >- version.setToolTipText(getString("_UI_SymptomInformation_version_tooltip")); >+ version.setToolTipText(SymptomEditMessages._174); > setLayout(l, version); > version.setText(defaultVersion); > version.addModifyListener(this); >Index: src/com/ibm/etools/symptom/presentation/SymptomEditor.java >=================================================================== >RCS file: /cvsroot/ac-tech/com.ibm.etools.symptom.editor/src/com/ibm/etools/symptom/presentation/SymptomEditor.java,v >retrieving revision 1.25 >diff -u -r1.25 SymptomEditor.java >--- src/com/ibm/etools/symptom/presentation/SymptomEditor.java 24 Nov 2005 19:02:37 -0000 1.25 >+++ src/com/ibm/etools/symptom/presentation/SymptomEditor.java 29 Nov 2005 15:46:52 -0000 >@@ -84,6 +84,7 @@ > import org.eclipse.jface.viewers.StructuredViewer; > import org.eclipse.jface.viewers.TreeViewer; > import org.eclipse.jface.viewers.Viewer; >+import org.eclipse.osgi.util.NLS; > import org.eclipse.swt.custom.CTabFolder; > import org.eclipse.swt.dnd.DND; > import org.eclipse.swt.dnd.Transfer; >@@ -116,6 +117,7 @@ > import com.ibm.etools.symptom.editor.IKTypeEditHandler; > import com.ibm.etools.symptom.editor.SymptomEditPlugin; > import com.ibm.etools.symptom.editor.internal.util.SymptomDBFindDialog; >+import com.ibm.etools.symptom.editor.internal.util.SymptomEditMessages; > import com.ibm.etools.symptom.editor.internal.util.SymptomEditorConstants; > import com.ibm.etools.symptom.provider.KnowledgeElementContainerItemProvider; > >@@ -476,8 +478,8 @@ > return > MessageDialog.openQuestion > (getSite().getShell(), >- getString("_UI_FileConflict_label"), >- getString("_WARN_FileConflict")); >+ SymptomEditMessages._140, >+ SymptomEditMessages._179); > } > > /** >@@ -1203,16 +1205,16 @@ > Collection collection = ((IStructuredSelection)selection).toList(); > switch (collection.size()) { > case 0: { >- statusLineManager.setMessage(getString("_UI_NoObjectSelected")); >+ statusLineManager.setMessage(SymptomEditMessages._145); > break; > } > case 1: { > String text = new AdapterFactoryItemDelegator(adapterFactory).getText(collection.iterator().next()); >- statusLineManager.setMessage(getString("_UI_SingleObjectSelected", text)); >+ statusLineManager.setMessage(NLS.bind(SymptomEditMessages._166, text)); > break; > } > default: { >- statusLineManager.setMessage(getString("_UI_MultiObjectSelected", Integer.toString(collection.size()))); >+ statusLineManager.setMessage(NLS.bind(SymptomEditMessages._144,Integer.toString(collection.size()))); > break; > } > } >@@ -1341,7 +1343,7 @@ > // createContextMenuFor(selectionViewer); > // > // int pageIndex = addPage(viewerPane.getControl()); >-// setPageText(pageIndex, getString("_UI_SelectionPage_label")); >+// setPageText(pageIndex, SymptomEditMessagse._157); > > // master details page > try { >Index: src/com/ibm/etools/symptom/presentation/SimpleMatchPatternDetails.java >=================================================================== >RCS file: /cvsroot/ac-tech/com.ibm.etools.symptom.editor/src/com/ibm/etools/symptom/presentation/SimpleMatchPatternDetails.java,v >retrieving revision 1.28 >diff -u -r1.28 SimpleMatchPatternDetails.java >--- src/com/ibm/etools/symptom/presentation/SimpleMatchPatternDetails.java 24 Nov 2005 19:02:37 -0000 1.28 >+++ src/com/ibm/etools/symptom/presentation/SimpleMatchPatternDetails.java 29 Nov 2005 15:46:51 -0000 >@@ -171,25 +171,25 @@ > name = toolkit.createText(sectionClient, "", SWT.NONE); > name.setData(new Integer(NAME_ID)); > setLayout(l,name); >- name.setToolTipText(getString("_UI_SimpleMatchPattern_name_tooltip")); >+ name.setToolTipText(SymptomEditMessages._159); > > l = toolkit.createLabel(sectionClient, getString("_UI_SimpleMatchPattern_value_feature")+":", SWT.WRAP); > value = toolkit.createText(sectionClient, "", SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL); > value.setData(new Integer(VALUE_ID)); > setLayout(l,value); >- value.setToolTipText(getString("_UI_SimpleMatchPattern_value_tooltip")); >+ value.setToolTipText(SymptomEditMessages._164); > > l = toolkit.createLabel(sectionClient, getString("_UI_KnowledgeType_knowledgeCategory_feature")+":", SWT.WRAP); > knowledgeCategory = toolkit.createText(sectionClient, "", SWT.NONE); > knowledgeCategory.setData(new Integer(KNOWLEDGE_CAT_ID)); > setLayout(l,knowledgeCategory); >- knowledgeCategory.setToolTipText(getString("_UI_KnowledgeType_knowledgeCategory_tooltip")); >+ knowledgeCategory.setToolTipText(SymptomEditMessages._142); > > l = toolkit.createLabel(sectionClient, getString("_UI_KnowledgeType_knowledgeScope_feature")+":", SWT.WRAP); > knowledgeScope = toolkit.createText(sectionClient, "", SWT.NONE); > knowledgeScope.setData(new Integer(KNOWLEDGE_SCOPE_ID)); > setLayout(l,knowledgeScope); >- knowledgeScope.setToolTipText(getString("_UI_KnowledgeType_knowledgeScope_tooltip")); >+ knowledgeScope.setToolTipText(SymptomEditMessages._143); > > toolkit.paintBordersFor(sectionClient); > >@@ -209,9 +209,9 @@ > client.layout(); > } > }); >- symptomInfoSection.setText(getString("_UI_SymptomSectionTitle")); >+ symptomInfoSection.setText(SymptomEditMessages._176); > toolkit.createCompositeSeparator(symptomInfoSection); >- symptomInfoSection.setDescription(getString("_UI_SymptomSectionDesc")); >+ symptomInfoSection.setDescription(SymptomEditMessages._175); > > Composite symptomSectionClient = toolkit.createComposite(symptomInfoSection); > detailsLayout = new GridLayout(); >@@ -226,32 +226,32 @@ > expirationTime = toolkit.createText(symptomSectionClient, "", SWT.NONE); > expirationTime.setData(new Integer(EXPIRATION_TIME_ID)); > setLayout(l,expirationTime); >- expirationTime.setToolTipText(getString("_UI_SimpleMatchPattern_expirationTime_tooltip")); >+ expirationTime.setToolTipText(SymptomEditMessages._158); > > l = toolkit.createLabel(symptomSectionClient, getString("_UI_SimpleMatchPattern_priority_feature")+":", SWT.WRAP); > priority = toolkit.createText(symptomSectionClient, "", SWT.NONE); > priority.setData(new Integer(PRIORITY_ID)); > setLayout(l,priority); >- priority.setToolTipText(getString("_UI_SimpleMatchPattern_priority_tooltip")); >+ priority.setToolTipText(SymptomEditMessages._160); > > l = toolkit.createLabel(symptomSectionClient, getString("_UI_SimpleMatchPattern_probability_feature")+":", SWT.WRAP); > probability = toolkit.createText(symptomSectionClient, "", SWT.NONE); > probability.setData(new Integer(PROBABILITY_ID)); > setLayout(l,probability); >- probability.setToolTipText(getString("_UI_SimpleMatchPattern_probability_tooltip")); >+ probability.setToolTipText(SymptomEditMessages._161); > > l = toolkit.createLabel(symptomSectionClient, getString("_UI_KnowledgeType_state_feature")+":", SWT.WRAP); > state = new CCombo(symptomSectionClient, SWT.FLAT); > toolkit.adapt(state,false,false); > state.setData(new Integer(STATE_ID)); > setLayout(l,state); >- state.setToolTipText(getString("_UI_SimpleMatchPattern_state_tooltip")); >+ state.setToolTipText(SymptomEditMessages._162); > > l = toolkit.createLabel(symptomSectionClient, getString("_UI_SimpleMatchPattern_symptomType_feature")+":", SWT.WRAP); > type = toolkit.createText(symptomSectionClient, "", SWT.NONE); > type.setData(new Integer(TYPE_ID)); > setLayout(l,type); >- type.setToolTipText(getString("_UI_SimpleMatchPattern_type_tooltip")); >+ type.setToolTipText(SymptomEditMessages._163); > > // l = toolkit.createLabel(symptomSectionClient, getString("_UI_SimpleMatchPattern_version_feature")+":", SWT.WRAP); > // version = toolkit.createText(symptomSectionClient, "", SWT.NONE); >@@ -259,7 +259,7 @@ > // version.setData(new Integer(VERSION_ID)); > // version.addModifyListener(this); > // setLayout(l,version); >-// version.setToolTipText(getString("_UI_SimpleMatchPattern_version_tooltip")); >+// version.setToolTipText(SymptomEditMessages._165); > > name.addModifyListener(this); > value.addModifyListener(this); >Index: src/com/ibm/etools/symptom/presentation/SymptomActionBarContributor.java >=================================================================== >RCS file: /cvsroot/ac-tech/com.ibm.etools.symptom.editor/src/com/ibm/etools/symptom/presentation/SymptomActionBarContributor.java,v >retrieving revision 1.14 >diff -u -r1.14 SymptomActionBarContributor.java >--- src/com/ibm/etools/symptom/presentation/SymptomActionBarContributor.java 18 Nov 2005 20:53:41 -0000 1.14 >+++ src/com/ibm/etools/symptom/presentation/SymptomActionBarContributor.java 29 Nov 2005 15:46:51 -0000 >@@ -59,6 +59,7 @@ > import com.ibm.etools.symptom.editor.internal.actions.PagingAction; > import com.ibm.etools.symptom.editor.internal.actions.ReuseAction; > import com.ibm.etools.symptom.editor.internal.actions.SymptomCopyAction; >+import com.ibm.etools.symptom.editor.internal.util.SymptomEditMessages; > import com.ibm.etools.symptom.editor.internal.util.SymptomEditUtil; > > /** >@@ -93,7 +94,7 @@ > * @generated > */ > protected IAction showPropertiesViewAction = >- new Action(SymptomEditPlugin.INSTANCE.getString("_UI_ShowPropertiesView_menu_item")) { >+ new Action(SymptomEditMessages._126) { > public void run() { > try { > getPage().showView("org.eclipse.ui.views.PropertySheet"); >@@ -112,7 +113,7 @@ > * @generated > */ > protected IAction refreshViewerAction = >- new Action(SymptomEditPlugin.INSTANCE.getString("_UI_RefreshViewer_menu_item")) { >+ new Action(SymptomEditMessages._125) { > public boolean isEnabled() { > return activeEditorPart instanceof IViewerProvider; > } >@@ -204,7 +205,7 @@ > public void contributeToMenu(IMenuManager menuManager) { > super.contributeToMenu(menuManager); > >- IMenuManager submenuManager = new MenuManager(SymptomEditPlugin.INSTANCE.getString("_UI_SymptomEditor_menu"), "org.eclipse.hyades.models.symptomMenuID"); >+ IMenuManager submenuManager = new MenuManager(SymptomEditMessages._127, "org.eclipse.hyades.models.symptomMenuID"); > menuManager.insertAfter("additions", submenuManager); > > submenuManager.add(new Separator("settings")); >@@ -214,16 +215,16 @@ > > // Prepare for CreateChild item addition or removal. > // >- createChildMenuManager = new MenuManager(SymptomEditPlugin.INSTANCE.getString("_UI_CreateChild_menu_item")); >+ createChildMenuManager = new MenuManager(SymptomEditMessages._114); > submenuManager.insertBefore("additions", createChildMenuManager); > > //Prepare for Reuse item addition or removal. >- reuseChildMenuManager = new MenuManager(SymptomEditPlugin.INSTANCE.getString("_UI_ReuseChild_menu_item")); >+ reuseChildMenuManager = new MenuManager(SymptomEditMessages._139); > submenuManager.insertBefore("additions", reuseChildMenuManager); > > // Prepare for CreateSibling item addition or removal. > // >- createSiblingMenuManager = new MenuManager(SymptomEditPlugin.INSTANCE.getString("_UI_CreateSibling_menu_item")); >+ createSiblingMenuManager = new MenuManager(SymptomEditMessages._115); > submenuManager.insertBefore("additions", createSiblingMenuManager); > > // Force an update because Eclipse hides empty menus now. >@@ -433,15 +434,15 @@ > super.menuAboutToShow(menuManager); > MenuManager submenuManager = null; > >- submenuManager = new MenuManager(SymptomEditPlugin.INSTANCE.getString("_UI_CreateChild_menu_item")); >+ submenuManager = new MenuManager(SymptomEditMessages._114); > populateManager(submenuManager, createChildActions, null); > menuManager.insertBefore("additions", submenuManager); > >- submenuManager = new MenuManager(SymptomEditPlugin.INSTANCE.getString("_UI_ReuseChild_menu_item")); >+ submenuManager = new MenuManager(SymptomEditMessages._139); > populateManager(submenuManager, reuseChildActions, null); > menuManager.insertBefore("additions", submenuManager); > >-// submenuManager = new MenuManager(SymptomEditPlugin.INSTANCE.getString("_UI_CreateSibling_menu_item")); >+// submenuManager = new MenuManager(SymptomEditMessages._115); > // populateManager(submenuManager, createSiblingActions, null); > // menuManager.insertBefore("additions", submenuManager); > } >@@ -462,11 +463,11 @@ > > if(pageActions==null){ > pageActions = new IAction[3]; >- pageUpAction = new PageUpAction(SymptomEditPlugin.INSTANCE.getString("_UI_Pg_Up"), SymptomEditorPluginImages.DESC_PG_UP); >+ pageUpAction = new PageUpAction(SymptomEditMessages._123, SymptomEditorPluginImages.DESC_PG_UP); > pageActions[0] = pageUpAction; >- goToPageAction = new GoToPageAction(SymptomEditPlugin.INSTANCE.getString("_UI_Pg_Goto_label"), SymptomEditorPluginImages.DESC_PG_GOTO); >+ goToPageAction = new GoToPageAction(SymptomEditMessages._124, SymptomEditorPluginImages.DESC_PG_GOTO); > pageActions[1] = goToPageAction; >- pageDownAction = new PageDownAction(SymptomEditPlugin.INSTANCE.getString("_UI_Pg_Down"), SymptomEditorPluginImages.DESC_PG_DOWN); >+ pageDownAction = new PageDownAction(SymptomEditMessages._118, SymptomEditorPluginImages.DESC_PG_DOWN); > pageActions[2] = pageDownAction; > } > >Index: src/com/ibm/etools/symptom/presentation/SymptomAnalysisViewer.java >=================================================================== >RCS file: /cvsroot/ac-tech/com.ibm.etools.symptom.editor/src/com/ibm/etools/symptom/presentation/SymptomAnalysisViewer.java,v >retrieving revision 1.5 >diff -u -r1.5 SymptomAnalysisViewer.java >--- src/com/ibm/etools/symptom/presentation/SymptomAnalysisViewer.java 1 Jul 2005 02:02:08 -0000 1.5 >+++ src/com/ibm/etools/symptom/presentation/SymptomAnalysisViewer.java 29 Nov 2005 15:46:52 -0000 >@@ -29,12 +29,14 @@ > import com.ibm.etools.symptom.editor.SymptomEditPlugin; > import com.ibm.etools.symptom.editor.internal.SymptomEditorPluginImages; > import com.ibm.etools.symptom.editor.internal.util.GridUtil; >+import com.ibm.etools.symptom.editor.internal.util.SymptomEditMessages; >+import org.eclipse.osgi.util.NLS; > > public class SymptomAnalysisViewer extends ViewPart { > private PageBook _book; > private IPage _defaultPage; > private SymptomAnalysisPage _currentPage = null; >- private String _title = SymptomEditPlugin.INSTANCE.getString("_UI_Symptom_Analysis_Viewer_Title"); >+ private String _title = SymptomEditPlugin.INSTANCE.getString("15"); > private boolean _initializedMenu = false; > private Action _pageUp, _pageDown, _gotoPage; > >@@ -63,7 +65,7 @@ > private IPage createDefaultPage(PageBook book){ > DefaultPage page = new DefaultPage(); > page.createControl(book); >- page.setMessage(SymptomEditPlugin.INSTANCE.getString("_UI_Symptom_Default_Page_No_Data_Msg")); >+ page.setMessage(SymptomEditMessages._131); > return page; > } > >@@ -125,7 +127,7 @@ > return; > > initializedMenu(true); >- String STR_PAGE_UP = SymptomEditPlugin.INSTANCE.getString("_UI_Pg_Up"); >+ String STR_PAGE_UP = SymptomEditMessages._123; > _pageUp = new Action(STR_PAGE_UP) { > public void run() { > if (_currentPage == null || !(_currentPage instanceof SymptomAnalysisPage)) >@@ -148,7 +150,7 @@ > _pageUp.setDescription(STR_PAGE_UP); > _pageUp.setToolTipText(STR_PAGE_UP); > >- String STR_PAGE_DOWN = SymptomEditPlugin.INSTANCE.getString("_UI_Pg_Down"); >+ String STR_PAGE_DOWN = SymptomEditMessages._118; > _pageDown = new Action(STR_PAGE_DOWN) { > public void run() { > if (_currentPage == null || !(_currentPage instanceof SymptomAnalysisPage)) >@@ -171,7 +173,7 @@ > _pageDown.setDescription(STR_PAGE_DOWN); > _pageDown.setToolTipText(STR_PAGE_DOWN); > >- String STR_GO_TO_PAGE = SymptomEditPlugin.INSTANCE.getString("_UI_Pg_Goto"); >+ String STR_GO_TO_PAGE = SymptomEditMessages._119; > _gotoPage = new Action(STR_GO_TO_PAGE) { > public void run() { > if (_currentPage == null || !(_currentPage instanceof SymptomAnalysisPage)) >@@ -182,8 +184,8 @@ > String[] variables = new String[2]; > variables[0] = "1"; > variables[1] = ""+totalPages; >- String dialogTitle = SymptomEditPlugin.INSTANCE.getString("_UI_Pg_Goto_Dialog_Title"); >- String dialogMessage = SymptomEditPlugin.INSTANCE.getString("_UI_Pg_Goto_Dialog_Message", variables); >+ String dialogTitle = SymptomEditMessages._122; >+ String dialogMessage = NLS.bind(SymptomEditMessages._146, variables); > InputDialog dialog = new InputDialog(getSite().getShell(), dialogTitle, dialogMessage, null, new IInputValidator(){ > public String isValid(String newText){ > if(newText == null || newText.length() == 0) >@@ -191,9 +193,9 @@ > try{ > int pageNr = Integer.parseInt(newText); > if(pageNr<1 || pageNr>totalPages) >- return SymptomEditPlugin.INSTANCE.getString("_UI_Pg_Goto_Dialog_Err_VNIR"); >+ return SymptomEditMessages._121; > } catch (Exception e) { >- return SymptomEditPlugin.INSTANCE.getString("_UI_Pg_Goto_Dialog_Err_VNAN"); >+ return SymptomEditMessages._120; > } > return null; > } >Index: src/com/ibm/etools/symptom/presentation/SymptomAnalysisTreeContentProvider.java >=================================================================== >RCS file: /cvsroot/ac-tech/com.ibm.etools.symptom.editor/src/com/ibm/etools/symptom/presentation/SymptomAnalysisTreeContentProvider.java,v >retrieving revision 1.3 >diff -u -r1.3 SymptomAnalysisTreeContentProvider.java >--- src/com/ibm/etools/symptom/presentation/SymptomAnalysisTreeContentProvider.java 1 Jul 2005 02:02:08 -0000 1.3 >+++ src/com/ibm/etools/symptom/presentation/SymptomAnalysisTreeContentProvider.java 29 Nov 2005 15:46:52 -0000 >@@ -14,6 +14,9 @@ > import org.eclipse.jface.viewers.ITreeContentProvider; > import org.eclipse.jface.viewers.Viewer; > import com.ibm.etools.symptom.editor.SymptomEditPlugin; >+import com.ibm.etools.symptom.editor.internal.util.SymptomEditMessages; >+ >+import org.eclipse.osgi.util.NLS; > > public class SymptomAnalysisTreeContentProvider implements ITreeContentProvider { > private SymptomAnalysisPage _container; >@@ -113,7 +116,7 @@ > variables[1] = "" + _totalPages; > variables[2] = "" + _allElements.size(); > >- String title = SymptomEditPlugin.INSTANCE.getString("_UI_Symptom_Analysis_Tree_View_Title", variables); >+ String title = NLS.bind(SymptomEditMessages._177, variables); > > // title = HyadesUtil.change(title, "%2", String.valueOf(_total)); > // title = HyadesUtil.change(title, "%1", String.valueOf(_visible)); >Index: src/com/ibm/etools/symptom/presentation/KTypeContainerDetails.java >=================================================================== >RCS file: /cvsroot/ac-tech/com.ibm.etools.symptom.editor/src/com/ibm/etools/symptom/presentation/KTypeContainerDetails.java,v >retrieving revision 1.10 >diff -u -r1.10 KTypeContainerDetails.java >--- src/com/ibm/etools/symptom/presentation/KTypeContainerDetails.java 8 Apr 2005 04:02:37 -0000 1.10 >+++ src/com/ibm/etools/symptom/presentation/KTypeContainerDetails.java 29 Nov 2005 15:46:51 -0000 >@@ -26,6 +26,7 @@ > import org.eclipse.ui.forms.widgets.Section; > > import com.ibm.etools.symptom.editor.internal.util.GridUtil; >+import com.ibm.etools.symptom.editor.internal.util.SymptomEditMessages; > > /** > * @author apnan >@@ -79,7 +80,7 @@ > client.layout(); > } > }); >- knowledgeElemContainerSection.setText(getString("_UI_KnowledgeElementContainerSectionTitle")); >+ knowledgeElemContainerSection.setText(SymptomEditMessages._141); > toolkit.createCompositeSeparator(knowledgeElemContainerSection); > > Composite sectionClient = toolkit.createComposite(knowledgeElemContainerSection); >Index: src/com/ibm/etools/symptom/presentation/RecommendedActionDetails.java >=================================================================== >RCS file: /cvsroot/ac-tech/com.ibm.etools.symptom.editor/src/com/ibm/etools/symptom/presentation/RecommendedActionDetails.java,v >retrieving revision 1.24 >diff -u -r1.24 RecommendedActionDetails.java >--- src/com/ibm/etools/symptom/presentation/RecommendedActionDetails.java 1 Jul 2005 02:02:08 -0000 1.24 >+++ src/com/ibm/etools/symptom/presentation/RecommendedActionDetails.java 29 Nov 2005 15:46:51 -0000 >@@ -30,6 +30,7 @@ > import org.eclipse.ui.forms.widgets.Section; > > import com.ibm.etools.symptom.editor.internal.util.GridUtil; >+import com.ibm.etools.symptom.editor.internal.util.SymptomEditMessages; > > /** > * @author apnan >@@ -89,7 +90,7 @@ > client.layout(); > } > }); >- recommendedActionSection.setText(getString("_UI_RecommendedActionSectionTitle")); >+ recommendedActionSection.setText(SymptomEditMessages._148); > toolkit.createCompositeSeparator(recommendedActionSection); > > Composite sectionClient = toolkit.createComposite(recommendedActionSection); >@@ -106,7 +107,7 @@ > description.setEditable(true); > description.setData(new Integer(DESC_ID)); > setLayout(l,description); >- description.setToolTipText(getString("_UI_RecommendedAction_description_tooltip")); >+ description.setToolTipText(SymptomEditMessages._150); > description.addModifyListener(this); > > l = toolkit.createLabel(sectionClient, getString("_UI_KnowledgeType_state_feature")+":", SWT.WRAP); >@@ -115,7 +116,7 @@ > state.setEditable(false); > state.setData(new Integer(STATE_ID)); > setLayout(l,state); >- state.setToolTipText(getString("_UI_RecommendedAction_state_tooltip")); >+ state.setToolTipText(SymptomEditMessages._152); > state.addSelectionListener(this); > > l = toolkit.createLabel(sectionClient, getString("_UI_RecommendedAction_directive_feature")+":", SWT.WRAP); >@@ -123,7 +124,7 @@ > directive.setEditable(true); > directive.setData(new Integer(DIR_ID)); > setLayout(l,directive); >- directive.setToolTipText(getString("_UI_RecommendedAction_directive_tooltip")); >+ directive.setToolTipText(SymptomEditMessages._151); > directive.addModifyListener(this); > > l = toolkit.createLabel(sectionClient, getString("_UI_RecommendedAction_type_feature")+":", SWT.WRAP); >@@ -131,7 +132,7 @@ > type.setEditable(true); > type.setData(new Integer(TYPE_ID)); > setLayout(l,type); >- type.setToolTipText(getString("_UI_RecommendedAction_type_tooltip")); >+ type.setToolTipText(SymptomEditMessages._153); > type.addModifyListener(this); > > l = toolkit.createLabel(sectionClient, getString("_UI_KnowledgeType_knowledgeCategory_feature")+":", SWT.WRAP); >@@ -140,7 +141,7 @@ > knowledgeCategory.setData(new Integer(KNOWLEDGE_CAT_ID)); > setLayout(l,knowledgeCategory); > knowledgeCategory.addModifyListener(this); >- knowledgeCategory.setToolTipText(getString("_UI_KnowledgeType_knowledgeCategory_tooltip")); >+ knowledgeCategory.setToolTipText(SymptomEditMessages._142); > > l = toolkit.createLabel(sectionClient, getString("_UI_KnowledgeType_knowledgeScope_feature")+":", SWT.WRAP); > knowledgeScope = toolkit.createText(sectionClient, "", SWT.NONE); >@@ -148,14 +149,14 @@ > knowledgeScope.setData(new Integer(KNOWLEDGE_SCOPE_ID)); > setLayout(l,knowledgeScope); > knowledgeScope.addModifyListener(this); >- knowledgeScope.setToolTipText(getString("_UI_KnowledgeType_knowledgeScope_tooltip")); >+ knowledgeScope.setToolTipText(SymptomEditMessages._143); > > l = toolkit.createLabel(sectionClient, getString("_UI_RecommendedAction_version_feature")+":", SWT.WRAP); > version = toolkit.createText(sectionClient, "", SWT.NONE); > version.setEditable(true); > version.setData(new Integer(VERSION_ID)); > setLayout(l,version); >- version.setToolTipText(getString("_UI_RecommendedAction_version_tooltip")); >+ version.setToolTipText(SymptomEditMessages._154); > version.addModifyListener(this); > toolkit.paintBordersFor(sectionClient); > >Index: src/com/ibm/etools/symptom/presentation/SymptomInfoDetailPane.java >=================================================================== >RCS file: /cvsroot/ac-tech/com.ibm.etools.symptom.editor/src/com/ibm/etools/symptom/presentation/SymptomInfoDetailPane.java,v >retrieving revision 1.4 >diff -u -r1.4 SymptomInfoDetailPane.java >--- src/com/ibm/etools/symptom/presentation/SymptomInfoDetailPane.java 24 Nov 2005 19:02:37 -0000 1.4 >+++ src/com/ibm/etools/symptom/presentation/SymptomInfoDetailPane.java 29 Nov 2005 15:46:52 -0000 >@@ -74,7 +74,7 @@ > _container.layout(); > } > }); >- _treeSection.setText(SymptomEditPlugin.INSTANCE.getString("_UI_SymptomInfo_TreeSectionTitle")); >+ _treeSection.setText(SymptomEditMessages._129); > _toolkit.createCompositeSeparator(_treeSection); > _treeSection.setDescription(SymptomEditMessages._112); > >@@ -111,7 +111,7 @@ > _container.layout(); > } > }); >- _tableSection.setText(SymptomEditPlugin.INSTANCE.getString("_UI_SymptomInfo_TableSectionTitle_Info")); >+ _tableSection.setText(SymptomEditMessages._128); > _toolkit.createCompositeSeparator(_tableSection); > _tableSection.setDescription(SymptomEditMessages._110); > >@@ -142,11 +142,11 @@ > public void run(){ > boolean show = _filterAction.isChecked(); > if (!show){ >- _filterAction.setToolTipText(SymptomEditPlugin.INSTANCE.getString("_UI_Symptom_Information_Checked_Button_ToolTip")); >+ _filterAction.setToolTipText(SymptomEditMessages._133); > _treeSection.setDescription(""); > } > else{ >- _filterAction.setToolTipText(SymptomEditPlugin.INSTANCE.getString("_UI_Symptom_Information_Unchecked_Button_ToolTip")); >+ _filterAction.setToolTipText(SymptomEditMessages._135); > _treeSection.setDescription(SymptomEditMessages._112); > } > ((SymptomInfoContentProvider) _treeViewer.getContentProvider()).showInfoNode(show); >@@ -154,7 +154,7 @@ > } > }; > _filterAction.setChecked(true); >- _filterAction.setToolTipText(SymptomEditPlugin.INSTANCE.getString("_UI_Symptom_Information_Unchecked_Button_ToolTip")); >+ _filterAction.setToolTipText(SymptomEditMessages._135); > SymptomEditorPluginImages.setImageDescriptors( > _filterAction, > SymptomEditorPluginImages.T_LCL, >@@ -194,29 +194,29 @@ > > private void update(Object newInput){ > if (newInput instanceof SymptomInformation){ >- _tableSection.setText(SymptomEditPlugin.INSTANCE.getString("_UI_SymptomInfo_TableSectionTitle_Info")); >+ _tableSection.setText(SymptomEditMessages._128); > _tableSection.setDescription(SymptomEditMessages._110); > > String desc = ((SymptomInformation) newInput).getDescription(); > _descText.setText(desc == null ? "" : desc); >- _descText.setToolTipText(SymptomEditPlugin.INSTANCE.getString("_UI_SymptomInformation_description_tooltip")); >+ _descText.setToolTipText(SymptomEditMessages._169); > > _detailLabel.setText(SymptomEditPlugin.INSTANCE.getString("_UI_SymptomInformation_solution_feature") + ":"); > String solution = ((SymptomInformation) newInput).getSolution(); > _detailText.setText(solution == null ? "" : solution); >- _detailText.setToolTipText(SymptomEditPlugin.INSTANCE.getString("_UI_SymptomInformation_solution_tooltip")); >+ _detailText.setToolTipText(SymptomEditMessages._171); > } else if (newInput instanceof RecommendedAction){ > _tableSection.setText(SymptomEditMessages._111); > _tableSection.setDescription(SymptomEditMessages._109); > > String desc = ((RecommendedAction) newInput).getDescription(); > _descText.setText(desc == null ? "" : desc); >- _descText.setToolTipText(SymptomEditPlugin.INSTANCE.getString("_UI_RecommendedAction_description_tooltip")); >+ _descText.setToolTipText(SymptomEditMessages._150); > > _detailLabel.setText(SymptomEditPlugin.INSTANCE.getString("_UI_RecommendedAction_directive_feature")+":"); > String directive = ((RecommendedAction) newInput).getDirective(); > _detailText.setText(directive == null ? "" : directive); >- _detailText.setToolTipText(SymptomEditPlugin.INSTANCE.getString("_UI_RecommendedAction_directive_tooltip")); >+ _detailText.setToolTipText(SymptomEditMessages._151); > } > } > >Index: src/com/ibm/etools/symptom/presentation/SymptomAnalysisDetailPageBook.java >=================================================================== >RCS file: /cvsroot/ac-tech/com.ibm.etools.symptom.editor/src/com/ibm/etools/symptom/presentation/SymptomAnalysisDetailPageBook.java,v >retrieving revision 1.14 >diff -u -r1.14 SymptomAnalysisDetailPageBook.java >--- src/com/ibm/etools/symptom/presentation/SymptomAnalysisDetailPageBook.java 24 Nov 2005 19:02:37 -0000 1.14 >+++ src/com/ibm/etools/symptom/presentation/SymptomAnalysisDetailPageBook.java 29 Nov 2005 15:46:52 -0000 >@@ -130,20 +130,17 @@ > _tabFolder = new CTabFolder(this, SWT.TOP); > > _symptomDescTabItem = new CTabItem(_tabFolder, SWT.NONE); >- _symptomDescTabItem.setText(SymptomEditPlugin.INSTANCE >- .getString("_UI_Symptom_Description_Tab")); >+ _symptomDescTabItem.setText(SymptomEditMessages._132); > createSymptomDescViewer(); > //_symptomDescTabItem.setControl(); > > _symptomInfoTabItem = new CTabItem(_tabFolder, SWT.NONE); >- _symptomInfoTabItem.setText(SymptomEditPlugin.INSTANCE >- .getString("_UI_Symptom_Information_Tab")); >+ _symptomInfoTabItem.setText(SymptomEditMessages._134); > createSymptomInfoViewer(); > _symptomInfoTabItem.setControl(_symptomInfoViewer.getControl()); > > _cbeTabItem = new CTabItem(_tabFolder, SWT.NONE); >- _cbeTabItem.setText(SymptomEditPlugin.INSTANCE >- .getString("_UI_Symptom_Correlated_Tab")); >+ _cbeTabItem.setText(SymptomEditMessages._130); > > createCBETableViewer(); > _cbeTabItem.setControl(_cbeMatchedEvents); >@@ -241,8 +238,7 @@ > public void menuAboutToShow(IMenuManager menu) { > if (_gotoLogViewAction == null) { > _gotoLogViewAction = new GoToLogViewAction( >- SymptomEditPlugin.INSTANCE >- .getString("_UI_Open_Log_View_Menu_Item"), >+ SymptomEditMessages._117, > SymptomEditorPluginImages > .getImageDescriptor(SymptomEditorPluginImages.IMG_OPEN_LOG_VIEW)); > } >@@ -250,7 +246,7 @@ > .getSelection()); > if (_pageUpAction == null) { > _pageUpAction = new TablePageUpControl( >- SymptomEditPlugin.INSTANCE.getString("_UI_Pg_Up"), >+ SymptomEditMessages._123, > SymptomEditorPluginImages.DESC_PG_UP, > (CBETableContentProvider) _cbeTableViewer > .getContentProvider()); >@@ -258,8 +254,7 @@ > _pageUpAction.update(); > if (_goToPageAction == null) { > _goToPageAction = new TableGoToPageAction( >- SymptomEditPlugin.INSTANCE >- .getString("_UI_Pg_Goto_label"), >+ SymptomEditMessages._124, > SymptomEditorPluginImages.DESC_PG_GOTO, > (CBETableContentProvider) _cbeTableViewer > .getContentProvider()); >@@ -268,7 +263,7 @@ > > if (_pageDownAction == null) { > _pageDownAction = new TablePageDownControl( >- SymptomEditPlugin.INSTANCE.getString("_UI_Pg_Down"), >+ SymptomEditMessages._118, > SymptomEditorPluginImages.DESC_PG_DOWN, > (CBETableContentProvider) _cbeTableViewer > .getContentProvider()); >@@ -643,10 +638,8 @@ > String[] variables = new String[2]; > variables[0] = "1"; > variables[1] = "" + totalPages; >- String dialogTitle = SymptomEditPlugin.INSTANCE >- .getString("_UI_Pg_Goto_Dialog_Title"); >- String dialogMessage = SymptomEditPlugin.INSTANCE.getString( >- "_UI_Pg_Goto_Dialog_Message", variables); >+ String dialogTitle = SymptomEditMessages._122; >+ String dialogMessage = NLS.bind(SymptomEditMessages._146, variables); > InputDialog dialog = new InputDialog(_cbeTableViewer.getControl() > .getShell(), dialogTitle, dialogMessage, null, > new IInputValidator() { >@@ -656,11 +649,9 @@ > try { > int pageNr = Integer.parseInt(newText); > if (pageNr < 1 || pageNr > totalPages) >- return SymptomEditPlugin.INSTANCE >- .getString("_UI_Pg_Goto_Dialog_Err_VNIR"); >+ return SymptomEditMessages._121; > } catch (Exception e) { >- return SymptomEditPlugin.INSTANCE >- .getString("_UI_Pg_Goto_Dialog_Err_VNAN"); >+ return SymptomEditMessages._120; > } > return null; > } >@@ -856,8 +847,7 @@ > variables[1] = "" + totalPages; > variables[2] = "" + totalNrOfEvents; > >- String title = SymptomEditPlugin.INSTANCE.getString( >- "_UI_Symptom_Matched_Events_Label", variables); >+ String title = NLS.bind(SymptomEditMessages._178, variables); > _matchedEventsPageStatus.setText(title); > } > >Index: src/com/ibm/etools/symptom/presentation/SymptomMasterDetailsBlock.java >=================================================================== >RCS file: /cvsroot/ac-tech/com.ibm.etools.symptom.editor/src/com/ibm/etools/symptom/presentation/SymptomMasterDetailsBlock.java,v >retrieving revision 1.25 >diff -u -r1.25 SymptomMasterDetailsBlock.java >--- src/com/ibm/etools/symptom/presentation/SymptomMasterDetailsBlock.java 24 Nov 2005 19:02:37 -0000 1.25 >+++ src/com/ibm/etools/symptom/presentation/SymptomMasterDetailsBlock.java 29 Nov 2005 15:46:53 -0000 >@@ -57,6 +57,7 @@ > import org.eclipse.ui.forms.widgets.FormToolkit; > import org.eclipse.ui.forms.widgets.ScrolledForm; > import org.eclipse.ui.forms.widgets.Section; >+import org.eclipse.osgi.util.NLS; > > import com.ibm.etools.symptom.editor.SymptomEditPlugin; > import com.ibm.etools.symptom.editor.internal.SymptomEditorPluginImages; >@@ -111,7 +112,7 @@ > layout.marginHeight = 2; > client.setLayout(layout); > //create page info label >- pageInfo = toolkit.createLabel(client, SymptomEditPlugin.INSTANCE.getString("_UI_PageInfo_Label"), SWT.NONE); >+ pageInfo = toolkit.createLabel(client, SymptomEditMessages._181, SWT.NONE); > pageInfo.setFont(JFaceResources.getBannerFont()); > pageInfo.setForeground(JFaceColors.getBannerForeground(ourEditor.getSite().getShell().getDisplay())); > >@@ -227,7 +228,7 @@ > } > }; > haction.setChecked(true); >- haction.setToolTipText(SymptomEditPlugin.INSTANCE.getString("_UI_HorizontalOrientation_label")); >+ haction.setToolTipText(SymptomEditMessages._116); > haction.setImageDescriptor(SymptomEditorPluginImages.DESC_HORIZONTAL); > haction.setDisabledImageDescriptor(SymptomEditorPluginImages.DESC_HORIZONTAL_DISABLED); > >@@ -238,7 +239,7 @@ > } > }; > vaction.setChecked(false); >- vaction.setToolTipText(SymptomEditPlugin.INSTANCE.getString("_UI_VerticalOrientation_label")); >+ vaction.setToolTipText(SymptomEditMessages._136); > vaction.setImageDescriptor(SymptomEditorPluginImages.DESC_VERTICAL); > vaction.setDisabledImageDescriptor(SymptomEditorPluginImages.DESC_VERTICAL_DISABLED); > >@@ -414,7 +415,7 @@ > break; > case FIND_BTN: > if(findAction==null) >- findAction = new FindAction(this, SymptomEditPlugin.INSTANCE.getString("_UI_find_label")); >+ findAction = new FindAction(this, SymptomEditMessages._137); > findAction.run(); > > } >@@ -430,8 +431,8 @@ > > public Action getFindAction(){ > if(findAction==null) >- findAction = new FindAction(this, SymptomEditPlugin.INSTANCE.getString("_UI_find_label")); >- findAction.setToolTipText(SymptomEditPlugin.INSTANCE.getString("_UI_find_tooltip")); >+ findAction = new FindAction(this, SymptomEditMessages._137); >+ findAction.setToolTipText(SymptomEditMessages._138); > findAction.setImageDescriptor(SymptomEditorPluginImages.DESC_FIND); > findAction.setDisabledImageDescriptor(SymptomEditorPluginImages.DESC_FIND_DISABLED); > // findAction.setActionDefinitionId("com.ibm.etools.symptom.editor.findAction"); >@@ -483,7 +484,7 @@ > KnowledgeElementContainer root = getTreeRoot(); > KnowledgeElementContainerItemProvider provider = (KnowledgeElementContainerItemProvider)ourEditor.getAdapterFactory().adapt(root, root); > if(provider!=null){ >- pageInfo.setText(SymptomEditPlugin.INSTANCE.getString("_UI_PageInfo_Label", new String[]{""+(provider.getCurrentPage()+1), ""+provider.getTotalNrOfPages(root)})); >+ pageInfo.setText(NLS.bind(SymptomEditMessages._181, new String[]{""+(provider.getCurrentPage()+1), ""+provider.getTotalNrOfPages(root)})); > } > > } >Index: src/com/ibm/etools/symptom/presentation/MasterDetailsPage.java >=================================================================== >RCS file: /cvsroot/ac-tech/com.ibm.etools.symptom.editor/src/com/ibm/etools/symptom/presentation/MasterDetailsPage.java,v >retrieving revision 1.7 >diff -u -r1.7 MasterDetailsPage.java >--- src/com/ibm/etools/symptom/presentation/MasterDetailsPage.java 9 Dec 2004 01:00:01 -0000 1.7 >+++ src/com/ibm/etools/symptom/presentation/MasterDetailsPage.java 29 Nov 2005 15:46:51 -0000 >@@ -20,6 +20,7 @@ > import org.eclipse.ui.forms.widgets.ScrolledForm; > import com.ibm.etools.symptom.editor.SymptomEditPlugin; > import com.ibm.etools.symptom.editor.internal.util.SymptomDBFindDialog; >+import com.ibm.etools.symptom.editor.internal.util.SymptomEditMessages; > > public class MasterDetailsPage extends FormPage implements IPropertyListener, Listener{ > >@@ -32,7 +33,7 @@ > protected void createFormContent(final IManagedForm managedForm) { > final ScrolledForm form = managedForm.getForm(); > this.toolkit = managedForm.getToolkit(); >- form.setText(SymptomEditPlugin.INSTANCE.getString("_UI_CorrelationEngine_symptomsDefinitions_feature")); >+ form.setText(SymptomEditMessages._113); > > block = new SymptomMasterDetailsBlock(this,(SymptomEditor)getEditor()); > block.createContent(managedForm); >Index: plugin.properties >=================================================================== >RCS file: /cvsroot/ac-tech/com.ibm.etools.symptom.editor/plugin.properties,v >retrieving revision 1.36 >diff -u -r1.36 plugin.properties >--- plugin.properties 24 Nov 2005 19:02:37 -0000 1.36 >+++ plugin.properties 29 Nov 2005 15:46:51 -0000 >@@ -9,181 +9,112 @@ > 9 = Migrate Symptom Databases > 10 = A wizard that creates a new symptom database > 11 = A wizard for migration of symptom databases using the old format >-12 = IBM WebSphere Application Server Standard Edition >-13 = IBM WebSphere Application Server Advanced Edition >-14 = IBM WebSphere Application Server, Version 5 >-15 = IBM WebSphere Application Server, Version 6 >-16 = IBM WebSphere Application Server Network Deployment, Version 5 >- >-17 = AC Symptom Database tool >-18 = IBM >+12 = AC Symptom Database tool >+13 = IBM >+14 = Symptom Model Editor >+15 = Symptom Analysis Result View >+16 = Example EMF Model Creation Wizards >+17 = AC Log Analyzer > >+#EMF STRINGS >+_UI_DocumentRoot_type = Document Root > _UI_CommonBaseEventKType_type = Common Base Event KType > _UI_CommonBaseEventKType_uri_feature = Uri >-_UI_CommonBaseEvent_type = Common Base Event > _UI_CorrelationEngine_id_feature = Id >-_UI_CorrelationEngine_symptomsDefinitions_feature = Symptoms Definitions > _UI_CorrelationEngine_type = Correlation Engine > _UI_CorrelationEngine_type_feature = Type >-_UI_CreateChild_description = Create a new child of type {0} for the {1} feature of the selected {2}. >-_UI_CreateChild_menu_item = &New >-_UI_CreateChild_text = {0} >-_UI_CreateChild_text2 = {1} {0} >-_UI_CreateChild_tooltip = Create New {0} Under {1} Feature >-_UI_CreateSibling_description = Create a new sibling of type {0} for the selected {2}, under the {1} feature of their parent. >-_UI_CreateSibling_menu_item = N&ew Sibling >-_UI_DocumentRoot_correlationEngine_feature = Correlation Engine >-_UI_DocumentRoot_knowledgeElementContainer_feature = Knowledge Element Container >-_UI_DocumentRoot_knowledgeType_feature = Knowledge Type >-_UI_DocumentRoot_mixed_feature = Mixed >-_UI_DocumentRoot_recommendedAction_feature = Recommended Action >-_UI_DocumentRoot_symptomInformation_feature = Symptom Information >-_UI_DocumentRoot_symptom_feature = Symptom >-_UI_DocumentRoot_type = Document Root >-_UI_DocumentRoot_xMLNSPrefixMap_feature = XMLNS Prefix Map >-_UI_DocumentRoot_xSISchemaLocation_feature = XSI Schema Location >-_UI_FileConflict_label = File Conflict >-_UI_HorizontalOrientation_label = Horizontal orientation >-_UI_KnowledgeElementContainerSectionTitle = Knowledge element container properties >-_UI_KnowledgeElementContainer_correlationEngine_feature = Correlation Engine > _UI_KnowledgeElementContainer_description_feature = &Description > _UI_KnowledgeElementContainer_id_feature = Id >-_UI_KnowledgeElementContainer_kTypes_feature = KTypes >-_UI_KnowledgeElementContainer_knowledgeElementType_feature = Knowledge Element Type > _UI_KnowledgeElementContainer_name_feature = &Name > _UI_KnowledgeElementContainer_type = Knowledge Element Container > _UI_KnowledgeElementContainer_url_feature = &Url >-_UI_KnowledgeTypeContainer_knowledgeTypes_feature = Knowledge Types > _UI_KnowledgeType_id_feature = Id > _UI_KnowledgeType_kTypeChildren_feature = KType Children > _UI_KnowledgeType_kTypeParents_feature = KType Parents > _UI_KnowledgeType_knowledgeCategory_feature = Knowledge &Category >-_UI_KnowledgeType_knowledgeCategory_tooltip = The knowledge type classification (memory leak symptom, availability goal policy, etc.). > _UI_KnowledgeType_knowledgeElementContainer_feature = Knowledge Element Container > _UI_KnowledgeType_knowledgeScope_feature = Knowledge &Scope >-_UI_KnowledgeType_knowledgeScope_tooltip = Defines where this knowledge type is applicable. > _UI_KnowledgeType_state_feature = S&tate > _UI_KnowledgeType_type = Knowledge Type >-_UI_MultiObjectSelected = Selected {0} Objects >-_UI_NoObjectSelected = Selected Nothing >-_UI_ObjectColumn_label = Object >-_UI_Open_Log_View_Menu_Item = Open Log View >-_UI_OperationCanceled = Analyze operation canceled. >-_UI_OtherKType_any_feature = Any > _UI_OtherKType_type = Other KType > _UI_OtherKType_type_feature = Type >-_UI_ParentPage_label = Parent >-_UI_Pg_Down = Page down >-_UI_Pg_Goto = Go to page... >-_UI_Pg_Goto_Dialog_Err_VNAN = Not a valid number ! >-_UI_Pg_Goto_Dialog_Err_VNIR = Number not in range ! >-_UI_Pg_Goto_Dialog_Message = Enter page number ({0}..{1}) >-_UI_Pg_Goto_Dialog_Title = Go to page >-_UI_Pg_Up = Page up >-_UI_Pg_Goto_label = Go to page >-_UI_ProgressSubTaskName = Log event: {0} of {1}. > _UI_PropertyDescriptor_description = The {0} of the {1} >-_UI_RecommendedActionSectionTitle = Recommended action properties >-_UI_RecommendedActionChoices_label = Matched recommended actions: >-_UI_RecommendedAction_any_feature = Any > _UI_RecommendedAction_description_feature = &Description >-_UI_RecommendedAction_description_tooltip = A description of the recommended action. > _UI_RecommendedAction_directive_feature = D&irective >-_UI_RecommendedAction_directive_tooltip = Specific instructions to be executed. >-_UI_RecommendedAction_state_tooltip = The workflow state of the recommended action. > _UI_RecommendedAction_type = Recommended Action > _UI_RecommendedAction_type_feature = T&ype >-_UI_RecommendedAction_type_tooltip = The type of the recommended action. > _UI_RecommendedAction_version_feature = &Version >-_UI_RecommendedAction_version_tooltip = The version of this recommended action. >-_UI_RefreshViewer_menu_item = &Refresh >-_UI_SelectedRecommendedAction_label = Selected recommended actions >-_UI_SelectedSymptomInformation_label = Selected symptom information: >-_UI_SelectionPage_label = Selection >-_UI_SelfColumn_label = Self >-_UI_ShowPropertiesView_menu_item = Show &Properties View > _UI_SimpleMatchPattern_expirationTime_feature = &Expiration Time >-_UI_SimpleMatchPattern_expirationTime_tooltip = The time the symptom instance generated by the current rule expires. > _UI_SimpleMatchPattern_name_feature = &Name >-_UI_SimpleMatchPattern_name_tooltip = The name of the simple match pattern rule. > _UI_SimpleMatchPattern_priority_feature = &Priority >-_UI_SimpleMatchPattern_priority_tooltip = The importance of the symptom instance generated by the current rule. Input a value from 0 to 100. > _UI_SimpleMatchPattern_probability_feature = Pr&obability >-_UI_SimpleMatchPattern_probability_tooltip = The probability that the symptom is correctly identified. Input a value from 0 to 100. >-_UI_SimpleMatchPattern_state_tooltip = The workflow state of the symptom instance generated by the current rule. > _UI_SimpleMatchPattern_symptomType_feature = S&ymptom Type > _UI_SimpleMatchPattern_type = Match Pattern Rule >-_UI_SimpleMatchPattern_type_feature = Type >-_UI_SimpleMatchPattern_type_tooltip = The type of the symptom instance generated by the current rule. > _UI_SimpleMatchPattern_value_feature = &Match pattern >-_UI_SimpleMatchPattern_value_tooltip = The actual match pattern value. > _UI_SimpleMatchPattern_version_feature = Version >-_UI_SimpleMatchPattern_version_tooltip = The version of the symptom instance generated by the current rule. >-_UI_SingleObjectSelected = Selected Object: {0} >-_UI_StateType_ANALYZED_literal = ANALYZED >-_UI_StateType_BUILDING_literal = BUILDING >-_UI_StateType_COMPLETED_literal = COMPLETED >-_UI_StateType_CREATED_literal = CREATED >-_UI_StateType_EXECUTING_literal = EXECUTING >-_UI_StateType_EXPIRED_literal = EXPIRED >-_UI_StateType_FAULT_literal = FAULT >-_UI_StateType_PLANNING_literal = PLANNING >-_UI_StateType_SCHEDULED_literal = SCHEDULED >-_UI_SymptomDescription_any_feature = Any > _UI_SymptomDescription_correlatedObjectsRefs_feature = Correlated Objects Refs > _UI_SymptomDescription_creationTime_feature = Creation Time > _UI_SymptomDescription_expirationTime_feature = Expiration Time > _UI_SymptomDescription_priority_feature = Priority > _UI_SymptomDescription_probability_feature = Probability > _UI_SymptomDescription_symptomDefinitionRef_feature = Symptom Definition Ref >-_UI_SymptomDescription_symptomInformationRefs_feature = SymptomDescription Information Refs > _UI_SymptomDescription_type = SymptomDescription > _UI_SymptomDescription_symptomType_feature = Type >-_UI_SymptomDescription_symptomsRefs_feature = SymptomDescriptions Refs > _UI_SymptomDescription_version_feature = Version >-_UI_SymptomEditor_label = Symptom Model Editor >-_UI_SymptomEditor_menu = &Symptom Editor >-_UI_SymptomInfo_TableSectionTitle_Info = Symptom information >-_UI_SymptomInfo_TreeSectionTitle = Rules >-_UI_SymptomInformationChoices_label = Matched symptom information: >-_UI_SymptomInformationSectionTitle = Symptom information properties >-_UI_SymptomInformation_any_feature = Any > _UI_SymptomInformation_description_feature = &Description >-_UI_SymptomInformation_description_tooltip = A description of the symptom. > _UI_SymptomInformation_example_feature = &Example >-_UI_SymptomInformation_example_tooltip = An optional example of the symptom or the symptom solution. >-_UI_SymptomInformation_recommendedActionsRefs_feature = Recommended Actions Refs > _UI_SymptomInformation_solution_feature = S&olution >-_UI_SymptomInformation_solution_tooltip = A description of why the symptom is occurring. >-_UI_SymptomInformation_state_tooltip = The workflow state of the symptom. > _UI_SymptomInformation_type = Symptom Information > _UI_SymptomInformation_url_feature = &Url >-_UI_SymptomInformation_url_tooltip = Web site to visit to get the latest information or description about the symptom. > _UI_SymptomInformation_version_feature = &Version >-_UI_SymptomInformation_version_tooltip = The version of this symptom information. >-_UI_SymptomSectionDesc = Provide information needed to create instances of symptoms during log analysis >-_UI_SymptomSectionTitle = Symptom description properties >-_UI_Symptom_Analysis_Tree_View_Title = Symptom Analysis Results(Page {0} of {1}, {2} records in total) >-_UI_Symptom_Analysis_Viewer_Title = Symptom Analysis Result View >-_UI_Symptom_Correlated_Tab = Matched Events >-_UI_Symptom_Matched_Events_Label = Matched events page {0} of {1}, {2} records in total >-_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. >-_UI_Symptom_Description_Tab = Symptom Description >-_UI_Symptom_Information_Checked_Button_ToolTip = Show symptom information >-_UI_Symptom_Information_Tab = Symptom Information >-_UI_Symptom_Information_Unchecked_Button_ToolTip = Hide symptom information >+ >+ >+ >+#UNUSED STRINGS >+_UI_CommonBaseEvent_type = Common Base Event >+_UI_CreateChild_description = Create a new child of type {0} for the {1} feature of the selected {2}. >+_UI_CreateChild_text = {0} >+_UI_CreateChild_text2 = {1} {0} >+_UI_CreateChild_tooltip = Create New {0} Under {1} Feature >+_UI_CreateSibling_description = Create a new sibling of type {0} for the selected {2}, under the {1} feature of their parent. >+_UI_DocumentRoot_correlationEngine_feature = Correlation Engine >+_UI_DocumentRoot_knowledgeElementContainer_feature = Knowledge Element Container >+_UI_DocumentRoot_knowledgeType_feature = Knowledge Type >+_UI_DocumentRoot_mixed_feature = Mixed >+_UI_DocumentRoot_recommendedAction_feature = Recommended Action >+_UI_DocumentRoot_symptomInformation_feature = Symptom Information >+_UI_DocumentRoot_symptom_feature = Symptom >+_UI_DocumentRoot_xMLNSPrefixMap_feature = XMLNS Prefix Map >+_UI_DocumentRoot_xSISchemaLocation_feature = XSI Schema Location >+_UI_KnowledgeElementContainer_correlationEngine_feature = Correlation Engine >+_UI_KnowledgeElementContainer_kTypes_feature = KTypes >+_UI_KnowledgeElementContainer_knowledgeElementType_feature = Knowledge Element Type >+_UI_KnowledgeTypeContainer_knowledgeTypes_feature = Knowledge Types >+_UI_ObjectColumn_label = Object >+_UI_OperationCanceled = Analyze operation canceled. >+_UI_OtherKType_any_feature = Any >+_UI_ParentPage_label = Parent >+_UI_RecommendedAction_any_feature = Any >+_UI_SelfColumn_label = Self >+_UI_SimpleMatchPattern_type_feature = Type >+_UI_StateType_ANALYZED_literal = ANALYZED >+_UI_StateType_BUILDING_literal = BUILDING >+_UI_StateType_COMPLETED_literal = COMPLETED >+_UI_StateType_CREATED_literal = CREATED >+_UI_StateType_EXECUTING_literal = EXECUTING >+_UI_StateType_EXPIRED_literal = EXPIRED >+_UI_StateType_FAULT_literal = FAULT >+_UI_StateType_PLANNING_literal = PLANNING >+_UI_StateType_SCHEDULED_literal = SCHEDULED >+_UI_SymptomDescription_any_feature = Any >+_UI_SymptomDescription_symptomInformationRefs_feature = SymptomDescription Information Refs >+_UI_SymptomDescription_symptomsRefs_feature = SymptomDescriptions Refs >+_UI_SymptomInformation_any_feature = Any >+_UI_SymptomInformation_recommendedActionsRefs_feature = Recommended Actions Refs > _UI_TablePage_label = Table > _UI_TableTreePage_label = TableTree > _UI_TreePage_label = Tree > _UI_Unknown_feature = Unspecified > _UI_Unknown_type = Object >-_UI_VerticalOrientation_label = Vertical orientation >-_UI_Wizard_category = Example EMF Model Creation Wizards >-_WARN_FileConflict = There are unsaved changes that conflict with changes made outside the editor. Do you wish to discard this editor's changes? >-defaultLogAnalyzer = AC Log Analyzer >-_UI_find_label = Find >-_UI_find_tooltip = Find records in the symptom database >-_UI_ReuseChild_menu_item = &Reuse >-_UI_TreeRoot_Label = {0} rules >-_UI_PageInfo_Label = Page {0} of {1} >+ > >Index: plugin.xml >=================================================================== >RCS file: /cvsroot/ac-tech/com.ibm.etools.symptom.editor/plugin.xml,v >retrieving revision 1.23 >diff -u -r1.23 plugin.xml >--- plugin.xml 24 Nov 2005 19:02:37 -0000 1.23 >+++ plugin.xml 29 Nov 2005 15:46:51 -0000 >@@ -11,7 +11,7 @@ > point = "org.eclipse.ui.newWizards"> > <category > id = "org.eclipse.emf.ecore.Wizard.category.ID" >- name="%_UI_Wizard_category"> >+ name="%16"> > </category> > <wizard > id = "com.ibm.etools.symptom.presentation.SymptomModelWizardID" >@@ -27,7 +27,7 @@ > <extension point = "org.eclipse.ui.editors"> > <editor > id = "com.ibm.etools.symptom.presentation.SymptomEditorID" >- name = "%_UI_SymptomEditor_label" >+ name = "%14" > icon = "icons/full/obj16/SymptomModelFile.gif" > extensions = "symptom" > class = "com.ibm.etools.symptom.presentation.SymptomEditor" >@@ -71,7 +71,7 @@ > <extension > point="org.eclipse.hyades.analysis.engine.logAnalyzer"> > <logAnalyzer >- name="%defaultLogAnalyzer" >+ name="%17" > type="org.eclipse.hyades.models.cbe.CBEDefaultEvent" > class="com.ibm.etools.symptom.editor.analysis.LogAnalyzerImpl" > id="com.ibm.etools.symptom.editor.analysis.LogAnalyzerImpl"> >@@ -182,7 +182,7 @@ > <extension > point="org.eclipse.ui.views"> > <view >- name="%_UI_Symptom_Analysis_Viewer_Title" >+ name="%15" > icon="icons/full/obj16/new_symptomdb_obj.gif" > category="org.eclipse.hyades.trace.internal.ui.trace" > class="com.ibm.etools.symptom.presentation.SymptomAnalysisViewer" >Index: src/com/ibm/etools/symptom/provider/KnowledgeElementContainerItemProvider.java >=================================================================== >RCS file: /cvsroot/ac-tech/com.ibm.etools.symptom.editor/src/com/ibm/etools/symptom/provider/KnowledgeElementContainerItemProvider.java,v >retrieving revision 1.8 >diff -u -r1.8 KnowledgeElementContainerItemProvider.java >--- src/com/ibm/etools/symptom/provider/KnowledgeElementContainerItemProvider.java 18 Nov 2005 21:06:23 -0000 1.8 >+++ src/com/ibm/etools/symptom/provider/KnowledgeElementContainerItemProvider.java 29 Nov 2005 15:46:53 -0000 >@@ -53,7 +53,9 @@ > import com.ibm.etools.symptom.editor.EditorExtensionsRegistry; > import com.ibm.etools.symptom.editor.IKTypeEditHandler; > import com.ibm.etools.symptom.editor.SymptomEditPlugin; >+import com.ibm.etools.symptom.editor.internal.util.SymptomEditMessages; > import com.ibm.etools.symptom.editor.internal.util.SymptomEditorConstants; >+import org.eclipse.osgi.util.NLS; > > /** > * This is the item provider adpater for a {@link org.eclipse.hyades.models.symptom.KnowledgeElementContainer} object. >@@ -223,7 +225,7 @@ > List allElements = getAllElements(container); > > return label == null || label.length() == 0 ? >- "("+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; >+ "("+ NLS.bind(SymptomEditMessages._180,new String [] { ""+allElements.size() })+") - "+getString("_UI_KnowledgeElementContainer_type") : "("+ NLS.bind(SymptomEditMessages._180, new String [] { ""+allElements.size() })+") - "+label; > } > > /** >Index: src/com/ibm/etools/symptom/editor/analysis/SimpleMatchPatternHandler.java >=================================================================== >RCS file: /cvsroot/ac-tech/com.ibm.etools.symptom.editor/src/com/ibm/etools/symptom/editor/analysis/SimpleMatchPatternHandler.java,v >retrieving revision 1.7 >diff -u -r1.7 SimpleMatchPatternHandler.java >--- src/com/ibm/etools/symptom/editor/analysis/SimpleMatchPatternHandler.java 18 Nov 2005 20:53:41 -0000 1.7 >+++ src/com/ibm/etools/symptom/editor/analysis/SimpleMatchPatternHandler.java 29 Nov 2005 15:46:51 -0000 >@@ -28,6 +28,9 @@ > import org.eclipse.hyades.models.symptom.SymptomFactory; > import com.ibm.etools.symptom.editor.SymptomEditPlugin; > import com.ibm.etools.symptom.editor.SymptomEditPlugin.Implementation; >+import com.ibm.etools.symptom.editor.internal.util.SymptomEditMessages; >+ >+import org.eclipse.osgi.util.NLS; > > /** > *This is the handler for SimpleMatchPattern rules of the default analysis engine. >@@ -224,11 +227,11 @@ > record[0] = String.valueOf(i); > String result = ""; > try { >- result = SymptomEditPlugin.INSTANCE.getString("_UI_ProgressSubTaskName", record); >+ result = NLS.bind(SymptomEditMessages._147, record); > } > catch(Exception e) { > // Running outside eclipse >- result = "_UI_ProgressSubTaskName"; >+ result = "_147"; > } > return result; > } >Index: src/com/ibm/etools/symptom/editor/internal/util/SymptomEditMessages.java >=================================================================== >RCS file: /cvsroot/ac-tech/com.ibm.etools.symptom.editor/src/com/ibm/etools/symptom/editor/internal/util/SymptomEditMessages.java,v >retrieving revision 1.1 >diff -u -r1.1 SymptomEditMessages.java >--- src/com/ibm/etools/symptom/editor/internal/util/SymptomEditMessages.java 24 Nov 2005 19:02:37 -0000 1.1 >+++ src/com/ibm/etools/symptom/editor/internal/util/SymptomEditMessages.java 29 Nov 2005 15:46:51 -0000 >@@ -120,11 +120,101 @@ > public static String _110; > public static String _111; > public static String _112; >- public static String _113; >- public static String _114; >- public static String _115; >- public static String _116; >- public static String _117; >+ public static String _113; >+ public static String _114; >+ public static String _115; >+ public static String _116; >+ public static String _117; >+ public static String _118; >+ public static String _119; >+ public static String _120; >+ public static String _121; >+ public static String _122; >+ public static String _123; >+ public static String _124; >+ public static String _125; >+ public static String _126; >+ public static String _127; >+ public static String _128; >+ public static String _129; >+ public static String _130; >+ public static String _131; >+ public static String _132; >+ public static String _133; >+ public static String _134; >+ public static String _135; >+ public static String _136; >+ public static String _137; >+ public static String _138; >+ public static String _139; >+ public static String _140; >+ public static String _141; >+ public static String _142; >+ public static String _143; >+ public static String _144; >+ public static String _145; >+ public static String _146; >+ public static String _147; >+ public static String _148; >+ public static String _149; >+ public static String _150; >+ public static String _151; >+ public static String _152; >+ public static String _153; >+ public static String _154; >+ public static String _155; >+ public static String _156; >+ public static String _157; >+ public static String _158; >+ public static String _159; >+ public static String _160; >+ public static String _161; >+ public static String _162; >+ public static String _163; >+ public static String _164; >+ public static String _165; >+ public static String _166; >+ public static String _167; >+ public static String _168; >+ public static String _169; >+ public static String _170; >+ public static String _171; >+ public static String _172; >+ public static String _173; >+ public static String _174; >+ public static String _175; >+ public static String _176; >+ public static String _177; >+ public static String _178; >+ public static String _179; >+ public static String _180; >+ public static String _181; >+ public static String _182; >+ public static String _183; >+ public static String _184; >+ public static String _185; >+ public static String _186; >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ > > static { > NLS.initializeMessages(BUNDLE_NAME, SymptomEditMessages.class); >Index: src/com/ibm/etools/symptom/editor/internal/util/messages.properties >=================================================================== >RCS file: /cvsroot/ac-tech/com.ibm.etools.symptom.editor/src/com/ibm/etools/symptom/editor/internal/util/messages.properties,v >retrieving revision 1.1 >diff -u -r1.1 messages.properties >--- src/com/ibm/etools/symptom/editor/internal/util/messages.properties 24 Nov 2005 19:02:37 -0000 1.1 >+++ src/com/ibm/etools/symptom/editor/internal/util/messages.properties 29 Nov 2005 15:46:51 -0000 >@@ -110,3 +110,86 @@ > _110 = Description and solution > _111 = Recommended action > _112 = Click the node of the tree to show details of symptom information or recommended actions. >+_113 = Symptoms Definitions >+_114 = &New >+_115 = N&ew Sibling >+_116 = Horizontal orientation >+_117 = Open Log View >+_118 = Page down >+_119 = Go to page... >+_120 = Not a valid number ! >+_121 = Number not in range ! >+_122 = Go to page >+_123 = Page up >+_124 = Go to page >+_125 = &Refresh >+_126 = Show &Properties View >+_127 = &Symptom Editor >+_128 = Symptom information >+_129 = Rules >+_130 = Matched Events >+_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 = Symptom Description >+_133 = Show symptom information >+_134 = Symptom Information >+_135 = Hide symptom information >+_136 = Vertical orientation >+_137 = Find >+_138 = Find records in the symptom database >+_139 = &Reuse >+_140 = File Conflict >+_141 = Knowledge element container properties >+_142 = The knowledge type classification (memory leak symptom, availability goal policy, etc.). >+_143 = Defines where this knowledge type is applicable. >+_144 = Selected {0} Objects >+_145 = Selected Nothing >+_146 = Enter page number ({0}..{1}) >+_147 = Log event: {0} of {1}. >+_148 = Recommended action properties >+_149 = Matched recommended actions: >+_150 = A description of the recommended action. >+_151 = Specific instructions to be executed. >+_152 = The workflow state of the recommended action. >+_153 = The type of the recommended action. >+_154 = The version of this recommended action. >+_155 = Selected recommended actions >+_156 = Selected symptom information: >+_157 = Selection >+_158 = The time the symptom instance generated by the current rule expires. >+_159 = The name of the simple match pattern rule. >+_160 = The importance of the symptom instance generated by the current rule. Input a value from 0 to 100. >+_161 = The probability that the symptom is correctly identified. Input a value from 0 to 100. >+_162 = The workflow state of the symptom instance generated by the current rule. >+_163 = The type of the symptom instance generated by the current rule. >+_164 = The actual match pattern value. >+_165 = The version of the symptom instance generated by the current rule. >+_166 = Selected Object: {0} >+_167 = Matched symptom information: >+_168 = Symptom information properties >+_169 = A description of the symptom. >+_170 = An optional example of the symptom or the symptom solution. >+_171 = A description of why the symptom is occurring. >+_172 = The workflow state of the symptom. >+_173 = Web site to visit to get the latest information or description about the symptom. >+_174 = The version of this symptom information. >+_175 = Provide information needed to create instances of symptoms during log analysis >+_176 = Symptom description properties >+_177 = Symptom Analysis Results(Page {0} of {1}, {2} records in total) >+_178 = Matched events page {0} of {1}, {2} records in total >+_179 = There are unsaved changes that conflict with changes made outside the editor. Do you wish to discard this editor's changes? >+_180 = {0} rules >+_181 = Page {0} of {1} >+_182 = IBM WebSphere Application Server Standard Edition >+_183 = IBM WebSphere Application Server Advanced Edition >+_184 = IBM WebSphere Application Server, Version 5 >+_185 = IBM WebSphere Application Server, Version 6 >+_186 = IBM WebSphere Application Server Network Deployment, Version 5 >+ >+ >+ >+ >+ >+ >+ >+ >+ >Index: src/com/ibm/etools/symptom/editor/SymptomEditPlugin.java >=================================================================== >RCS file: /cvsroot/ac-tech/com.ibm.etools.symptom.editor/src/com/ibm/etools/symptom/editor/SymptomEditPlugin.java,v >retrieving revision 1.16 >diff -u -r1.16 SymptomEditPlugin.java >--- src/com/ibm/etools/symptom/editor/SymptomEditPlugin.java 24 Nov 2005 19:02:37 -0000 1.16 >+++ src/com/ibm/etools/symptom/editor/SymptomEditPlugin.java 29 Nov 2005 15:46:51 -0000 >@@ -43,6 +43,7 @@ > import org.eclipse.jface.util.SafeRunnable; > import org.osgi.framework.BundleContext; > >+import com.ibm.etools.symptom.editor.internal.util.SymptomEditMessages; > import com.ibm.etools.symptom.editor.internal.util.SymptomEditorConstants; > /** > * This is the central singleton for the Symptom editor plugin. <!-- >@@ -167,23 +168,23 @@ > protected void initializeDefaultPluginPreferences() { > IPreferenceStore store = getPreferenceStore(); > String url = >- getString("12") >+ SymptomEditMessages._182 > + "\t" > + SymptomEditorConstants.StdURL > + "\n" >- + getString("13") >+ + SymptomEditMessages._183 > + "\t" > + SymptomEditorConstants.AdvURL > + "\n" >- + getString("14") >+ + SymptomEditMessages._184 > + "\t" > + SymptomEditorConstants.StdURL > + "\n" >- + getString("15") >+ + SymptomEditMessages._185 > + "\t" > + SymptomEditorConstants.StdURL > + "\n" >- + getString("16") >+ + SymptomEditMessages._186 > + "\t" > + SymptomEditorConstants.AdvURL; > >Index: META-INF/MANIFEST.MF >=================================================================== >RCS file: /cvsroot/ac-tech/com.ibm.etools.symptom.editor/META-INF/MANIFEST.MF,v >retrieving revision 1.4 >diff -u -r1.4 MANIFEST.MF >--- META-INF/MANIFEST.MF 24 Nov 2005 19:02:38 -0000 1.4 >+++ META-INF/MANIFEST.MF 29 Nov 2005 15:46:51 -0000 >@@ -1,10 +1,10 @@ > Manifest-Version: 1.0 > Bundle-ManifestVersion: 2 >-Bundle-Name: %17 >+Bundle-Name: %12 > Bundle-SymbolicName: com.ibm.etools.symptom.editor; singleton:=true > Bundle-Version: 7.0.0 > Bundle-Activator: com.ibm.etools.symptom.editor.SymptomEditPlugin$Implementation >-Bundle-Vendor: %18 >+Bundle-Vendor: %13 > Bundle-Localization: plugin > Require-Bundle: org.eclipse.core.runtime, > org.eclipse.ui.ide, >Index: src/com/ibm/etools/symptom/editor/internal/actions/GoToPageAction.java >=================================================================== >RCS file: /cvsroot/ac-tech/com.ibm.etools.symptom.editor/src/com/ibm/etools/symptom/editor/internal/actions/GoToPageAction.java,v >retrieving revision 1.5 >diff -u -r1.5 GoToPageAction.java >--- src/com/ibm/etools/symptom/editor/internal/actions/GoToPageAction.java 18 Nov 2005 20:53:41 -0000 1.5 >+++ src/com/ibm/etools/symptom/editor/internal/actions/GoToPageAction.java 29 Nov 2005 15:46:51 -0000 >@@ -15,8 +15,10 @@ > import org.eclipse.jface.resource.ImageDescriptor; > import org.eclipse.jface.viewers.StructuredSelection; > import org.eclipse.swt.custom.BusyIndicator; >+import org.eclipse.osgi.util.NLS; > > import com.ibm.etools.symptom.editor.SymptomEditPlugin; >+import com.ibm.etools.symptom.editor.internal.util.SymptomEditMessages; > import com.ibm.etools.symptom.provider.KnowledgeElementContainerItemProvider; > > /** >@@ -44,10 +46,8 @@ > String[] variables = new String[2]; > variables[0] = "1"; > variables[1] = "" + totalPages; >- String dialogTitle = SymptomEditPlugin.INSTANCE >- .getString("_UI_Pg_Goto_Dialog_Title"); >- String dialogMessage = SymptomEditPlugin.INSTANCE.getString( >- "_UI_Pg_Goto_Dialog_Message", variables); >+ String dialogTitle = SymptomEditMessages._122; >+ String dialogMessage = NLS.bind(SymptomEditMessages._146, variables); > InputDialog dialog = new InputDialog(editor.getSite().getShell(), > dialogTitle, dialogMessage, null, new IInputValidator() { > public String isValid(String newText) { >@@ -56,11 +56,9 @@ > try { > int pageNr = Integer.parseInt(newText); > if (pageNr < 1 || pageNr > totalPages) >- return SymptomEditPlugin.INSTANCE >- .getString("_UI_Pg_Goto_Dialog_Err_VNIR"); >+ return SymptomEditMessages._121; > } catch (Exception e) { >- return SymptomEditPlugin.INSTANCE >- .getString("_UI_Pg_Goto_Dialog_Err_VNAN"); >+ return SymptomEditMessages._120; > } > return null; > } >Index: src/com/ibm/etools/symptom/editor/internal/actions/ReuseAction.java >=================================================================== >RCS file: /cvsroot/ac-tech/com.ibm.etools.symptom.editor/src/com/ibm/etools/symptom/editor/internal/actions/ReuseAction.java,v >retrieving revision 1.3 >diff -u -r1.3 ReuseAction.java >--- src/com/ibm/etools/symptom/editor/internal/actions/ReuseAction.java 18 Nov 2005 20:53:41 -0000 1.3 >+++ src/com/ibm/etools/symptom/editor/internal/actions/ReuseAction.java 29 Nov 2005 15:46:51 -0000 >@@ -69,13 +69,13 @@ > > if(eObject instanceof SimpleMatchPattern){ > choiceType = SymptomPackage.eINSTANCE.getSymptomInformation(); >- choiceLabel = "_UI_SymptomInformationChoices_label"; >- selectedLabel = "_UI_SelectedSymptomInformation_label"; >+ choiceLabel = "_167"; >+ selectedLabel = "_156"; > typeLabel = "_UI_SymptomInformation_type"; > }else if(eObject instanceof SymptomInformation){ > choiceType = SymptomPackage.eINSTANCE.getRecommendedAction(); >- choiceLabel = "_UI_RecommendedActionChoices_label"; >- selectedLabel = "_UI_SelectedRecommendedAction_label"; >+ choiceLabel = "_149"; >+ selectedLabel = "_155"; > typeLabel = "_UI_RecommendedAction_type"; > } > callReuseDialog(object, choiceType, choiceLabel, selectedLabel, typeLabel);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 102390
: 32679 |
32726
|
32727
|
34423