| Summary: | Cannot determine filter that was expanded in call to resolveFilterStrings | ||
|---|---|---|---|
| Product: | [Tools] Target Management | Reporter: | Mohammed Ajmal <majmal> |
| Component: | RSE | Assignee: | dsdp.tm.rse-inbox <tm.rse-inbox> |
| Status: | NEW --- | QA Contact: | Martin Oberhuber <mober.at+eclipse> |
| Severity: | major | ||
| Priority: | P3 | CC: | ankitp |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Mohammed Ajmal
I think that your custom subsystem should also contribute a custom ISystemViewElementAdapter, as a child of AbstractSystemViewAdapter. When you override public Object[] getChildren(IContextObject element, IProgressMonitor monitor) you can use the IContextObject to understand what filter has been expanded. Could this be sufficient, or am I missing something? Sorry, I'm a bit confused. The filters I'm expanding in my custom subsystem are RSE filters (created in the performFinish() method of the SystemNewFilterWizard class). Am I really supposed to "override" the ISystemViewElementAdapter associated with RSE filters? (I *have* specified an ISystemViewElementAdapter that subclasses AbstractSystemViewAdapter for my own custom artifacts in the subsystem.) Moreover, the javadoc in the abstract Subsystem class for internalResolveFilterString(Object, String, IProgressMonitor) (line 2979 for me) states: YOU MUST OVERRIDE THIS IF YOU SUPPORT FILTERS! I would expect the method to be called with the appropriate filter that is expanded after I have overridden this method in my subsystem. |