Community
Participate
Working Groups
Unlike SystemSelectRemoteFolderAction, SystemSelectRemoteFileAction still uses SystemSelectRemoteFileOrFolderDialog, instead of SystemRemoteFileDialog. SystemSelectRemoteFileOrFolderDialog has been deprecated. I think the reason that SystemSelectRemoteFileAction hasn't been changed is because it was not used by any components in current open RSE code. But this action is needed by IBM product, so I will update it to use SystemRemoteFileDialog (which is a sub class of SystemRemoteResourceDialog. Like SystemSelectRemoteFolderAction, an API setCustomViewerFilter() will also need to be added.
Created attachment 91248 [details] patch for this problem. This is the fix for SystemSelectRemoteFileAction so that it will use SystemRemoteFileDialog. Since there are lots of similar code for SystemSelectRemoteFileAction and SystemSelectRemoteFolderAction, we may need to change so that SystemSelectRemoteFolderAction is derived from SystemSelectRemoteFileAction.
I've committed the changes.
Currently, SystemSelectRemoteFileAction compiles with tons of warnings. We have a guideline that when modifying a file, the file should not be committed without addressing the warnings. Please work on the warnings. Since this is addressed now, we should get rid of SystemSelectRemoteFileOrFolderDialog completely. I filed bug 221138 for this work, to be completed by 3.0M6 (API Freeze). This change is an API addition because of adding public void setCustomViewerFilter(SystemActionViewerFilter)
Reopen to address warning in this class.
I committed the fixes to this bug with bug 220995. So mark it as dup of 220995. *** This bug has been marked as a duplicate of bug 220995 ***
Close it.