Community
Participate
Working Groups
In the EclipseCon tutorial JarSigningActionDelegate.java line 132, dlg.setPreSelection() is supposed to open a SystemRemoteFolderDialog, and position it on a preselected folder. This doesn't currently work (would it be necessary to expand the folders down to the selection piecewise? Would it be necessary to specify what filter to use?) If not too much effort it would be great to get this fixed for EclipseCon.
I've changed a few things to get this working. I needed to add an additional api in ISystemRegistry: /** * Returns filter references associated with this resource under the subsystem */ public List findFilterReferencesFor(Object resource, ISubSystem subsystem, boolean onlyCached); The onlyCached flag is used to determine whether we should return filter references that have no contents. We pass false for the preselection, whereas all other users of this default to true. I added a method in SystemView: public void expandTo(Object parentObject, Object remoteObject) The method expands the tree from parentObject until remoteObject is found. I have to turn off deferred queries temporarily in this case so I also added an enable flag for SystemViewLabelAndContentPRovider.
Verified with I20070223-0730
[target cleanup] 2.0 M5 was the original target milestone for this bug