super(viewContext);
}
protected Component initComponent() {
// Setup welcome panel...
JPanel panel = new JPanel(new TableLayout(new double[][]{{-1, 100, 5, 160, 3, 100, 5, 160, -1},
{-1, 70, 10, 70, 10, 70, -1}}));
panel.setBackground(Colors.blu);
panel.add(renderButton("Manager", ToolWindowManager.class),
"1,1,FULL,FULL");
panel.add(renderLabel("<html>Edit ToolWindowManager </br> properties </html>"),
"3,1,FULL,FULL");
panel.add(renderButton("Tools", ToolWindow.class),
"1,3,FULL,FULL");
panel.add(renderLabel("<html>Edit ToolWindows </br> properties</html>"),
"3,3,FULL,FULL");
panel.add(renderButton("Contents", Content.class),
"1,5,FULL,FULL");
panel.add(renderLabel("<html>Edit Contents </br> properties</html>"),
"3,5,FULL,FULL");
panel.add(renderButton("Groups", ToolWindowGroup.class),
"5,1,FULL,FULL");
panel.add(renderLabel("<html>Edit Groups </br> properties</html>"),
"7,1,FULL,FULL");
panel.add(renderButton("ITests", InteractiveTest.class),
"5,3,FULL,FULL");
panel.add(renderLabel("<html>Run Interactive </br> Tests</html>"),
"7,3,FULL,FULL");
// Setup main panel
JPanel main = new JPanel(new TableLayout(new double[][]{{3, -1, 3},{3, 93,5,-1,3}}));
main.add(new JLabel(new ImageIcon(
this.getClass().getClassLoader().getResource("org/noos/xing/mydoggy/mydoggyset/images/banner.jpg")
)), "1,1,FULL,FULL");
main.add(panel, "1,3,FULL,FULL");
return main;