Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

24
LINES

< > BotCompany Repo | #270 // CCP (Construction - Configuration - Placement)

Document

"CCP" describes three steps of creating a GUI in Text2GUI (http://text2gui.tinybrain.de).

An example describes it best:

1. Construction

Text: "a checkbox"
Java: JCheckBox checkBox1 = new JCheckBox("Check here");

2. Configuration

Text: "check the checkbox"
Java: checkBox1.setSelected(true);

3. Placement

(assuming there are 3 checkboxes) 

Text: "top-down placement"
Java: return new Sheet(checkBox1, checkBox2, checkBox3).getPanel();

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.

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

Recognizer Recognition Result Visualize Recalc
#308 714 [visualize]

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: 1126 / 210
Referenced in: [show references]