| Summary: | Remove code duplicates in String Externalizer. | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Malgorzata Janczarska <malgorzata.tomczyk> |
| Component: | Client | Assignee: | libing wang <libingw> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | libingw |
| Version: | 0.5 | ||
| Target Milestone: | 2.0 RC1 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
| Bug Depends on: | 382492 | ||
| Bug Blocks: | |||
|
Description
Malgorzata Janczarska
Blocking bug was moved to 2.0. fixed with http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=e2a5666af7cfb3f6460f40f55661f97076e38b5a. Now you only need to implement the searchModel. You get the renderer and explorer by free. Please see searchModel.js and strExternalizerModel.js for API docs. Look for "requied function". Gosia Gosia: I removed all the search.html,css,js and searchExplorer, searchResult from the externalizer folder. The names were quite confusing when I used CTRL+F every time. Sometimes when I type searchExploer or searchResult it accidentally brought me to your folder. So now under the same folder, we have: strExternalizer.html, strExternalizer.css, and strExternalizer.js. All these files are just copies from the previous one. strExternalizerModel.js: This is the model class to feed the generic replace widget. strExternalizerResults.js: Pretty much the same as searchResults.js before but now you are constructing the generic replace widget by passing your model(strExternalizerModel). One more thing, I also modified nonnlsPlugin.html file to use the new strExternalizer.html |