[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[ptp-dev] Need multiple file selection in IRemoteUIFileManager class
|
I'm working on my plugin which uses IRemoteUIFileManager to display a file
selector dialog to get the pathname of remote files. I found that this
class only allows single file selection while I have a case in my plugin
where I need multiple file selection in order to be compatible with the
existing implementation.
I looked at IRemoteUIFileManager, LocalUIFileManager,
RemoteToolsUIFileManager and RSEUIFileManager, as well as the
RemoteResourceBrowser class used by RemoteToolsUIFileManager. Most of this
looks pretty easy,with RemoteResourceBrowser being a little more
complicated. I think the handling of the tree selection in that class just
needs to be fixed up to look at multiple selections and return an array of
String objects as well as the single String selection.
I can implement a 'public IPath[] browseFiles(Shell, String, String)'
method if you think that's reasonable. I just need to make the time to do
it. I'm not sure how I would set up the appropriate connections to test
each of these classes though.
I also noticed that even though LocalUIFileManager.browseFile allows the
user to select multiple files it only returns a single IPath object. I'd
fix that method to allow only a single selection as well.
Dave