Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » "Browse For Folder" Dialog does not work as expected
"Browse For Folder" Dialog does not work as expected [message #498312] Mon, 16 November 2009 12:49 Go to next message
Martin Tauber is currently offline Martin TauberFriend
Messages: 120
Registered: July 2009
Senior Member
Hello everybody,

I'm using the "Browse For Folder" Dialog to browse RSE Filesystems. But
I'm running into some problems:

1.) When I create a new Connection using the dialog, It will only be
shown in the Connection field, when I close the dialog and open it again.

2.) To me it seams, that the "Password" Dialog is not shown properly.
When I try to browse the RSE Filesystem the first time (This is the time
when I would expect to see the Password dialog) The browser hangs. After
pressing "Cancel" I get to see the password dialog, but this is to late.

Any Ideas, what I am doing wrong?

Thanks
Martin
Re: "Browse For Folder" Dialog does not work as expected [message #498854 is a reply to message #498312] Wed, 18 November 2009 19:05 Go to previous messageGo to next message
Martin Tauber is currently offline Martin TauberFriend
Messages: 120
Registered: July 2009
Senior Member
Hi Again,

I moved a little bit forward with my problem. It seams to be that I call
the browse dialg to early. I am using a wizard which I call from
postWindowOpen method of the applicatin workbench adviser.

does that help?

Regards
Martin

Martin Tauber wrote:
> Hello everybody,
>
> I'm using the "Browse For Folder" Dialog to browse RSE Filesystems. But
> I'm running into some problems:
>
> 1.) When I create a new Connection using the dialog, It will only be
> shown in the Connection field, when I close the dialog and open it again.
>
> 2.) To me it seams, that the "Password" Dialog is not shown properly.
> When I try to browse the RSE Filesystem the first time (This is the time
> when I would expect to see the Password dialog) The browser hangs. After
> pressing "Cancel" I get to see the password dialog, but this is to late.
>
> Any Ideas, what I am doing wrong?
>
> Thanks
> Martin
Re: "Browse For Folder" Dialog does not work as expected [message #500005 is a reply to message #498854] Tue, 24 November 2009 16:54 Go to previous messageGo to next message
David McKnight is currently offline David McKnightFriend
Messages: 244
Registered: July 2009
Senior Member
Hi Martin,

In your moving forward with this problem, what issues remain?

Dave

"Martin Tauber" <martin.tauber@t-online.de> wrote in message
news:he1ghp$eqe$1@build.eclipse.org...
> Hi Again,
>
> I moved a little bit forward with my problem. It seams to be that I call
> the browse dialg to early. I am using a wizard which I call from
> postWindowOpen method of the applicatin workbench adviser.
>
> does that help?
>
> Regards
> Martin
>
> Martin Tauber wrote:
>> Hello everybody,
>>
>> I'm using the "Browse For Folder" Dialog to browse RSE Filesystems. But
>> I'm running into some problems:
>>
>> 1.) When I create a new Connection using the dialog, It will only be
>> shown in the Connection field, when I close the dialog and open it again.
>>
>> 2.) To me it seams, that the "Password" Dialog is not shown properly.
>> When I try to browse the RSE Filesystem the first time (This is the time
>> when I would expect to see the Password dialog) The browser hangs. After
>> pressing "Cancel" I get to see the password dialog, but this is to late.
>>
>> Any Ideas, what I am doing wrong?
>>
>> Thanks
>> Martin
Re: "Browse For Folder" Dialog does not work as expected [message #500549 is a reply to message #500005] Thu, 26 November 2009 16:04 Go to previous messageGo to next message
Martin Tauber is currently offline Martin TauberFriend
Messages: 120
Registered: July 2009
Senior Member
Hi David,

first of all many thanks for your help, I really appreciate it.

The Problem still remains. Maybe It's helpfull if I add a little
background information. I am developing an application where users can
edit files on a remote system. During startup of the RCP application in
the method postWindowOpen() I check if a project was created with a link
to a remote filesystem. If not I trigger a wizard where the user can
create a link to the remote system (using
FileSystemContributor.browseFileSystem()). If I create a connection in
this dialog, I will not be able to see the connection in the then
following standard dialog where I can choose a file :-(

Nevertheless if I skip my wizard during startup and then call it after
startup is complete, everything works fine...

Regards
Martin




When I use the FileSystemContributor.browseFileSystem() method during
postWindowOpen() I can create a connection, but I don't see the
connection until I reopen my dialog. This only works around my problem

David McKnight wrote:
> Hi Martin,
>
> In your moving forward with this problem, what issues remain?
>
> Dave
>
> "Martin Tauber" <martin.tauber@t-online.de> wrote in message
> news:he1ghp$eqe$1@build.eclipse.org...
>> Hi Again,
>>
>> I moved a little bit forward with my problem. It seams to be that I call
>> the browse dialg to early. I am using a wizard which I call from
>> postWindowOpen method of the applicatin workbench adviser.
>>
>> does that help?
>>
>> Regards
>> Martin
>>
>> Martin Tauber wrote:
>>> Hello everybody,
>>>
>>> I'm using the "Browse For Folder" Dialog to browse RSE Filesystems. But
>>> I'm running into some problems:
>>>
>>> 1.) When I create a new Connection using the dialog, It will only be
>>> shown in the Connection field, when I close the dialog and open it again.
>>>
>>> 2.) To me it seams, that the "Password" Dialog is not shown properly.
>>> When I try to browse the RSE Filesystem the first time (This is the time
>>> when I would expect to see the Password dialog) The browser hangs. After
>>> pressing "Cancel" I get to see the password dialog, but this is to late.
>>>
>>> Any Ideas, what I am doing wrong?
>>>
>>> Thanks
>>> Martin
>
>
Re: "Browse For Folder" Dialog does not work as expected [message #501327 is a reply to message #500549] Tue, 01 December 2009 20:31 Go to previous messageGo to next message
David McKnight is currently offline David McKnightFriend
Messages: 244
Registered: July 2009
Senior Member
Hi Martin,

When I create a connection from within the "BrowseFor File" dialog (i.e.
from FileSystemContributor.browseFileSystem()), the connection gets added to
the list of connections in the Connection combo box. Are you saying that,
in your case, the new connection you created is not listed there?

Dave

"Martin Tauber" <martin.tauber@t-online.de> wrote in message
news:hem8vp$akl$1@build.eclipse.org...
> Hi David,
>
> first of all many thanks for your help, I really appreciate it.
>
> The Problem still remains. Maybe It's helpfull if I add a little
> background information. I am developing an application where users can
> edit files on a remote system. During startup of the RCP application in
> the method postWindowOpen() I check if a project was created with a link
> to a remote filesystem. If not I trigger a wizard where the user can
> create a link to the remote system (using
> FileSystemContributor.browseFileSystem()). If I create a connection in
> this dialog, I will not be able to see the connection in the then
> following standard dialog where I can choose a file :-(
>
> Nevertheless if I skip my wizard during startup and then call it after
> startup is complete, everything works fine...
>
> Regards
> Martin
>
>
>
>
> When I use the FileSystemContributor.browseFileSystem() method during
> postWindowOpen() I can create a connection, but I don't see the connection
> until I reopen my dialog. This only works around my problem
>
> David McKnight wrote:
>> Hi Martin,
>>
>> In your moving forward with this problem, what issues remain?
>>
>> Dave
>>
>> "Martin Tauber" <martin.tauber@t-online.de> wrote in message
>> news:he1ghp$eqe$1@build.eclipse.org...
>>> Hi Again,
>>>
>>> I moved a little bit forward with my problem. It seams to be that I call
>>> the browse dialg to early. I am using a wizard which I call from
>>> postWindowOpen method of the applicatin workbench adviser.
>>>
>>> does that help?
>>>
>>> Regards
>>> Martin
>>>
>>> Martin Tauber wrote:
>>>> Hello everybody,
>>>>
>>>> I'm using the "Browse For Folder" Dialog to browse RSE Filesystems. But
>>>> I'm running into some problems:
>>>>
>>>> 1.) When I create a new Connection using the dialog, It will only be
>>>> shown in the Connection field, when I close the dialog and open it
>>>> again.
>>>>
>>>> 2.) To me it seams, that the "Password" Dialog is not shown properly.
>>>> When I try to browse the RSE Filesystem the first time (This is the
>>>> time when I would expect to see the Password dialog) The browser hangs.
>>>> After pressing "Cancel" I get to see the password dialog, but this is
>>>> to late.
>>>>
>>>> Any Ideas, what I am doing wrong?
>>>>
>>>> Thanks
>>>> Martin
>>
Re: "Browse For Folder" Dialog does not work as expected [message #501964 is a reply to message #501327] Fri, 04 December 2009 15:25 Go to previous messageGo to next message
Martin Tauber is currently offline Martin TauberFriend
Messages: 120
Registered: July 2009
Senior Member
Hi David,

yes, but only if I call the "Browse For File" dialog during startup from
the postWindowOpen() method ...

Keep in mind that I'm developing my own RCP.

The other symptom I have for I guess the same problem is, that if I have
created a link to a rse filesystem and restart my program, it just hangs
forever ...

Regards
Martin

David McKnight wrote:
> Hi Martin,
>
> When I create a connection from within the "BrowseFor File" dialog (i.e.
> from FileSystemContributor.browseFileSystem()), the connection gets added to
> the list of connections in the Connection combo box. Are you saying that,
> in your case, the new connection you created is not listed there?
>
> Dave
>
> "Martin Tauber" <martin.tauber@t-online.de> wrote in message
> news:hem8vp$akl$1@build.eclipse.org...
>> Hi David,
>>
>> first of all many thanks for your help, I really appreciate it.
>>
>> The Problem still remains. Maybe It's helpfull if I add a little
>> background information. I am developing an application where users can
>> edit files on a remote system. During startup of the RCP application in
>> the method postWindowOpen() I check if a project was created with a link
>> to a remote filesystem. If not I trigger a wizard where the user can
>> create a link to the remote system (using
>> FileSystemContributor.browseFileSystem()). If I create a connection in
>> this dialog, I will not be able to see the connection in the then
>> following standard dialog where I can choose a file :-(
>>
>> Nevertheless if I skip my wizard during startup and then call it after
>> startup is complete, everything works fine...
>>
>> Regards
>> Martin
>>
>>
>>
>>
>> When I use the FileSystemContributor.browseFileSystem() method during
>> postWindowOpen() I can create a connection, but I don't see the connection
>> until I reopen my dialog. This only works around my problem
>>
>> David McKnight wrote:
>>> Hi Martin,
>>>
>>> In your moving forward with this problem, what issues remain?
>>>
>>> Dave
>>>
>>> "Martin Tauber" <martin.tauber@t-online.de> wrote in message
>>> news:he1ghp$eqe$1@build.eclipse.org...
>>>> Hi Again,
>>>>
>>>> I moved a little bit forward with my problem. It seams to be that I call
>>>> the browse dialg to early. I am using a wizard which I call from
>>>> postWindowOpen method of the applicatin workbench adviser.
>>>>
>>>> does that help?
>>>>
>>>> Regards
>>>> Martin
>>>>
>>>> Martin Tauber wrote:
>>>>> Hello everybody,
>>>>>
>>>>> I'm using the "Browse For Folder" Dialog to browse RSE Filesystems. But
>>>>> I'm running into some problems:
>>>>>
>>>>> 1.) When I create a new Connection using the dialog, It will only be
>>>>> shown in the Connection field, when I close the dialog and open it
>>>>> again.
>>>>>
>>>>> 2.) To me it seams, that the "Password" Dialog is not shown properly.
>>>>> When I try to browse the RSE Filesystem the first time (This is the
>>>>> time when I would expect to see the Password dialog) The browser hangs.
>>>>> After pressing "Cancel" I get to see the password dialog, but this is
>>>>> to late.
>>>>>
>>>>> Any Ideas, what I am doing wrong?
>>>>>
>>>>> Thanks
>>>>> Martin
>
Re: "Browse For Folder" Dialog does not work as expected [message #502011 is a reply to message #501964] Fri, 04 December 2009 18:04 Go to previous message
David McKnight is currently offline David McKnightFriend
Messages: 244
Registered: July 2009
Senior Member
If the problem is something that occurs during startup, then there are a
number of startup issues to consider. Before the RSE can be used, you need
to be sure that the RSE profile has been initialized properly. If this is
what's happening, one way to ensure that RSE is loaded is to call
RSECorePlugin.waitForInitCompletion() before using the RSE registry.

There are also some known issues with using RSE's EFS provider before
Eclipse has fully initialized (a chicken-and-egg problem). In order to
avoid that, you need to delay accessing RSE EFS resources until Eclipse is
fully loaded.

Hopefully this will help,
Dave

"Martin Tauber" <martin.tauber@t-online.de> wrote in message
news:hfb9mq$8f0$1@build.eclipse.org...
> Hi David,
>
> yes, but only if I call the "Browse For File" dialog during startup from
> the postWindowOpen() method ...
>
> Keep in mind that I'm developing my own RCP.
>
> The other symptom I have for I guess the same problem is, that if I have
> created a link to a rse filesystem and restart my program, it just hangs
> forever ...
>
> Regards
> Martin
>
> David McKnight wrote:
>> Hi Martin,
>>
>> When I create a connection from within the "BrowseFor File" dialog (i.e.
>> from FileSystemContributor.browseFileSystem()), the connection gets added
>> to the list of connections in the Connection combo box. Are you saying
>> that, in your case, the new connection you created is not listed there?
>>
>> Dave
>>
>> "Martin Tauber" <martin.tauber@t-online.de> wrote in message
>> news:hem8vp$akl$1@build.eclipse.org...
>>> Hi David,
>>>
>>> first of all many thanks for your help, I really appreciate it.
>>>
>>> The Problem still remains. Maybe It's helpfull if I add a little
>>> background information. I am developing an application where users can
>>> edit files on a remote system. During startup of the RCP application in
>>> the method postWindowOpen() I check if a project was created with a link
>>> to a remote filesystem. If not I trigger a wizard where the user can
>>> create a link to the remote system (using
>>> FileSystemContributor.browseFileSystem()). If I create a connection in
>>> this dialog, I will not be able to see the connection in the then
>>> following standard dialog where I can choose a file :-(
>>>
>>> Nevertheless if I skip my wizard during startup and then call it after
>>> startup is complete, everything works fine...
>>>
>>> Regards
>>> Martin
>>>
>>>
>>>
>>>
>>> When I use the FileSystemContributor.browseFileSystem() method during
>>> postWindowOpen() I can create a connection, but I don't see the
>>> connection until I reopen my dialog. This only works around my problem
>>>
>>> David McKnight wrote:
>>>> Hi Martin,
>>>>
>>>> In your moving forward with this problem, what issues remain?
>>>>
>>>> Dave
>>>>
>>>> "Martin Tauber" <martin.tauber@t-online.de> wrote in message
>>>> news:he1ghp$eqe$1@build.eclipse.org...
>>>>> Hi Again,
>>>>>
>>>>> I moved a little bit forward with my problem. It seams to be that I
>>>>> call the browse dialg to early. I am using a wizard which I call from
>>>>> postWindowOpen method of the applicatin workbench adviser.
>>>>>
>>>>> does that help?
>>>>>
>>>>> Regards
>>>>> Martin
>>>>>
>>>>> Martin Tauber wrote:
>>>>>> Hello everybody,
>>>>>>
>>>>>> I'm using the "Browse For Folder" Dialog to browse RSE Filesystems.
>>>>>> But I'm running into some problems:
>>>>>>
>>>>>> 1.) When I create a new Connection using the dialog, It will only be
>>>>>> shown in the Connection field, when I close the dialog and open it
>>>>>> again.
>>>>>>
>>>>>> 2.) To me it seams, that the "Password" Dialog is not shown properly.
>>>>>> When I try to browse the RSE Filesystem the first time (This is the
>>>>>> time when I would expect to see the Password dialog) The browser
>>>>>> hangs. After pressing "Cancel" I get to see the password dialog, but
>>>>>> this is to late.
>>>>>>
>>>>>> Any Ideas, what I am doing wrong?
>>>>>>
>>>>>> Thanks
>>>>>> Martin
>>
Re: "Browse For Folder" Dialog does not work as expected [message #582844 is a reply to message #498312] Wed, 18 November 2009 19:05 Go to previous message
Martin Tauber is currently offline Martin TauberFriend
Messages: 120
Registered: July 2009
Senior Member
Hi Again,

I moved a little bit forward with my problem. It seams to be that I call
the browse dialg to early. I am using a wizard which I call from
postWindowOpen method of the applicatin workbench adviser.

does that help?

Regards
Martin

Martin Tauber wrote:
> Hello everybody,
>
> I'm using the "Browse For Folder" Dialog to browse RSE Filesystems. But
> I'm running into some problems:
>
> 1.) When I create a new Connection using the dialog, It will only be
> shown in the Connection field, when I close the dialog and open it again.
>
> 2.) To me it seams, that the "Password" Dialog is not shown properly.
> When I try to browse the RSE Filesystem the first time (This is the time
> when I would expect to see the Password dialog) The browser hangs. After
> pressing "Cancel" I get to see the password dialog, but this is to late.
>
> Any Ideas, what I am doing wrong?
>
> Thanks
> Martin
Re: "Browse For Folder" Dialog does not work as expected [message #582867 is a reply to message #498854] Tue, 24 November 2009 16:54 Go to previous message
David McKnight is currently offline David McKnightFriend
Messages: 244
Registered: July 2009
Senior Member
Hi Martin,

In your moving forward with this problem, what issues remain?

Dave

"Martin Tauber" <martin.tauber@t-online.de> wrote in message
news:he1ghp$eqe$1@build.eclipse.org...
> Hi Again,
>
> I moved a little bit forward with my problem. It seams to be that I call
> the browse dialg to early. I am using a wizard which I call from
> postWindowOpen method of the applicatin workbench adviser.
>
> does that help?
>
> Regards
> Martin
>
> Martin Tauber wrote:
>> Hello everybody,
>>
>> I'm using the "Browse For Folder" Dialog to browse RSE Filesystems. But
>> I'm running into some problems:
>>
>> 1.) When I create a new Connection using the dialog, It will only be
>> shown in the Connection field, when I close the dialog and open it again.
>>
>> 2.) To me it seams, that the "Password" Dialog is not shown properly.
>> When I try to browse the RSE Filesystem the first time (This is the time
>> when I would expect to see the Password dialog) The browser hangs. After
>> pressing "Cancel" I get to see the password dialog, but this is to late.
>>
>> Any Ideas, what I am doing wrong?
>>
>> Thanks
>> Martin
Re: "Browse For Folder" Dialog does not work as expected [message #582877 is a reply to message #500005] Thu, 26 November 2009 16:04 Go to previous message
Martin Tauber is currently offline Martin TauberFriend
Messages: 120
Registered: July 2009
Senior Member
Hi David,

first of all many thanks for your help, I really appreciate it.

The Problem still remains. Maybe It's helpfull if I add a little
background information. I am developing an application where users can
edit files on a remote system. During startup of the RCP application in
the method postWindowOpen() I check if a project was created with a link
to a remote filesystem. If not I trigger a wizard where the user can
create a link to the remote system (using
FileSystemContributor.browseFileSystem()). If I create a connection in
this dialog, I will not be able to see the connection in the then
following standard dialog where I can choose a file :-(

Nevertheless if I skip my wizard during startup and then call it after
startup is complete, everything works fine...

Regards
Martin




When I use the FileSystemContributor.browseFileSystem() method during
postWindowOpen() I can create a connection, but I don't see the
connection until I reopen my dialog. This only works around my problem

David McKnight wrote:
> Hi Martin,
>
> In your moving forward with this problem, what issues remain?
>
> Dave
>
> "Martin Tauber" <martin.tauber@t-online.de> wrote in message
> news:he1ghp$eqe$1@build.eclipse.org...
>> Hi Again,
>>
>> I moved a little bit forward with my problem. It seams to be that I call
>> the browse dialg to early. I am using a wizard which I call from
>> postWindowOpen method of the applicatin workbench adviser.
>>
>> does that help?
>>
>> Regards
>> Martin
>>
>> Martin Tauber wrote:
>>> Hello everybody,
>>>
>>> I'm using the "Browse For Folder" Dialog to browse RSE Filesystems. But
>>> I'm running into some problems:
>>>
>>> 1.) When I create a new Connection using the dialog, It will only be
>>> shown in the Connection field, when I close the dialog and open it again.
>>>
>>> 2.) To me it seams, that the "Password" Dialog is not shown properly.
>>> When I try to browse the RSE Filesystem the first time (This is the time
>>> when I would expect to see the Password dialog) The browser hangs. After
>>> pressing "Cancel" I get to see the password dialog, but this is to late.
>>>
>>> Any Ideas, what I am doing wrong?
>>>
>>> Thanks
>>> Martin
>
>
Re: "Browse For Folder" Dialog does not work as expected [message #582893 is a reply to message #500549] Tue, 01 December 2009 20:31 Go to previous message
David McKnight is currently offline David McKnightFriend
Messages: 244
Registered: July 2009
Senior Member
Hi Martin,

When I create a connection from within the "BrowseFor File" dialog (i.e.
from FileSystemContributor.browseFileSystem()), the connection gets added to
the list of connections in the Connection combo box. Are you saying that,
in your case, the new connection you created is not listed there?

Dave

"Martin Tauber" <martin.tauber@t-online.de> wrote in message
news:hem8vp$akl$1@build.eclipse.org...
> Hi David,
>
> first of all many thanks for your help, I really appreciate it.
>
> The Problem still remains. Maybe It's helpfull if I add a little
> background information. I am developing an application where users can
> edit files on a remote system. During startup of the RCP application in
> the method postWindowOpen() I check if a project was created with a link
> to a remote filesystem. If not I trigger a wizard where the user can
> create a link to the remote system (using
> FileSystemContributor.browseFileSystem()). If I create a connection in
> this dialog, I will not be able to see the connection in the then
> following standard dialog where I can choose a file :-(
>
> Nevertheless if I skip my wizard during startup and then call it after
> startup is complete, everything works fine...
>
> Regards
> Martin
>
>
>
>
> When I use the FileSystemContributor.browseFileSystem() method during
> postWindowOpen() I can create a connection, but I don't see the connection
> until I reopen my dialog. This only works around my problem
>
> David McKnight wrote:
>> Hi Martin,
>>
>> In your moving forward with this problem, what issues remain?
>>
>> Dave
>>
>> "Martin Tauber" <martin.tauber@t-online.de> wrote in message
>> news:he1ghp$eqe$1@build.eclipse.org...
>>> Hi Again,
>>>
>>> I moved a little bit forward with my problem. It seams to be that I call
>>> the browse dialg to early. I am using a wizard which I call from
>>> postWindowOpen method of the applicatin workbench adviser.
>>>
>>> does that help?
>>>
>>> Regards
>>> Martin
>>>
>>> Martin Tauber wrote:
>>>> Hello everybody,
>>>>
>>>> I'm using the "Browse For Folder" Dialog to browse RSE Filesystems. But
>>>> I'm running into some problems:
>>>>
>>>> 1.) When I create a new Connection using the dialog, It will only be
>>>> shown in the Connection field, when I close the dialog and open it
>>>> again.
>>>>
>>>> 2.) To me it seams, that the "Password" Dialog is not shown properly.
>>>> When I try to browse the RSE Filesystem the first time (This is the
>>>> time when I would expect to see the Password dialog) The browser hangs.
>>>> After pressing "Cancel" I get to see the password dialog, but this is
>>>> to late.
>>>>
>>>> Any Ideas, what I am doing wrong?
>>>>
>>>> Thanks
>>>> Martin
>>
Re: "Browse For Folder" Dialog does not work as expected [message #582912 is a reply to message #501327] Fri, 04 December 2009 15:25 Go to previous message
Martin Tauber is currently offline Martin TauberFriend
Messages: 120
Registered: July 2009
Senior Member
Hi David,

yes, but only if I call the "Browse For File" dialog during startup from
the postWindowOpen() method ...

Keep in mind that I'm developing my own RCP.

The other symptom I have for I guess the same problem is, that if I have
created a link to a rse filesystem and restart my program, it just hangs
forever ...

Regards
Martin

David McKnight wrote:
> Hi Martin,
>
> When I create a connection from within the "BrowseFor File" dialog (i.e.
> from FileSystemContributor.browseFileSystem()), the connection gets added to
> the list of connections in the Connection combo box. Are you saying that,
> in your case, the new connection you created is not listed there?
>
> Dave
>
> "Martin Tauber" <martin.tauber@t-online.de> wrote in message
> news:hem8vp$akl$1@build.eclipse.org...
>> Hi David,
>>
>> first of all many thanks for your help, I really appreciate it.
>>
>> The Problem still remains. Maybe It's helpfull if I add a little
>> background information. I am developing an application where users can
>> edit files on a remote system. During startup of the RCP application in
>> the method postWindowOpen() I check if a project was created with a link
>> to a remote filesystem. If not I trigger a wizard where the user can
>> create a link to the remote system (using
>> FileSystemContributor.browseFileSystem()). If I create a connection in
>> this dialog, I will not be able to see the connection in the then
>> following standard dialog where I can choose a file :-(
>>
>> Nevertheless if I skip my wizard during startup and then call it after
>> startup is complete, everything works fine...
>>
>> Regards
>> Martin
>>
>>
>>
>>
>> When I use the FileSystemContributor.browseFileSystem() method during
>> postWindowOpen() I can create a connection, but I don't see the connection
>> until I reopen my dialog. This only works around my problem
>>
>> David McKnight wrote:
>>> Hi Martin,
>>>
>>> In your moving forward with this problem, what issues remain?
>>>
>>> Dave
>>>
>>> "Martin Tauber" <martin.tauber@t-online.de> wrote in message
>>> news:he1ghp$eqe$1@build.eclipse.org...
>>>> Hi Again,
>>>>
>>>> I moved a little bit forward with my problem. It seams to be that I call
>>>> the browse dialg to early. I am using a wizard which I call from
>>>> postWindowOpen method of the applicatin workbench adviser.
>>>>
>>>> does that help?
>>>>
>>>> Regards
>>>> Martin
>>>>
>>>> Martin Tauber wrote:
>>>>> Hello everybody,
>>>>>
>>>>> I'm using the "Browse For Folder" Dialog to browse RSE Filesystems. But
>>>>> I'm running into some problems:
>>>>>
>>>>> 1.) When I create a new Connection using the dialog, It will only be
>>>>> shown in the Connection field, when I close the dialog and open it
>>>>> again.
>>>>>
>>>>> 2.) To me it seams, that the "Password" Dialog is not shown properly.
>>>>> When I try to browse the RSE Filesystem the first time (This is the
>>>>> time when I would expect to see the Password dialog) The browser hangs.
>>>>> After pressing "Cancel" I get to see the password dialog, but this is
>>>>> to late.
>>>>>
>>>>> Any Ideas, what I am doing wrong?
>>>>>
>>>>> Thanks
>>>>> Martin
>
Re: "Browse For Folder" Dialog does not work as expected [message #582924 is a reply to message #501964] Fri, 04 December 2009 18:04 Go to previous message
David McKnight is currently offline David McKnightFriend
Messages: 244
Registered: July 2009
Senior Member
If the problem is something that occurs during startup, then there are a
number of startup issues to consider. Before the RSE can be used, you need
to be sure that the RSE profile has been initialized properly. If this is
what's happening, one way to ensure that RSE is loaded is to call
RSECorePlugin.waitForInitCompletion() before using the RSE registry.

There are also some known issues with using RSE's EFS provider before
Eclipse has fully initialized (a chicken-and-egg problem). In order to
avoid that, you need to delay accessing RSE EFS resources until Eclipse is
fully loaded.

Hopefully this will help,
Dave

"Martin Tauber" <martin.tauber@t-online.de> wrote in message
news:hfb9mq$8f0$1@build.eclipse.org...
> Hi David,
>
> yes, but only if I call the "Browse For File" dialog during startup from
> the postWindowOpen() method ...
>
> Keep in mind that I'm developing my own RCP.
>
> The other symptom I have for I guess the same problem is, that if I have
> created a link to a rse filesystem and restart my program, it just hangs
> forever ...
>
> Regards
> Martin
>
> David McKnight wrote:
>> Hi Martin,
>>
>> When I create a connection from within the "BrowseFor File" dialog (i.e.
>> from FileSystemContributor.browseFileSystem()), the connection gets added
>> to the list of connections in the Connection combo box. Are you saying
>> that, in your case, the new connection you created is not listed there?
>>
>> Dave
>>
>> "Martin Tauber" <martin.tauber@t-online.de> wrote in message
>> news:hem8vp$akl$1@build.eclipse.org...
>>> Hi David,
>>>
>>> first of all many thanks for your help, I really appreciate it.
>>>
>>> The Problem still remains. Maybe It's helpfull if I add a little
>>> background information. I am developing an application where users can
>>> edit files on a remote system. During startup of the RCP application in
>>> the method postWindowOpen() I check if a project was created with a link
>>> to a remote filesystem. If not I trigger a wizard where the user can
>>> create a link to the remote system (using
>>> FileSystemContributor.browseFileSystem()). If I create a connection in
>>> this dialog, I will not be able to see the connection in the then
>>> following standard dialog where I can choose a file :-(
>>>
>>> Nevertheless if I skip my wizard during startup and then call it after
>>> startup is complete, everything works fine...
>>>
>>> Regards
>>> Martin
>>>
>>>
>>>
>>>
>>> When I use the FileSystemContributor.browseFileSystem() method during
>>> postWindowOpen() I can create a connection, but I don't see the
>>> connection until I reopen my dialog. This only works around my problem
>>>
>>> David McKnight wrote:
>>>> Hi Martin,
>>>>
>>>> In your moving forward with this problem, what issues remain?
>>>>
>>>> Dave
>>>>
>>>> "Martin Tauber" <martin.tauber@t-online.de> wrote in message
>>>> news:he1ghp$eqe$1@build.eclipse.org...
>>>>> Hi Again,
>>>>>
>>>>> I moved a little bit forward with my problem. It seams to be that I
>>>>> call the browse dialg to early. I am using a wizard which I call from
>>>>> postWindowOpen method of the applicatin workbench adviser.
>>>>>
>>>>> does that help?
>>>>>
>>>>> Regards
>>>>> Martin
>>>>>
>>>>> Martin Tauber wrote:
>>>>>> Hello everybody,
>>>>>>
>>>>>> I'm using the "Browse For Folder" Dialog to browse RSE Filesystems.
>>>>>> But I'm running into some problems:
>>>>>>
>>>>>> 1.) When I create a new Connection using the dialog, It will only be
>>>>>> shown in the Connection field, when I close the dialog and open it
>>>>>> again.
>>>>>>
>>>>>> 2.) To me it seams, that the "Password" Dialog is not shown properly.
>>>>>> When I try to browse the RSE Filesystem the first time (This is the
>>>>>> time when I would expect to see the Password dialog) The browser
>>>>>> hangs. After pressing "Cancel" I get to see the password dialog, but
>>>>>> this is to late.
>>>>>>
>>>>>> Any Ideas, what I am doing wrong?
>>>>>>
>>>>>> Thanks
>>>>>> Martin
>>
Previous Topic:Getting remote connection
Next Topic:Permissions Lost [SOLVED]
Goto Forum:
  


Current Time: Mon Dec 22 03:32:29 GMT 2014

Powered by FUDForum. Page generated in 0.03059 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software