On Tue, Sep 16, 2008 at 9:26 PM, Ketan Padegaonkar <
[EMAIL PROTECTED]> wrote:

> Based on your other email, you're unable to select the project in the
> explorer view. The Project>Properties is enabled only of the project
> is selected in the package explorer view.


No. I am able to select the Project. (I was only looking for a cleaner way
to do it other than iterating through all the trees and treeitems).

I still didn't get this to work, but using the project contextMenu worked
fine for me.


>
>
> You should be able to use the main menus if you're able to select the
> project in the package explorer view, see the link in my other email.


>
> -- Ketan
>
> On 16-Sep-08, at 12:45 PM, Vitor Rodrigues wrote:
>
> > Hi all,
> >
> > is there anything "special" about the Project menu in eclipse? I
> > want to open the menu Project->Properties for the selected project,
> > but I get a null value when I do:
> >         projecthelper.selectProject(PROJECT_NAME);
> >         SWTBotMenu propmenu = bot.menu("Project").menu("Properties");
> >
> > propmenu is assigned a null value. However, when I get the menu Edit-
> > >Delete, it works fine:
> >         projecthelper.selectProject(PROJECT_NAME);
> >         SWTBotMenu delmenu = bot.menu("Edit").menu("Delete");
> >
> > delmenu references the appropriate menu. I haven't been able to get
> > any submenu from the Project menu (tried Close Project, Open
> > Project, Properties). Is there any special consideration about the
> > Project menu that I'm not aware of? All the other menus work fine.
> >
> > Let me know if you want any debug or logging information.
> >
> > Regards,
> > Vitor
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> SWTBot-users mailing list
> SWTBot-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/swtbot-users
> http://swtbot.org/ - a functional testing tool for SWT/Eclipse
>
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
SWTBot-users mailing list
SWTBot-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swtbot-users
http://swtbot.org/ - a functional testing tool for SWT/Eclipse

Reply via email to