Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 411349 - Provide possibility to generate more than one line of code & imports using one generation rule
Summary: Provide possibility to generate more than one line of code & imports using on...
Status: RESOLVED FIXED
Alias: None
Product: SWTBot
Classification: Technology
Component: Recorder/Generator (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 2.2.0   Edit
Assignee: Rastislav Wagner CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-21 05:42 EDT by Rastislav Wagner CLA
Modified: 2014-02-21 14:29 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rastislav Wagner CLA 2013-06-21 05:42:50 EDT
This might come handy if in the future we will want to generate more "chattier" code ie
instead of 
bot.shell("New Project").activate();

we will do

SWTBotShell shell = bot.shell("New Project");
shell.activate();


and also for RedDeer which needs two lines of code to identify widget inside group etc

SWTBot: bot.button("group","buttonText");
RedDeer: new Group("group");
new PushButton("buttonText");
Comment 1 Mickael Istria CLA 2014-02-21 10:37:56 EST
@Rastislav: isn't this issue already fixed?