connector.connect(restrict, "restriction.conditionType");
connector.connect(restrict, "restriction.conditionsDescriptor.type");
  protected void initComponents()  {    String colLayout = "2dlu, max(32dlu;pref), 2dlu, pref:grow, 4dlu";    String rowLayout = "4dlu, pref, 2dlu, pref, 2dlu, pref, 2dlu, pref, 2dlu, pref";    JTabbedPane tabbedPane = new JTabbedPane();    FormLayout layout = new FormLayout("2dlu, pref:grow, 2dlu", "2dlu, pref, 2dlu");    PanelBuilder builder = new PanelBuilder(this, layout);    CellConstraints cc = new CellConstraints();    ////////////////////////////////////    // Tab1 (info)    ////////////////////////////////////    FormLayout layoutInfo = new FormLayout(colLayout, rowLayout);    JPanel panelInfo = new JPanel();    PanelBuilder builderInfo = new PanelBuilder(panelInfo, layoutInfo);    //builder.addSeparator(ResourceManager.getString("info"), cc.xywh(2, 1, 3, 1));    builderInfo.addLabel(ResourceManager.getString("id"), cc.xy(2, 2));    connector.connect(id, "id");    builderInfo.add(id, cc.xy(4, 2));    builderInfo.addLabel(ResourceManager.getString("name"), cc.xy(2, 4));    connector.connect(name, "name");    builderInfo.add(name, cc.xy(4, 4));    builderInfo.addLabel(ResourceManager.getString("view"), cc.xy(2, 6));    connector.connect(view, "view");    builderInfo.add(view, cc.xy(4, 6));    builderInfo.addLabel(ResourceManager.getString("auto"), cc.xy(2, 8));    connector.connect(auto, "autoExecute");    builderInfo.add(auto, cc.xy(4, 8));    builderInfo.addLabel(ResourceManager.getString("finish"), cc.xy(2, 10));    connector.connect(finish, "finish");    builderInfo.add(finish, cc.xy(4, 10));    tabbedPane.add(ResourceManager.getString("info"), panelInfo);    ///////////////////////////    // Tab2 (meta attributes)    ///////////////////////////    FormLayout layoutAttrib = new FormLayout(colLayout, rowLayout);    JPanel panelAttrib = new JPanel();    PanelBuilder builderAttrib = new PanelBuilder(panelAttrib, layoutAttrib);    attributesTable = new JTable(attributesModel);    attributesTable.getSelectionModel().setSelectionMode(ListSelectionModel.SINGLE_SELECTION);    builderAttrib.add(UIFactory.createTablePanel(attributesTable), cc.xywh(2, 2, 3, 1));		// 2, 15, 3, 1    builderAttrib.add(UIFactory.getAddRemovePropertiesBar(this, "attribute", BUTTONS), cc.xywh(2, 4, 3, 1));	// 2, 16, 3, 1    tabbedPane.add(ResourceManager.getString("attributes"), panelAttrib);    /////////////////////////////    // Tab3 (permissions)    /////////////////////////////    FormLayout layoutPerm = new FormLayout(colLayout, rowLayout);    JPanel panelPerm = new JPanel();    PanelBuilder builderPerm = new PanelBuilder(panelPerm, layoutPerm);    //builderInfo.addSeparator(ResourceManager.getString("permissions"), cc.xywh(2, 8, 3, 1));    builderPerm.addLabel(ResourceManager.getString("type"), cc.xy(2, 2));    connector.connect(restrict, "restriction.conditionType");    builderPerm.add(restrict, cc.xy(4, 2));    conditionsTable = new JTable(conditionsModel);    conditionsTable.getSelectionModel().setSelectionMode(ListSelectionModel.SINGLE_SELECTION);    conditionsModel.setType(ConditionsTableModel.PERMISSION);    conditionsModel.setGraphModel(getModel());    builderPerm.add(UIFactory.createTablePanel(conditionsTable), cc.xywh(2, 4, 3, 1));    builderPerm.add(UIFactory.getAddRemovePropertiesBar(this, "permission", BUTTONS), cc.xywh(2, 6, 3, 1));    tabbedPane.add(ResourceManager.getString("permissions"), panelPerm);    /////////////////////////////    // Tab4 (validators)    /////////////////////////////    FormLayout layoutValid = new FormLayout(colLayout, rowLayout);    JPanel panelValid = new JPanel();    PanelBuilder builderValid = new PanelBuilder(panelValid, layoutValid);    validatorsTable = new JTable(validatorsModel);    validatorsTable.getSelectionModel().setSelectionMode(ListSelectionModel.SINGLE_SELECTION);    //validatorsModel.setGraphModel(getModel());    builderValid.add(UIFactory.createTablePanel(validatorsTable), cc.xywh(2, 2, 3, 1));    builderValid.add(UIFactory.getAddRemovePropertiesBar(this, "validator", BUTTONS), cc.xywh(2, 4, 3, 1));    tabbedPane.add(ResourceManager.getString("validators"), panelValid);    /////////////////////////////    // Tab5 (pre-functions)    /////////////////////////////    FormLayout layoutPrefunc = new FormLayout(colLayout, rowLayout);    JPanel panelPrefunc = new JPanel();    PanelBuilder builderPrefunc = new PanelBuilder(panelPrefunc, layoutPrefunc);    pre = new JTable(preModel);    pre.getSelectionModel().setSelectionMode(ListSelectionModel.SINGLE_SELECTION);    preModel.setGraphModel(getModel());    builderPrefunc.add(UIFactory.createTablePanel(pre), cc.xywh(2, 2, 3, 1));    builderPrefunc.add(UIFactory.getAddRemovePropertiesBar(this, "pre", BUTTONS), cc.xywh(2, 4, 3, 1));    tabbedPane.add(ResourceManager.getString("prefunctions"), panelPrefunc);    /////////////////////////////    // Tab6 (post-functions)    /////////////////////////////    FormLayout layoutPostfunc = new FormLayout(colLayout, rowLayout);    JPanel panelPostfunc = new JPanel();    PanelBuilder builderPostfunc = new PanelBuilder(panelPostfunc, layoutPostfunc);    post = new JTable(postModel);    post.getSelectionModel().setSelectionMode(ListSelectionModel.SINGLE_SELECTION);    postModel.setGraphModel(getModel());    builderPostfunc.add(UIFactory.createTablePanel(post), cc.xywh(2, 2, 3, 1));    builderPostfunc.add(UIFactory.getAddRemovePropertiesBar(this, "post", BUTTONS), cc.xywh(2, 4, 3, 1));    tabbedPane.add(ResourceManager.getString("postfunctions"), panelPostfunc);    builder.add(tabbedPane, cc.xy(2, 2));  }