public Control createCell_Position(Composite parent)
{
TabFolder tabbedPane = new TabFolder(parent, DOUBLE_BUFFER);
// Absolute grid position
MigLayout absLM = new MigLayout("",
"[100:pref,fill]",
"[100:pref,fill]");
TabItem absPanel = createTabPanel(tabbedPane, "Absolute", absLM);
createPanel(absPanel, "cell 0 0", null);
createPanel(absPanel, "cell 2 0", null);
createPanel(absPanel, "cell 3 0", null);
createPanel(absPanel, "cell 1 1", null);
createPanel(absPanel, "cell 0 2", null);
createPanel(absPanel, "cell 2 2", null);
createPanel(absPanel, "cell 2 2", null);
// Relative grid position with wrap
MigLayout relAwLM = new MigLayout("wrap",
"[100:pref,fill][100:pref,fill][100:pref,fill][100:pref,fill]",
"[100:pref,fill]");
TabItem relAwPanel = createTabPanel(tabbedPane, "Relative + Wrap", relAwLM);
createPanel(relAwPanel, "", null);
createPanel(relAwPanel, "skip", null);
createPanel(relAwPanel, "", null);
createPanel(relAwPanel, "skip,wrap", null);
createPanel(relAwPanel, "", null);
createPanel(relAwPanel, "skip,split", null);
createPanel(relAwPanel, "", null);
// Relative grid position with manual wrap
MigLayout relWLM = new MigLayout("",
"[100:pref,fill]",
"[100:pref,fill]");
TabItem relWPanel = createTabPanel(tabbedPane, "Relative", relWLM);
createPanel(relWPanel, "", null);
createPanel(relWPanel, "skip", null);
createPanel(relWPanel, "wrap", null);
createPanel(relWPanel, "skip,wrap", null);
createPanel(relWPanel, "", null);
createPanel(relWPanel, "skip,split", null);
createPanel(relWPanel, "", null);
// Mixed relative and absolute grid position
MigLayout mixLM = new MigLayout("",
"[100:pref,fill]",
"[100:pref,fill]");
TabItem mixPanel = createTabPanel(tabbedPane, "Mixed", mixLM);
createPanel(mixPanel, "", null);
createPanel(mixPanel, "cell 2 0", null);