Community
Participate
Working Groups
Build ID: eclipse322 rse20m5 i tried to expand the tree of the system view after a connect was done. but all i brought up to work was an expand up to the first level inside a filter (the children of the filter reference). and this only worked when expanding each step in the hirarchy (expand the connection, expand the subsystem, expand the filter reference). but when trying to expand the first element inside the filter reference nothing happens. please explain an easy way how to expand a tree path within the system view or fix this problem.
Can you reproduce this issue with any of the subsystems that are available in Open Source? The "Developer" subsystem from the examples.tutorial project, for instance? Also note that your configuration (eclipse3.2.2 / rse 2.0m5) is invalid. RSE 2.0M5 REQUIRES Eclipse 3.3M5. Anything else may lead to unexpected issues.
used eclipse version (target platform) was 3.3m5 (e3.2.2 is only used for development). i think it is not very hard to repoduce this, but what i need is an easy way how to do the expand. i was not able to find a way to do this. firing an expand event does not work on elements that are collapsed, do a direct expandToLevel in the SystemView even has the same problem, because the expand was not implemented in the SystemView and so it could not work with asynchronous tree expansions. expanding each level works for connection, subsytsem and filter reference, but because of asynchronous children fetching, this does not work for the children of a filter. because there is no callback when all children of a filter are loaded, when should i call the expand??
For subsystems that do not support deferred queries, the situation should be better now with the fix for bug 180575 - expansion on an existing model should work synchronously now. Changing severity to enhancement in order to address in early M7, coming up with additional API including callbacks (available by resolution of bug 166338 and bug 176603), which should also help resolving the sluggish performance of RemoteFolderDialog.setPreselection() (bug 174944).
This may actually not be an API change when just the event EVENT_SELECT_EXPAND is changed such that the "parent" parameter (which is currently unused) is used to carry an Integer (giving a depth to expand to), or a String[] (giving a path of child names to expand).
Deferring to the Future.