private void init() {
this.setLayout(new BorderLayout());
JToolBar toolBar = new JToolBar();
Application app = Application.getInstance();
toolBar.add(app.getAction(CreateObjEntityAction.getActionName()).buildButton());
toolBar.add(app.getAction(CreateAttributeAction.getActionName()).buildButton());
toolBar.add(app.getAction(DbEntitySyncAction.getActionName()).buildButton());
toolBar.addSeparator();
editParams = new JButton();
editParams.setIcon(ModelerUtil.buildIcon("icon-info.gif"));
editParams.setToolTipText("Edit Parameters");
toolBar.add(editParams);
toolBar.addSeparator();
toolBar.add(app.getAction(RemoveAttributeAction.getActionName()).buildButton());
add(toolBar, BorderLayout.NORTH);
// Create table with two columns and no rows.
table = new CayenneTable();