24
LINES
< > BotCompany Repo | #270
// CCP (Construction - Configuration - Placement)
Document
1 | "CCP" describes three steps of creating a GUI in Text2GUI (http://text2gui.tinybrain.de).
|
2 |
|
3 | An example describes it best:
|
4 |
|
5 | 1. Construction
|
6 |
|
7 | Text: "a checkbox"
|
8 | Java: JCheckBox checkBox1 = new JCheckBox("Check here");
|
9 |
|
10 | 2. Configuration
|
11 |
|
12 | Text: "check the checkbox"
|
13 | Java: checkBox1.setSelected(true);
|
14 |
|
15 | 3. Placement
|
16 |
|
17 | (assuming there are 3 checkboxes)
|
18 |
|
19 | Text: "top-down placement"
|
20 | Java: return new Sheet(checkBox1, checkBox2, checkBox3).getPanel();
|
21 |
|
22 | When parsing the input text, every part of it is assigned to one of the 3 phases, making it easy to convert it to code. It's pretty much a simple rewriting process.
|
23 |
|
24 | Alternative definition of the abbreviation: Creation, Configuration, Position(ing) |
download show line numbers
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
2 comment(s) hidden. show
Image recognition results
| Snippet ID: |
#270 |
| Snippet name: |
CCP (Construction - Configuration - Placement) |
| Eternal ID of this version: |
#270/1 |
| Text MD5: |
f45bb5129c7c0d3b223bb6f0f563a6ef |
| Author: |
stefan |
| Category: |
text2gui |
| Type: |
Document |
| Public (visible to everyone): |
Yes |
| Archived (hidden from active list): |
No |
| Created/modified: |
2014-04-15 15:23:50 |
| Source code size: |
714 bytes / 24 lines |
| Pitched / IR pitched: |
No / Yes |
| Views / Downloads: |
1672 / 292 |
| Referenced in: |
[show references] |