List of usage examples for javafx.scene.control ScrollPane ScrollPane
public ScrollPane()
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamJavaFX.CFBamJavaFXInt32DefListPane.java
public CFHBox getPanelHBoxMenu() { if (hboxMenu == null) { hboxMenu = new CFHBox(10); LinkedList<CFButton> list = new LinkedList<CFButton>(); vboxMenuAdd = new CFVBox(10); buttonAddInt32Type = new CFButton(); buttonAddInt32Type.setMinWidth(200); buttonAddInt32Type.setText("Add Int32Type"); buttonAddInt32Type.setOnAction(new EventHandler<ActionEvent>() { @Override/* w w w. j a v a2s .c o m*/ public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamInt32TypeObj obj = (ICFBamInt32TypeObj) schemaObj.getInt32TypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getInt32TypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamInt32TypeEditObj edit = (ICFBamInt32TypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXInt32TypePaneCommon jpanelCommon = (ICFBamJavaFXInt32TypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddInt32Type); } buttonAddId32Gen = new CFButton(); buttonAddId32Gen.setMinWidth(200); buttonAddId32Gen.setText("Add Id32Gen"); buttonAddId32Gen.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamId32GenObj obj = (ICFBamId32GenObj) schemaObj.getId32GenTableObj().newInstance(); CFBorderPane frame = javafxSchema.getId32GenFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamId32GenEditObj edit = (ICFBamId32GenEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXId32GenPaneCommon jpanelCommon = (ICFBamJavaFXId32GenPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddId32Gen); } buttonAddInt32Col = new CFButton(); buttonAddInt32Col.setMinWidth(200); buttonAddInt32Col.setText("Add Int32Col"); buttonAddInt32Col.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamInt32ColObj obj = (ICFBamInt32ColObj) schemaObj.getInt32ColTableObj().newInstance(); CFBorderPane frame = javafxSchema.getInt32ColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamInt32ColEditObj edit = (ICFBamInt32ColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXInt32ColPaneCommon jpanelCommon = (ICFBamJavaFXInt32ColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddInt32Col); } int len = list.size(); CFButton arr[] = new CFButton[len]; Iterator<CFButton> iter = list.iterator(); int idx = 0; while (iter.hasNext()) { arr[idx++] = iter.next(); } Arrays.sort(arr, new CompareCFButtonByText()); for (idx = 0; idx < len; idx++) { vboxMenuAdd.getChildren().add(arr[idx]); } buttonCancelAdd = new CFButton(); buttonCancelAdd.setMinWidth(200); buttonCancelAdd.setText("Cancel Add..."); buttonCancelAdd.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); vboxMenuAdd.getChildren().add(buttonCancelAdd); scrollMenuAdd = new ScrollPane(); scrollMenuAdd.setMinWidth(240); scrollMenuAdd.setMaxWidth(240); scrollMenuAdd.setFitToWidth(true); scrollMenuAdd.setHbarPolicy(ScrollBarPolicy.NEVER); scrollMenuAdd.setVbarPolicy(ScrollBarPolicy.AS_NEEDED); scrollMenuAdd.setContent(vboxMenuAdd); buttonAdd = new CFButton(); buttonAdd.setMinWidth(200); buttonAdd.setText("Add..."); buttonAdd.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { setLeft(scrollMenuAdd); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonAdd); buttonViewSelected = new CFButton(); buttonViewSelected.setMinWidth(200); buttonViewSelected.setText("View Selected"); buttonViewSelected.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); if (schemaObj == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "schemaObj"); } ICFBamInt32DefObj selectedInstance = getJavaFXFocusAsInt32Def(); if (selectedInstance != null) { String classCode = selectedInstance.getClassCode(); if ("I32D".equals(classCode)) { CFBorderPane frame = javafxSchema.getInt32DefFactory().newViewEditForm( cfFormManager, selectedInstance, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt32DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I32T".equals(classCode)) { ICFBamInt32TypeObj obj = (ICFBamInt32TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt32TypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt32TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("IG32".equals(classCode)) { ICFBamId32GenObj obj = (ICFBamId32GenObj) selectedInstance; CFBorderPane frame = javafxSchema.getId32GenFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXId32GenPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I32C".equals(classCode)) { ICFBamInt32ColObj obj = (ICFBamInt32ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt32ColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt32ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), S_ProcName, "selectedInstance", selectedInstance, "ICFBamInt32DefObj, ICFBamInt32TypeObj, ICFBamId32GenObj, ICFBamInt32ColObj"); } } } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonViewSelected); buttonEditSelected = new CFButton(); buttonEditSelected.setMinWidth(200); buttonEditSelected.setText("Edit Selected"); buttonEditSelected.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); if (schemaObj == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "schemaObj"); } ICFBamInt32DefObj selectedInstance = getJavaFXFocusAsInt32Def(); if (selectedInstance != null) { String classCode = selectedInstance.getClassCode(); if ("I32D".equals(classCode)) { CFBorderPane frame = javafxSchema.getInt32DefFactory().newViewEditForm( cfFormManager, selectedInstance, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt32DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("I32T".equals(classCode)) { ICFBamInt32TypeObj obj = (ICFBamInt32TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt32TypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt32TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("IG32".equals(classCode)) { ICFBamId32GenObj obj = (ICFBamId32GenObj) selectedInstance; CFBorderPane frame = javafxSchema.getId32GenFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXId32GenPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I32C".equals(classCode)) { ICFBamInt32ColObj obj = (ICFBamInt32ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt32ColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt32ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), S_ProcName, "selectedInstance", selectedInstance, "ICFBamInt32DefObj, ICFBamInt32TypeObj, ICFBamId32GenObj, ICFBamInt32ColObj"); } } } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonEditSelected); buttonDeleteSelected = new CFButton(); buttonDeleteSelected.setMinWidth(200); buttonDeleteSelected.setText("Delete Selected"); buttonDeleteSelected.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); if (schemaObj == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "schemaObj"); } ICFBamInt32DefObj selectedInstance = getJavaFXFocusAsInt32Def(); if (selectedInstance != null) { String classCode = selectedInstance.getClassCode(); if ("I32D".equals(classCode)) { CFBorderPane frame = javafxSchema.getInt32DefFactory() .newAskDeleteForm(cfFormManager, selectedInstance, getDeleteCallback()); ((ICFBamJavaFXInt32DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I32T".equals(classCode)) { ICFBamInt32TypeObj obj = (ICFBamInt32TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt32TypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXInt32TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("IG32".equals(classCode)) { ICFBamId32GenObj obj = (ICFBamId32GenObj) selectedInstance; CFBorderPane frame = javafxSchema.getId32GenFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXId32GenPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I32C".equals(classCode)) { ICFBamInt32ColObj obj = (ICFBamInt32ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt32ColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXInt32ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), S_ProcName, "selectedInstance", selectedInstance, "ICFBamInt32DefObj, ICFBamInt32TypeObj, ICFBamId32GenObj, ICFBamInt32ColObj"); } } } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonDeleteSelected); } return (hboxMenu); }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamJavaFX.CFBamJavaFXNumberDefListPane.java
public CFHBox getPanelHBoxMenu() { if (hboxMenu == null) { hboxMenu = new CFHBox(10); LinkedList<CFButton> list = new LinkedList<CFButton>(); vboxMenuAdd = new CFVBox(10); buttonAddNumberType = new CFButton(); buttonAddNumberType.setMinWidth(200); buttonAddNumberType.setText("Add NumberType"); buttonAddNumberType.setOnAction(new EventHandler<ActionEvent>() { @Override/*from w w w .j av a2 s . c om*/ public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamNumberTypeObj obj = (ICFBamNumberTypeObj) schemaObj.getNumberTypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getNumberTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamNumberTypeEditObj edit = (ICFBamNumberTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXNumberTypePaneCommon jpanelCommon = (ICFBamJavaFXNumberTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddNumberType); } buttonAddNumberCol = new CFButton(); buttonAddNumberCol.setMinWidth(200); buttonAddNumberCol.setText("Add NumberCol"); buttonAddNumberCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamNumberColObj obj = (ICFBamNumberColObj) schemaObj.getNumberColTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getNumberColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamNumberColEditObj edit = (ICFBamNumberColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXNumberColPaneCommon jpanelCommon = (ICFBamJavaFXNumberColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddNumberCol); } int len = list.size(); CFButton arr[] = new CFButton[len]; Iterator<CFButton> iter = list.iterator(); int idx = 0; while (iter.hasNext()) { arr[idx++] = iter.next(); } Arrays.sort(arr, new CompareCFButtonByText()); for (idx = 0; idx < len; idx++) { vboxMenuAdd.getChildren().add(arr[idx]); } buttonCancelAdd = new CFButton(); buttonCancelAdd.setMinWidth(200); buttonCancelAdd.setText("Cancel Add..."); buttonCancelAdd.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); vboxMenuAdd.getChildren().add(buttonCancelAdd); scrollMenuAdd = new ScrollPane(); scrollMenuAdd.setMinWidth(240); scrollMenuAdd.setMaxWidth(240); scrollMenuAdd.setFitToWidth(true); scrollMenuAdd.setHbarPolicy(ScrollBarPolicy.NEVER); scrollMenuAdd.setVbarPolicy(ScrollBarPolicy.AS_NEEDED); scrollMenuAdd.setContent(vboxMenuAdd); buttonAdd = new CFButton(); buttonAdd.setMinWidth(200); buttonAdd.setText("Add..."); buttonAdd.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { setLeft(scrollMenuAdd); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonAdd); buttonViewSelected = new CFButton(); buttonViewSelected.setMinWidth(200); buttonViewSelected.setText("View Selected"); buttonViewSelected.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); if (schemaObj == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "schemaObj"); } ICFBamNumberDefObj selectedInstance = getJavaFXFocusAsNumberDef(); if (selectedInstance != null) { String classCode = selectedInstance.getClassCode(); if ("NUMD".equals(classCode)) { CFBorderPane frame = javafxSchema.getNumberDefFactory().newViewEditForm( cfFormManager, selectedInstance, getViewEditClosedCallback(), false); ((ICFBamJavaFXNumberDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NUMT".equals(classCode)) { ICFBamNumberTypeObj obj = (ICFBamNumberTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getNumberTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNumberTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NUMC".equals(classCode)) { ICFBamNumberColObj obj = (ICFBamNumberColObj) selectedInstance; CFBorderPane frame = javafxSchema.getNumberColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNumberColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), S_ProcName, "selectedInstance", selectedInstance, "ICFBamNumberDefObj, ICFBamNumberTypeObj, ICFBamNumberColObj"); } } } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonViewSelected); buttonEditSelected = new CFButton(); buttonEditSelected.setMinWidth(200); buttonEditSelected.setText("Edit Selected"); buttonEditSelected.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); if (schemaObj == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "schemaObj"); } ICFBamNumberDefObj selectedInstance = getJavaFXFocusAsNumberDef(); if (selectedInstance != null) { String classCode = selectedInstance.getClassCode(); if ("NUMD".equals(classCode)) { CFBorderPane frame = javafxSchema.getNumberDefFactory().newViewEditForm( cfFormManager, selectedInstance, getViewEditClosedCallback(), false); ((ICFBamJavaFXNumberDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("NUMT".equals(classCode)) { ICFBamNumberTypeObj obj = (ICFBamNumberTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getNumberTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNumberTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("NUMC".equals(classCode)) { ICFBamNumberColObj obj = (ICFBamNumberColObj) selectedInstance; CFBorderPane frame = javafxSchema.getNumberColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNumberColPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), S_ProcName, "selectedInstance", selectedInstance, "ICFBamNumberDefObj, ICFBamNumberTypeObj, ICFBamNumberColObj"); } } } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonEditSelected); buttonDeleteSelected = new CFButton(); buttonDeleteSelected.setMinWidth(200); buttonDeleteSelected.setText("Delete Selected"); buttonDeleteSelected.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); if (schemaObj == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "schemaObj"); } ICFBamNumberDefObj selectedInstance = getJavaFXFocusAsNumberDef(); if (selectedInstance != null) { String classCode = selectedInstance.getClassCode(); if ("NUMD".equals(classCode)) { CFBorderPane frame = javafxSchema.getNumberDefFactory() .newAskDeleteForm(cfFormManager, selectedInstance, getDeleteCallback()); ((ICFBamJavaFXNumberDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NUMT".equals(classCode)) { ICFBamNumberTypeObj obj = (ICFBamNumberTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getNumberTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXNumberTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NUMC".equals(classCode)) { ICFBamNumberColObj obj = (ICFBamNumberColObj) selectedInstance; CFBorderPane frame = javafxSchema.getNumberColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXNumberColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), S_ProcName, "selectedInstance", selectedInstance, "ICFBamNumberDefObj, ICFBamNumberTypeObj, ICFBamNumberColObj"); } } } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonDeleteSelected); } return (hboxMenu); }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamJavaFX.CFBamJavaFXInt16DefListPane.java
public CFHBox getPanelHBoxMenu() { if (hboxMenu == null) { hboxMenu = new CFHBox(10); LinkedList<CFButton> list = new LinkedList<CFButton>(); vboxMenuAdd = new CFVBox(10); buttonAddInt16Type = new CFButton(); buttonAddInt16Type.setMinWidth(200); buttonAddInt16Type.setText("Add Int16Type"); buttonAddInt16Type.setOnAction(new EventHandler<ActionEvent>() { @Override//from w w w . j av a 2s. com public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamInt16TypeObj obj = (ICFBamInt16TypeObj) schemaObj.getInt16TypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getInt16TypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamInt16TypeEditObj edit = (ICFBamInt16TypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXInt16TypePaneCommon jpanelCommon = (ICFBamJavaFXInt16TypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddInt16Type); } buttonAddId16Gen = new CFButton(); buttonAddId16Gen.setMinWidth(200); buttonAddId16Gen.setText("Add Id16Gen"); buttonAddId16Gen.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamId16GenObj obj = (ICFBamId16GenObj) schemaObj.getId16GenTableObj().newInstance(); CFBorderPane frame = javafxSchema.getId16GenFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamId16GenEditObj edit = (ICFBamId16GenEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXId16GenPaneCommon jpanelCommon = (ICFBamJavaFXId16GenPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddId16Gen); } buttonAddEnumType = new CFButton(); buttonAddEnumType.setMinWidth(200); buttonAddEnumType.setText("Add EnumType"); buttonAddEnumType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamEnumTypeObj obj = (ICFBamEnumTypeObj) schemaObj.getEnumTypeTableObj().newInstance(); CFBorderPane frame = javafxSchema.getEnumTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamEnumTypeEditObj edit = (ICFBamEnumTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXEnumTypePaneCommon jpanelCommon = (ICFBamJavaFXEnumTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddEnumType); } buttonAddInt16Col = new CFButton(); buttonAddInt16Col.setMinWidth(200); buttonAddInt16Col.setText("Add Int16Col"); buttonAddInt16Col.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamInt16ColObj obj = (ICFBamInt16ColObj) schemaObj.getInt16ColTableObj().newInstance(); CFBorderPane frame = javafxSchema.getInt16ColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamInt16ColEditObj edit = (ICFBamInt16ColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXInt16ColPaneCommon jpanelCommon = (ICFBamJavaFXInt16ColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddInt16Col); } int len = list.size(); CFButton arr[] = new CFButton[len]; Iterator<CFButton> iter = list.iterator(); int idx = 0; while (iter.hasNext()) { arr[idx++] = iter.next(); } Arrays.sort(arr, new CompareCFButtonByText()); for (idx = 0; idx < len; idx++) { vboxMenuAdd.getChildren().add(arr[idx]); } buttonCancelAdd = new CFButton(); buttonCancelAdd.setMinWidth(200); buttonCancelAdd.setText("Cancel Add..."); buttonCancelAdd.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); vboxMenuAdd.getChildren().add(buttonCancelAdd); scrollMenuAdd = new ScrollPane(); scrollMenuAdd.setMinWidth(240); scrollMenuAdd.setMaxWidth(240); scrollMenuAdd.setFitToWidth(true); scrollMenuAdd.setHbarPolicy(ScrollBarPolicy.NEVER); scrollMenuAdd.setVbarPolicy(ScrollBarPolicy.AS_NEEDED); scrollMenuAdd.setContent(vboxMenuAdd); buttonAdd = new CFButton(); buttonAdd.setMinWidth(200); buttonAdd.setText("Add..."); buttonAdd.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { setLeft(scrollMenuAdd); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonAdd); buttonViewSelected = new CFButton(); buttonViewSelected.setMinWidth(200); buttonViewSelected.setText("View Selected"); buttonViewSelected.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); if (schemaObj == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "schemaObj"); } ICFBamInt16DefObj selectedInstance = getJavaFXFocusAsInt16Def(); if (selectedInstance != null) { String classCode = selectedInstance.getClassCode(); if ("I16D".equals(classCode)) { CFBorderPane frame = javafxSchema.getInt16DefFactory().newViewEditForm( cfFormManager, selectedInstance, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt16DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I16T".equals(classCode)) { ICFBamInt16TypeObj obj = (ICFBamInt16TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt16TypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt16TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("IG16".equals(classCode)) { ICFBamId16GenObj obj = (ICFBamId16GenObj) selectedInstance; CFBorderPane frame = javafxSchema.getId16GenFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXId16GenPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ENMD".equals(classCode)) { ICFBamEnumDefObj obj = (ICFBamEnumDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getEnumDefFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXEnumDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ENMT".equals(classCode)) { ICFBamEnumTypeObj obj = (ICFBamEnumTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getEnumTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXEnumTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I16C".equals(classCode)) { ICFBamInt16ColObj obj = (ICFBamInt16ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt16ColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt16ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), S_ProcName, "selectedInstance", selectedInstance, "ICFBamInt16DefObj, ICFBamInt16TypeObj, ICFBamId16GenObj, ICFBamEnumDefObj, ICFBamEnumTypeObj, ICFBamInt16ColObj"); } } } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonViewSelected); buttonEditSelected = new CFButton(); buttonEditSelected.setMinWidth(200); buttonEditSelected.setText("Edit Selected"); buttonEditSelected.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); if (schemaObj == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "schemaObj"); } ICFBamInt16DefObj selectedInstance = getJavaFXFocusAsInt16Def(); if (selectedInstance != null) { String classCode = selectedInstance.getClassCode(); if ("I16D".equals(classCode)) { CFBorderPane frame = javafxSchema.getInt16DefFactory().newViewEditForm( cfFormManager, selectedInstance, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt16DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("I16T".equals(classCode)) { ICFBamInt16TypeObj obj = (ICFBamInt16TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt16TypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt16TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("IG16".equals(classCode)) { ICFBamId16GenObj obj = (ICFBamId16GenObj) selectedInstance; CFBorderPane frame = javafxSchema.getId16GenFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXId16GenPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ENMD".equals(classCode)) { ICFBamEnumDefObj obj = (ICFBamEnumDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getEnumDefFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXEnumDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("ENMT".equals(classCode)) { ICFBamEnumTypeObj obj = (ICFBamEnumTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getEnumTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXEnumTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I16C".equals(classCode)) { ICFBamInt16ColObj obj = (ICFBamInt16ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt16ColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt16ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), S_ProcName, "selectedInstance", selectedInstance, "ICFBamInt16DefObj, ICFBamInt16TypeObj, ICFBamId16GenObj, ICFBamEnumDefObj, ICFBamEnumTypeObj, ICFBamInt16ColObj"); } } } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonEditSelected); buttonDeleteSelected = new CFButton(); buttonDeleteSelected.setMinWidth(200); buttonDeleteSelected.setText("Delete Selected"); buttonDeleteSelected.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); if (schemaObj == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "schemaObj"); } ICFBamInt16DefObj selectedInstance = getJavaFXFocusAsInt16Def(); if (selectedInstance != null) { String classCode = selectedInstance.getClassCode(); if ("I16D".equals(classCode)) { CFBorderPane frame = javafxSchema.getInt16DefFactory() .newAskDeleteForm(cfFormManager, selectedInstance, getDeleteCallback()); ((ICFBamJavaFXInt16DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I16T".equals(classCode)) { ICFBamInt16TypeObj obj = (ICFBamInt16TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt16TypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXInt16TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("IG16".equals(classCode)) { ICFBamId16GenObj obj = (ICFBamId16GenObj) selectedInstance; CFBorderPane frame = javafxSchema.getId16GenFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXId16GenPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ENMD".equals(classCode)) { ICFBamEnumDefObj obj = (ICFBamEnumDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getEnumDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXEnumDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ENMT".equals(classCode)) { ICFBamEnumTypeObj obj = (ICFBamEnumTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getEnumTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXEnumTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I16C".equals(classCode)) { ICFBamInt16ColObj obj = (ICFBamInt16ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt16ColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXInt16ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), S_ProcName, "selectedInstance", selectedInstance, "ICFBamInt16DefObj, ICFBamInt16TypeObj, ICFBamId16GenObj, ICFBamEnumDefObj, ICFBamEnumTypeObj, ICFBamInt16ColObj"); } } } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonDeleteSelected); } return (hboxMenu); }
From source file:snpviewer.SnpViewer.java
public void refreshView(String chrom, boolean forceRedraw) { //if forceRedraw is false look for existing png files for each snpFile if (chrom == null) { /*if null is passed then select/reselect chromosome from * chromosomeSelector, return and let chromosomeSelector's * listener refire this method//from w w w. j a v a2 s . c om */ if (chromosomeSelector.getSelectionModel().isEmpty()) { chromosomeSelector.getSelectionModel().selectFirst(); } else { int sel = chromosomeSelector.getSelectionModel().getSelectedIndex(); chromosomeSelector.getSelectionModel().clearSelection(); chromosomeSelector.getSelectionModel().select(sel); } return; } int totalFiles = affFiles.size() + unFiles.size(); if (totalFiles < 1) { return; } ArrayList<Pane> panesToAdd = new ArrayList<>(); ArrayList<ScrollPane> labelsToAdd = new ArrayList<>(); clearSplitPanes(); setProgressMode(true); nextChromMenu.setDisable(false); nextChromMenu.setDisable(false); for (final SnpFile f : affFiles) { Pane sPane = new Pane(); sPane.setMinHeight(chromSplitPane.getHeight() / totalFiles); sPane.setMinWidth(chromSplitPane.getWidth()); sPane.setVisible(true); panesToAdd.add(sPane); ScrollPane labelPane = new ScrollPane(); Label fileLabel = new Label(f.inputFile.getName() + "\n(Affected)"); fileLabel.setTextFill(Color.WHITE); labelPane.setMinHeight(labelSplitPane.getHeight() / totalFiles); labelPane.setPrefWidth(labelSplitPane.getWidth()); labelPane.minHeightProperty().bind(labelSplitPane.heightProperty().divide(totalFiles)); VBox vbox = new VBox(); vbox.setSpacing(10); vbox.getChildren().add(fileLabel); final TextField textField = new TextField(); textField.setStyle("-fx-text-fill: white; -fx-background-color: " + "rgba(90%,90%,90%,0.3); -fx-border-color:white"); textField.setPromptText("Sample Name"); if (f.getSampleName() != null) { textField.setText(f.getSampleName()); } textField.setFocusTraversable(true); textField.setOnKeyPressed(new EventHandler<KeyEvent>() { @Override public void handle(KeyEvent ke) { if (ke.getCode().equals(KeyCode.ENTER)) { if (!textField.getText().isEmpty()) { String name = textField.getText().trim(); if (name.length() > 0) { f.setSampleName(name); } textField.getParent().requestFocus(); saveProject(); } } } }); textField.focusedProperty().addListener(new ChangeListener<Boolean>() { @Override public void changed(ObservableValue<? extends Boolean> observable, Boolean oldValue, Boolean newValue) { if (!textField.isFocused()) { if (!textField.getText().isEmpty()) { String name = textField.getText().trim(); if (name.length() > 0) { f.setSampleName(name); } saveProject(); } } } }); vbox.getChildren().add(textField); Label noCalls = new Label(); if (f.getPercentNoCall() != null) { noCalls.setText("No Calls: " + DecimalFormat.getInstance().format(f.getPercentNoCall()) + " %"); } else { noCalls.setText("No Calls: none"); } Label meanQual = new Label(); if (f.getMeanQuality() != null) { meanQual.setText("Av. Call Conf: " + DecimalFormat.getInstance().format(100 - (f.getMeanQuality() * 100)) + " %"); } else { meanQual.setText("No Call Confidence Data"); } vbox.getChildren().add(noCalls); vbox.getChildren().add(meanQual); labelPane.setContent(vbox); // labelPane.getChildren().add(fileLabel); // labelPane.getChildren().add(new TextField()); labelsToAdd.add(labelPane); } for (final SnpFile f : unFiles) { Pane sPane = new Pane(); sPane.setMinHeight(chromSplitPane.getHeight() / totalFiles); sPane.setMinWidth(chromSplitPane.getWidth()); sPane.setVisible(true); panesToAdd.add(sPane); ScrollPane labelPane = new ScrollPane(); Label fileLabel = new Label(f.inputFile.getName() + "\n(Unaffected)"); fileLabel.setStyle("-fx-text-fill: black"); labelPane.setMinHeight(labelSplitPane.getHeight() / totalFiles); labelPane.setPrefWidth(labelSplitPane.getWidth()); labelPane.minHeightProperty().bind(labelSplitPane.heightProperty().divide(totalFiles)); VBox vbox = new VBox(); vbox.setSpacing(10); vbox.getChildren().add(fileLabel); final TextField textField = new TextField(); textField.setStyle("-fx-text-fill: black; " + "-fx-background-color: rgba(90%,90%,90%,0.3);" + " -fx-border-color:white"); textField.setPromptText("Sample Name"); if (f.getSampleName() != null) { textField.setText(f.getSampleName()); } textField.setFocusTraversable(true); textField.setOnKeyPressed(new EventHandler<KeyEvent>() { @Override public void handle(KeyEvent ke) { if (ke.getCode().equals(KeyCode.ENTER)) { if (!textField.getText().isEmpty()) { f.setSampleName(textField.getText()); textField.getParent().requestFocus(); saveProject(); } } } }); textField.focusedProperty().addListener(new ChangeListener<Boolean>() { @Override public void changed(ObservableValue<? extends Boolean> observable, Boolean oldValue, Boolean newValue) { if (!textField.isFocused()) { if (!textField.getText().isEmpty()) { f.setSampleName(textField.getText()); saveProject(); } } } }); vbox.getChildren().add(textField); Label noCalls = new Label(); if (f.getPercentNoCall() != null) { noCalls.setText("No Calls: " + DecimalFormat.getInstance().format(f.getPercentNoCall()) + " %"); } else { noCalls.setText("No Calls: none"); } Label meanQual = new Label(); if (f.getMeanQuality() != null) { meanQual.setText("Av. Call Conf: " + DecimalFormat.getInstance().format(100 - (f.getMeanQuality() * 100)) + " %"); } else { meanQual.setText("No Call Confidence Data"); } vbox.getChildren().add(noCalls); vbox.getChildren().add(meanQual); labelPane.setContent(vbox); // labelPane.getChildren().add(fileLabel); labelsToAdd.add(labelPane); } if (panesToAdd.size() > 0) { chromSplitPane.getItems().addAll(panesToAdd); labelSplitPane.getItems().addAll(labelsToAdd); ArrayList<SnpFile> bothFiles = new ArrayList<>(affFiles); bothFiles.addAll(unFiles); final Iterator<SnpFile> fileIter = bothFiles.iterator(); final Iterator<Pane> paneIter = panesToAdd.iterator(); SnpFile firstFileToProcess = fileIter.next(); Pane firstPaneToProcess = paneIter.next(); String pngPath = null; if (qualityFilter != null) { Integer percent = new Integer(100 - (int) (qualityFilter * 100)); pngPath = percent.toString(); } drawWithIterator(firstFileToProcess, firstPaneToProcess, pngPath, fileIter, paneIter, 1, totalFiles, chrom, forceRedraw, chromSplitPane); } else { setProgressMode(false); } }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamJavaFX.CFBamJavaFXScopeListPane.java
public CFHBox getPanelHBoxMenu() { if (hboxMenu == null) { hboxMenu = new CFHBox(10); LinkedList<CFButton> list = new LinkedList<CFButton>(); vboxMenuAdd = new CFVBox(10); buttonAddSchemaDef = new CFButton(); buttonAddSchemaDef.setMinWidth(200); buttonAddSchemaDef.setText("Add SchemaDef"); buttonAddSchemaDef.setOnAction(new EventHandler<ActionEvent>() { @Override/*from ww w . java 2 s . c o m*/ public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamSchemaDefObj obj = (ICFBamSchemaDefObj) schemaObj.getSchemaDefTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getSchemaDefFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamSchemaDefEditObj edit = (ICFBamSchemaDefEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerCTenant(secTenant); ICFBamDomainBaseObj container = (ICFBamDomainBaseObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerDomain(container); ICFBamJavaFXSchemaDefPaneCommon jpanelCommon = (ICFBamJavaFXSchemaDefPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFInternetDomainBaseObj) { list.add(buttonAddSchemaDef); } buttonAddSchemaRef = new CFButton(); buttonAddSchemaRef.setMinWidth(200); buttonAddSchemaRef.setText("Add SchemaRef"); buttonAddSchemaRef.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamSchemaRefObj obj = (ICFBamSchemaRefObj) schemaObj.getSchemaRefTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getSchemaRefFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamSchemaRefEditObj edit = (ICFBamSchemaRefEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchema(container); ICFBamJavaFXSchemaRefPaneCommon jpanelCommon = (ICFBamJavaFXSchemaRefPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddSchemaRef); } buttonAddServerMethod = new CFButton(); buttonAddServerMethod.setMinWidth(200); buttonAddServerMethod.setText("Add ServerMethod"); buttonAddServerMethod.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamServerMethodObj obj = (ICFBamServerMethodObj) schemaObj.getServerMethodTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getServerMethodFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamServerMethodEditObj edit = (ICFBamServerMethodEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerForTable(container); ICFBamJavaFXServerMethodPaneCommon jpanelCommon = (ICFBamJavaFXServerMethodPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddServerMethod); } buttonAddServerObjFunc = new CFButton(); buttonAddServerObjFunc.setMinWidth(200); buttonAddServerObjFunc.setText("Add ServerObjFunc"); buttonAddServerObjFunc.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamServerObjFuncObj obj = (ICFBamServerObjFuncObj) schemaObj.getServerObjFuncTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getServerObjFuncFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamServerObjFuncEditObj edit = (ICFBamServerObjFuncEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerForTable(container); ICFBamJavaFXServerObjFuncPaneCommon jpanelCommon = (ICFBamJavaFXServerObjFuncPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddServerObjFunc); } buttonAddServerProc = new CFButton(); buttonAddServerProc.setMinWidth(200); buttonAddServerProc.setText("Add ServerProc"); buttonAddServerProc.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamServerProcObj obj = (ICFBamServerProcObj) schemaObj.getServerProcTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getServerProcFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamServerProcEditObj edit = (ICFBamServerProcEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerForTable(container); ICFBamJavaFXServerProcPaneCommon jpanelCommon = (ICFBamJavaFXServerProcPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddServerProc); } buttonAddServerListFunc = new CFButton(); buttonAddServerListFunc.setMinWidth(200); buttonAddServerListFunc.setText("Add ServerListFunc"); buttonAddServerListFunc.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamServerListFuncObj obj = (ICFBamServerListFuncObj) schemaObj .getServerListFuncTableObj().newInstance(); CFBorderPane frame = javafxSchema.getServerListFuncFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamServerListFuncEditObj edit = (ICFBamServerListFuncEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerForTable(container); ICFBamJavaFXServerListFuncPaneCommon jpanelCommon = (ICFBamJavaFXServerListFuncPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddServerListFunc); } buttonAddTable = new CFButton(); buttonAddTable.setMinWidth(200); buttonAddTable.setText("Add Table"); buttonAddTable.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamTableObj obj = (ICFBamTableObj) schemaObj.getTableTableObj().newInstance(); CFBorderPane frame = javafxSchema.getTableFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamTableEditObj edit = (ICFBamTableEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXTablePaneCommon jpanelCommon = (ICFBamJavaFXTablePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddTable); } buttonAddClearSubDep1 = new CFButton(); buttonAddClearSubDep1.setMinWidth(200); buttonAddClearSubDep1.setText("Add ClearSubDep1"); buttonAddClearSubDep1.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamClearSubDep1Obj obj = (ICFBamClearSubDep1Obj) schemaObj.getClearSubDep1TableObj() .newInstance(); CFBorderPane frame = javafxSchema.getClearSubDep1Factory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamClearSubDep1EditObj edit = (ICFBamClearSubDep1EditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamClearTopDepObj container = (ICFBamClearTopDepObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerClearTopDep(container); ICFBamJavaFXClearSubDep1PaneCommon jpanelCommon = (ICFBamJavaFXClearSubDep1PaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamClearTopDepObj) { list.add(buttonAddClearSubDep1); } buttonAddClearSubDep2 = new CFButton(); buttonAddClearSubDep2.setMinWidth(200); buttonAddClearSubDep2.setText("Add ClearSubDep2"); buttonAddClearSubDep2.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamClearSubDep2Obj obj = (ICFBamClearSubDep2Obj) schemaObj.getClearSubDep2TableObj() .newInstance(); CFBorderPane frame = javafxSchema.getClearSubDep2Factory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamClearSubDep2EditObj edit = (ICFBamClearSubDep2EditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamClearSubDep1Obj container = (ICFBamClearSubDep1Obj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerClearSubDep1(container); ICFBamJavaFXClearSubDep2PaneCommon jpanelCommon = (ICFBamJavaFXClearSubDep2PaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamClearSubDep1Obj) { list.add(buttonAddClearSubDep2); } buttonAddClearSubDep3 = new CFButton(); buttonAddClearSubDep3.setMinWidth(200); buttonAddClearSubDep3.setText("Add ClearSubDep3"); buttonAddClearSubDep3.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamClearSubDep3Obj obj = (ICFBamClearSubDep3Obj) schemaObj.getClearSubDep3TableObj() .newInstance(); CFBorderPane frame = javafxSchema.getClearSubDep3Factory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamClearSubDep3EditObj edit = (ICFBamClearSubDep3EditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamClearSubDep2Obj container = (ICFBamClearSubDep2Obj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerClearSubDep2(container); ICFBamJavaFXClearSubDep3PaneCommon jpanelCommon = (ICFBamJavaFXClearSubDep3PaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamClearSubDep2Obj) { list.add(buttonAddClearSubDep3); } buttonAddClearTopDep = new CFButton(); buttonAddClearTopDep.setMinWidth(200); buttonAddClearTopDep.setText("Add ClearTopDep"); buttonAddClearTopDep.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamClearTopDepObj obj = (ICFBamClearTopDepObj) schemaObj.getClearTopDepTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getClearTopDepFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamClearTopDepEditObj edit = (ICFBamClearTopDepEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXClearTopDepPaneCommon jpanelCommon = (ICFBamJavaFXClearTopDepPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddClearTopDep); } buttonAddDelSubDep1 = new CFButton(); buttonAddDelSubDep1.setMinWidth(200); buttonAddDelSubDep1.setText("Add DelSubDep1"); buttonAddDelSubDep1.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamDelSubDep1Obj obj = (ICFBamDelSubDep1Obj) schemaObj.getDelSubDep1TableObj() .newInstance(); CFBorderPane frame = javafxSchema.getDelSubDep1Factory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamDelSubDep1EditObj edit = (ICFBamDelSubDep1EditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamDelTopDepObj container = (ICFBamDelTopDepObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerDelTopDep(container); ICFBamJavaFXDelSubDep1PaneCommon jpanelCommon = (ICFBamJavaFXDelSubDep1PaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamDelTopDepObj) { list.add(buttonAddDelSubDep1); } buttonAddDelSubDep2 = new CFButton(); buttonAddDelSubDep2.setMinWidth(200); buttonAddDelSubDep2.setText("Add DelSubDep2"); buttonAddDelSubDep2.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamDelSubDep2Obj obj = (ICFBamDelSubDep2Obj) schemaObj.getDelSubDep2TableObj() .newInstance(); CFBorderPane frame = javafxSchema.getDelSubDep2Factory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamDelSubDep2EditObj edit = (ICFBamDelSubDep2EditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamDelSubDep1Obj container = (ICFBamDelSubDep1Obj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerDelSubDep1(container); ICFBamJavaFXDelSubDep2PaneCommon jpanelCommon = (ICFBamJavaFXDelSubDep2PaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamDelSubDep1Obj) { list.add(buttonAddDelSubDep2); } buttonAddDelSubDep3 = new CFButton(); buttonAddDelSubDep3.setMinWidth(200); buttonAddDelSubDep3.setText("Add DelSubDep3"); buttonAddDelSubDep3.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamDelSubDep3Obj obj = (ICFBamDelSubDep3Obj) schemaObj.getDelSubDep3TableObj() .newInstance(); CFBorderPane frame = javafxSchema.getDelSubDep3Factory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamDelSubDep3EditObj edit = (ICFBamDelSubDep3EditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamDelSubDep2Obj container = (ICFBamDelSubDep2Obj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerDelSubDep2(container); ICFBamJavaFXDelSubDep3PaneCommon jpanelCommon = (ICFBamJavaFXDelSubDep3PaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamDelSubDep2Obj) { list.add(buttonAddDelSubDep3); } buttonAddDelTopDep = new CFButton(); buttonAddDelTopDep.setMinWidth(200); buttonAddDelTopDep.setText("Add DelTopDep"); buttonAddDelTopDep.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamDelTopDepObj obj = (ICFBamDelTopDepObj) schemaObj.getDelTopDepTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getDelTopDepFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamDelTopDepEditObj edit = (ICFBamDelTopDepEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXDelTopDepPaneCommon jpanelCommon = (ICFBamJavaFXDelTopDepPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddDelTopDep); } buttonAddIndex = new CFButton(); buttonAddIndex.setMinWidth(200); buttonAddIndex.setText("Add Index"); buttonAddIndex.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamIndexObj obj = (ICFBamIndexObj) schemaObj.getIndexTableObj().newInstance(); CFBorderPane frame = javafxSchema.getIndexFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamIndexEditObj edit = (ICFBamIndexEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerIdxTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXIndexPaneCommon jpanelCommon = (ICFBamJavaFXIndexPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddIndex); } buttonAddPopSubDep1 = new CFButton(); buttonAddPopSubDep1.setMinWidth(200); buttonAddPopSubDep1.setText("Add PopSubDep1"); buttonAddPopSubDep1.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamPopSubDep1Obj obj = (ICFBamPopSubDep1Obj) schemaObj.getPopSubDep1TableObj() .newInstance(); CFBorderPane frame = javafxSchema.getPopSubDep1Factory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamPopSubDep1EditObj edit = (ICFBamPopSubDep1EditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamPopTopDepObj container = (ICFBamPopTopDepObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerContPopTopDep(container); ICFBamJavaFXPopSubDep1PaneCommon jpanelCommon = (ICFBamJavaFXPopSubDep1PaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamPopTopDepObj) { list.add(buttonAddPopSubDep1); } buttonAddPopSubDep2 = new CFButton(); buttonAddPopSubDep2.setMinWidth(200); buttonAddPopSubDep2.setText("Add PopSubDep2"); buttonAddPopSubDep2.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamPopSubDep2Obj obj = (ICFBamPopSubDep2Obj) schemaObj.getPopSubDep2TableObj() .newInstance(); CFBorderPane frame = javafxSchema.getPopSubDep2Factory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamPopSubDep2EditObj edit = (ICFBamPopSubDep2EditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamPopSubDep1Obj container = (ICFBamPopSubDep1Obj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerPopSubDep1(container); ICFBamJavaFXPopSubDep2PaneCommon jpanelCommon = (ICFBamJavaFXPopSubDep2PaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamPopSubDep1Obj) { list.add(buttonAddPopSubDep2); } buttonAddPopSubDep3 = new CFButton(); buttonAddPopSubDep3.setMinWidth(200); buttonAddPopSubDep3.setText("Add PopSubDep3"); buttonAddPopSubDep3.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamPopSubDep3Obj obj = (ICFBamPopSubDep3Obj) schemaObj.getPopSubDep3TableObj() .newInstance(); CFBorderPane frame = javafxSchema.getPopSubDep3Factory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamPopSubDep3EditObj edit = (ICFBamPopSubDep3EditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamPopSubDep2Obj container = (ICFBamPopSubDep2Obj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerPopSubDep2(container); ICFBamJavaFXPopSubDep3PaneCommon jpanelCommon = (ICFBamJavaFXPopSubDep3PaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamPopSubDep2Obj) { list.add(buttonAddPopSubDep3); } buttonAddPopTopDep = new CFButton(); buttonAddPopTopDep.setMinWidth(200); buttonAddPopTopDep.setText("Add PopTopDep"); buttonAddPopTopDep.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamPopTopDepObj obj = (ICFBamPopTopDepObj) schemaObj.getPopTopDepTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getPopTopDepFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamPopTopDepEditObj edit = (ICFBamPopTopDepEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamRelationObj container = (ICFBamRelationObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerContRelation(container); ICFBamJavaFXPopTopDepPaneCommon jpanelCommon = (ICFBamJavaFXPopTopDepPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamRelationObj) { list.add(buttonAddPopTopDep); } buttonAddRelation = new CFButton(); buttonAddRelation.setMinWidth(200); buttonAddRelation.setText("Add Relation"); buttonAddRelation.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamRelationObj obj = (ICFBamRelationObj) schemaObj.getRelationTableObj().newInstance(); CFBorderPane frame = javafxSchema.getRelationFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamRelationEditObj edit = (ICFBamRelationEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerRelTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerFromTable(container); ICFBamJavaFXRelationPaneCommon jpanelCommon = (ICFBamJavaFXRelationPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddRelation); } int len = list.size(); CFButton arr[] = new CFButton[len]; Iterator<CFButton> iter = list.iterator(); int idx = 0; while (iter.hasNext()) { arr[idx++] = iter.next(); } Arrays.sort(arr, new CompareCFButtonByText()); for (idx = 0; idx < len; idx++) { vboxMenuAdd.getChildren().add(arr[idx]); } buttonCancelAdd = new CFButton(); buttonCancelAdd.setMinWidth(200); buttonCancelAdd.setText("Cancel Add..."); buttonCancelAdd.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); vboxMenuAdd.getChildren().add(buttonCancelAdd); scrollMenuAdd = new ScrollPane(); scrollMenuAdd.setMinWidth(240); scrollMenuAdd.setMaxWidth(240); scrollMenuAdd.setFitToWidth(true); scrollMenuAdd.setHbarPolicy(ScrollBarPolicy.NEVER); scrollMenuAdd.setVbarPolicy(ScrollBarPolicy.AS_NEEDED); scrollMenuAdd.setContent(vboxMenuAdd); buttonAdd = new CFButton(); buttonAdd.setMinWidth(200); buttonAdd.setText("Add..."); buttonAdd.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { setLeft(scrollMenuAdd); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonAdd); buttonViewSelected = new CFButton(); buttonViewSelected.setMinWidth(200); buttonViewSelected.setText("View Selected"); buttonViewSelected.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); if (schemaObj == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "schemaObj"); } ICFBamScopeObj selectedInstance = getJavaFXFocusAsScope(); if (selectedInstance != null) { String classCode = selectedInstance.getClassCode(); if ("SCOP".equals(classCode)) { CFBorderPane frame = javafxSchema.getScopeFactory().newViewEditForm(cfFormManager, selectedInstance, getViewEditClosedCallback(), false); ((ICFBamJavaFXScopePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("SCHM".equals(classCode)) { ICFBamSchemaDefObj obj = (ICFBamSchemaDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getSchemaDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXSchemaDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("SCRF".equals(classCode)) { ICFBamSchemaRefObj obj = (ICFBamSchemaRefObj) selectedInstance; CFBorderPane frame = javafxSchema.getSchemaRefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXSchemaRefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("SRVM".equals(classCode)) { ICFBamServerMethodObj obj = (ICFBamServerMethodObj) selectedInstance; CFBorderPane frame = javafxSchema.getServerMethodFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXServerMethodPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("SRVO".equals(classCode)) { ICFBamServerObjFuncObj obj = (ICFBamServerObjFuncObj) selectedInstance; CFBorderPane frame = javafxSchema.getServerObjFuncFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXServerObjFuncPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("SRVP".equals(classCode)) { ICFBamServerProcObj obj = (ICFBamServerProcObj) selectedInstance; CFBorderPane frame = javafxSchema.getServerProcFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXServerProcPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("SRVL".equals(classCode)) { ICFBamServerListFuncObj obj = (ICFBamServerListFuncObj) selectedInstance; CFBorderPane frame = javafxSchema.getServerListFuncFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXServerListFuncPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TBLD".equals(classCode)) { ICFBamTableObj obj = (ICFBamTableObj) selectedInstance; CFBorderPane frame = javafxSchema.getTableFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTablePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("CLRD".equals(classCode)) { ICFBamClearDepObj obj = (ICFBamClearDepObj) selectedInstance; CFBorderPane frame = javafxSchema.getClearDepFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXClearDepPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("CLR1".equals(classCode)) { ICFBamClearSubDep1Obj obj = (ICFBamClearSubDep1Obj) selectedInstance; CFBorderPane frame = javafxSchema.getClearSubDep1Factory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXClearSubDep1PaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("CLR2".equals(classCode)) { ICFBamClearSubDep2Obj obj = (ICFBamClearSubDep2Obj) selectedInstance; CFBorderPane frame = javafxSchema.getClearSubDep2Factory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXClearSubDep2PaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("CLR3".equals(classCode)) { ICFBamClearSubDep3Obj obj = (ICFBamClearSubDep3Obj) selectedInstance; CFBorderPane frame = javafxSchema.getClearSubDep3Factory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXClearSubDep3PaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("CLRT".equals(classCode)) { ICFBamClearTopDepObj obj = (ICFBamClearTopDepObj) selectedInstance; CFBorderPane frame = javafxSchema.getClearTopDepFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXClearTopDepPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DELD".equals(classCode)) { ICFBamDelDepObj obj = (ICFBamDelDepObj) selectedInstance; CFBorderPane frame = javafxSchema.getDelDepFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXDelDepPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DEL1".equals(classCode)) { ICFBamDelSubDep1Obj obj = (ICFBamDelSubDep1Obj) selectedInstance; CFBorderPane frame = javafxSchema.getDelSubDep1Factory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXDelSubDep1PaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DEL2".equals(classCode)) { ICFBamDelSubDep2Obj obj = (ICFBamDelSubDep2Obj) selectedInstance; CFBorderPane frame = javafxSchema.getDelSubDep2Factory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXDelSubDep2PaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DEL3".equals(classCode)) { ICFBamDelSubDep3Obj obj = (ICFBamDelSubDep3Obj) selectedInstance; CFBorderPane frame = javafxSchema.getDelSubDep3Factory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXDelSubDep3PaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DELT".equals(classCode)) { ICFBamDelTopDepObj obj = (ICFBamDelTopDepObj) selectedInstance; CFBorderPane frame = javafxSchema.getDelTopDepFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXDelTopDepPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("IDXD".equals(classCode)) { ICFBamIndexObj obj = (ICFBamIndexObj) selectedInstance; CFBorderPane frame = javafxSchema.getIndexFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXIndexPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("POPD".equals(classCode)) { ICFBamPopDepObj obj = (ICFBamPopDepObj) selectedInstance; CFBorderPane frame = javafxSchema.getPopDepFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXPopDepPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("POP1".equals(classCode)) { ICFBamPopSubDep1Obj obj = (ICFBamPopSubDep1Obj) selectedInstance; CFBorderPane frame = javafxSchema.getPopSubDep1Factory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXPopSubDep1PaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("POP2".equals(classCode)) { ICFBamPopSubDep2Obj obj = (ICFBamPopSubDep2Obj) selectedInstance; CFBorderPane frame = javafxSchema.getPopSubDep2Factory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXPopSubDep2PaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("POP3".equals(classCode)) { ICFBamPopSubDep3Obj obj = (ICFBamPopSubDep3Obj) selectedInstance; CFBorderPane frame = javafxSchema.getPopSubDep3Factory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXPopSubDep3PaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("POPT".equals(classCode)) { ICFBamPopTopDepObj obj = (ICFBamPopTopDepObj) selectedInstance; CFBorderPane frame = javafxSchema.getPopTopDepFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXPopTopDepPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("RELD".equals(classCode)) { ICFBamRelationObj obj = (ICFBamRelationObj) selectedInstance; CFBorderPane frame = javafxSchema.getRelationFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXRelationPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), S_ProcName, "selectedInstance", selectedInstance, "ICFBamScopeObj, ICFBamSchemaDefObj, ICFBamSchemaRefObj, ICFBamServerMethodObj, ICFBamServerObjFuncObj, ICFBamServerProcObj, ICFBamServerListFuncObj, ICFBamTableObj, ICFBamClearDepObj, ICFBamClearSubDep1Obj, ICFBamClearSubDep2Obj, ICFBamClearSubDep3Obj, ICFBamClearTopDepObj, ICFBamDelDepObj, ICFBamDelSubDep1Obj, ICFBamDelSubDep2Obj, ICFBamDelSubDep3Obj, ICFBamDelTopDepObj, ICFBamIndexObj, ICFBamPopDepObj, ICFBamPopSubDep1Obj, ICFBamPopSubDep2Obj, ICFBamPopSubDep3Obj, ICFBamPopTopDepObj, ICFBamRelationObj"); } } } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonViewSelected); buttonEditSelected = new CFButton(); buttonEditSelected.setMinWidth(200); buttonEditSelected.setText("Edit Selected"); buttonEditSelected.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); if (schemaObj == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "schemaObj"); } ICFBamScopeObj selectedInstance = getJavaFXFocusAsScope(); if (selectedInstance != null) { String classCode = selectedInstance.getClassCode(); if ("SCOP".equals(classCode)) { CFBorderPane frame = javafxSchema.getScopeFactory().newViewEditForm(cfFormManager, selectedInstance, getViewEditClosedCallback(), false); ((ICFBamJavaFXScopePaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("SCHM".equals(classCode)) { ICFBamSchemaDefObj obj = (ICFBamSchemaDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getSchemaDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXSchemaDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("SCRF".equals(classCode)) { ICFBamSchemaRefObj obj = (ICFBamSchemaRefObj) selectedInstance; CFBorderPane frame = javafxSchema.getSchemaRefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXSchemaRefPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("SRVM".equals(classCode)) { ICFBamServerMethodObj obj = (ICFBamServerMethodObj) selectedInstance; CFBorderPane frame = javafxSchema.getServerMethodFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXServerMethodPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("SRVO".equals(classCode)) { ICFBamServerObjFuncObj obj = (ICFBamServerObjFuncObj) selectedInstance; CFBorderPane frame = javafxSchema.getServerObjFuncFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXServerObjFuncPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("SRVP".equals(classCode)) { ICFBamServerProcObj obj = (ICFBamServerProcObj) selectedInstance; CFBorderPane frame = javafxSchema.getServerProcFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXServerProcPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("SRVL".equals(classCode)) { ICFBamServerListFuncObj obj = (ICFBamServerListFuncObj) selectedInstance; CFBorderPane frame = javafxSchema.getServerListFuncFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXServerListFuncPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TBLD".equals(classCode)) { ICFBamTableObj obj = (ICFBamTableObj) selectedInstance; CFBorderPane frame = javafxSchema.getTableFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTablePaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("CLRD".equals(classCode)) { ICFBamClearDepObj obj = (ICFBamClearDepObj) selectedInstance; CFBorderPane frame = javafxSchema.getClearDepFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXClearDepPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("CLR1".equals(classCode)) { ICFBamClearSubDep1Obj obj = (ICFBamClearSubDep1Obj) selectedInstance; CFBorderPane frame = javafxSchema.getClearSubDep1Factory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXClearSubDep1PaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("CLR2".equals(classCode)) { ICFBamClearSubDep2Obj obj = (ICFBamClearSubDep2Obj) selectedInstance; CFBorderPane frame = javafxSchema.getClearSubDep2Factory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXClearSubDep2PaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("CLR3".equals(classCode)) { ICFBamClearSubDep3Obj obj = (ICFBamClearSubDep3Obj) selectedInstance; CFBorderPane frame = javafxSchema.getClearSubDep3Factory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXClearSubDep3PaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("CLRT".equals(classCode)) { ICFBamClearTopDepObj obj = (ICFBamClearTopDepObj) selectedInstance; CFBorderPane frame = javafxSchema.getClearTopDepFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXClearTopDepPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DELD".equals(classCode)) { ICFBamDelDepObj obj = (ICFBamDelDepObj) selectedInstance; CFBorderPane frame = javafxSchema.getDelDepFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXDelDepPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("DEL1".equals(classCode)) { ICFBamDelSubDep1Obj obj = (ICFBamDelSubDep1Obj) selectedInstance; CFBorderPane frame = javafxSchema.getDelSubDep1Factory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXDelSubDep1PaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DEL2".equals(classCode)) { ICFBamDelSubDep2Obj obj = (ICFBamDelSubDep2Obj) selectedInstance; CFBorderPane frame = javafxSchema.getDelSubDep2Factory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXDelSubDep2PaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DEL3".equals(classCode)) { ICFBamDelSubDep3Obj obj = (ICFBamDelSubDep3Obj) selectedInstance; CFBorderPane frame = javafxSchema.getDelSubDep3Factory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXDelSubDep3PaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DELT".equals(classCode)) { ICFBamDelTopDepObj obj = (ICFBamDelTopDepObj) selectedInstance; CFBorderPane frame = javafxSchema.getDelTopDepFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXDelTopDepPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("IDXD".equals(classCode)) { ICFBamIndexObj obj = (ICFBamIndexObj) selectedInstance; CFBorderPane frame = javafxSchema.getIndexFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXIndexPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("POPD".equals(classCode)) { ICFBamPopDepObj obj = (ICFBamPopDepObj) selectedInstance; CFBorderPane frame = javafxSchema.getPopDepFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXPopDepPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("POP1".equals(classCode)) { ICFBamPopSubDep1Obj obj = (ICFBamPopSubDep1Obj) selectedInstance; CFBorderPane frame = javafxSchema.getPopSubDep1Factory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXPopSubDep1PaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("POP2".equals(classCode)) { ICFBamPopSubDep2Obj obj = (ICFBamPopSubDep2Obj) selectedInstance; CFBorderPane frame = javafxSchema.getPopSubDep2Factory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXPopSubDep2PaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("POP3".equals(classCode)) { ICFBamPopSubDep3Obj obj = (ICFBamPopSubDep3Obj) selectedInstance; CFBorderPane frame = javafxSchema.getPopSubDep3Factory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXPopSubDep3PaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("POPT".equals(classCode)) { ICFBamPopTopDepObj obj = (ICFBamPopTopDepObj) selectedInstance; CFBorderPane frame = javafxSchema.getPopTopDepFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXPopTopDepPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("RELD".equals(classCode)) { ICFBamRelationObj obj = (ICFBamRelationObj) selectedInstance; CFBorderPane frame = javafxSchema.getRelationFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXRelationPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), S_ProcName, "selectedInstance", selectedInstance, "ICFBamScopeObj, ICFBamSchemaDefObj, ICFBamSchemaRefObj, ICFBamServerMethodObj, ICFBamServerObjFuncObj, ICFBamServerProcObj, ICFBamServerListFuncObj, ICFBamTableObj, ICFBamClearDepObj, ICFBamClearSubDep1Obj, ICFBamClearSubDep2Obj, ICFBamClearSubDep3Obj, ICFBamClearTopDepObj, ICFBamDelDepObj, ICFBamDelSubDep1Obj, ICFBamDelSubDep2Obj, ICFBamDelSubDep3Obj, ICFBamDelTopDepObj, ICFBamIndexObj, ICFBamPopDepObj, ICFBamPopSubDep1Obj, ICFBamPopSubDep2Obj, ICFBamPopSubDep3Obj, ICFBamPopTopDepObj, ICFBamRelationObj"); } } } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonEditSelected); buttonDeleteSelected = new CFButton(); buttonDeleteSelected.setMinWidth(200); buttonDeleteSelected.setText("Delete Selected"); buttonDeleteSelected.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); if (schemaObj == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "schemaObj"); } ICFBamScopeObj selectedInstance = getJavaFXFocusAsScope(); if (selectedInstance != null) { String classCode = selectedInstance.getClassCode(); if ("SCOP".equals(classCode)) { CFBorderPane frame = javafxSchema.getScopeFactory().newAskDeleteForm(cfFormManager, selectedInstance, getDeleteCallback()); ((ICFBamJavaFXScopePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("SCHM".equals(classCode)) { ICFBamSchemaDefObj obj = (ICFBamSchemaDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getSchemaDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXSchemaDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("SCRF".equals(classCode)) { ICFBamSchemaRefObj obj = (ICFBamSchemaRefObj) selectedInstance; CFBorderPane frame = javafxSchema.getSchemaRefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXSchemaRefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("SRVM".equals(classCode)) { ICFBamServerMethodObj obj = (ICFBamServerMethodObj) selectedInstance; CFBorderPane frame = javafxSchema.getServerMethodFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXServerMethodPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("SRVO".equals(classCode)) { ICFBamServerObjFuncObj obj = (ICFBamServerObjFuncObj) selectedInstance; CFBorderPane frame = javafxSchema.getServerObjFuncFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXServerObjFuncPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("SRVP".equals(classCode)) { ICFBamServerProcObj obj = (ICFBamServerProcObj) selectedInstance; CFBorderPane frame = javafxSchema.getServerProcFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXServerProcPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("SRVL".equals(classCode)) { ICFBamServerListFuncObj obj = (ICFBamServerListFuncObj) selectedInstance; CFBorderPane frame = javafxSchema.getServerListFuncFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXServerListFuncPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TBLD".equals(classCode)) { ICFBamTableObj obj = (ICFBamTableObj) selectedInstance; CFBorderPane frame = javafxSchema.getTableFactory().newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTablePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("CLRD".equals(classCode)) { ICFBamClearDepObj obj = (ICFBamClearDepObj) selectedInstance; CFBorderPane frame = javafxSchema.getClearDepFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXClearDepPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("CLR1".equals(classCode)) { ICFBamClearSubDep1Obj obj = (ICFBamClearSubDep1Obj) selectedInstance; CFBorderPane frame = javafxSchema.getClearSubDep1Factory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXClearSubDep1PaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("CLR2".equals(classCode)) { ICFBamClearSubDep2Obj obj = (ICFBamClearSubDep2Obj) selectedInstance; CFBorderPane frame = javafxSchema.getClearSubDep2Factory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXClearSubDep2PaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("CLR3".equals(classCode)) { ICFBamClearSubDep3Obj obj = (ICFBamClearSubDep3Obj) selectedInstance; CFBorderPane frame = javafxSchema.getClearSubDep3Factory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXClearSubDep3PaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("CLRT".equals(classCode)) { ICFBamClearTopDepObj obj = (ICFBamClearTopDepObj) selectedInstance; CFBorderPane frame = javafxSchema.getClearTopDepFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXClearTopDepPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DELD".equals(classCode)) { ICFBamDelDepObj obj = (ICFBamDelDepObj) selectedInstance; CFBorderPane frame = javafxSchema.getDelDepFactory().newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXDelDepPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DEL1".equals(classCode)) { ICFBamDelSubDep1Obj obj = (ICFBamDelSubDep1Obj) selectedInstance; CFBorderPane frame = javafxSchema.getDelSubDep1Factory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXDelSubDep1PaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DEL2".equals(classCode)) { ICFBamDelSubDep2Obj obj = (ICFBamDelSubDep2Obj) selectedInstance; CFBorderPane frame = javafxSchema.getDelSubDep2Factory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXDelSubDep2PaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DEL3".equals(classCode)) { ICFBamDelSubDep3Obj obj = (ICFBamDelSubDep3Obj) selectedInstance; CFBorderPane frame = javafxSchema.getDelSubDep3Factory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXDelSubDep3PaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DELT".equals(classCode)) { ICFBamDelTopDepObj obj = (ICFBamDelTopDepObj) selectedInstance; CFBorderPane frame = javafxSchema.getDelTopDepFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXDelTopDepPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("IDXD".equals(classCode)) { ICFBamIndexObj obj = (ICFBamIndexObj) selectedInstance; CFBorderPane frame = javafxSchema.getIndexFactory().newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXIndexPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("POPD".equals(classCode)) { ICFBamPopDepObj obj = (ICFBamPopDepObj) selectedInstance; CFBorderPane frame = javafxSchema.getPopDepFactory().newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXPopDepPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("POP1".equals(classCode)) { ICFBamPopSubDep1Obj obj = (ICFBamPopSubDep1Obj) selectedInstance; CFBorderPane frame = javafxSchema.getPopSubDep1Factory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXPopSubDep1PaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("POP2".equals(classCode)) { ICFBamPopSubDep2Obj obj = (ICFBamPopSubDep2Obj) selectedInstance; CFBorderPane frame = javafxSchema.getPopSubDep2Factory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXPopSubDep2PaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("POP3".equals(classCode)) { ICFBamPopSubDep3Obj obj = (ICFBamPopSubDep3Obj) selectedInstance; CFBorderPane frame = javafxSchema.getPopSubDep3Factory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXPopSubDep3PaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("POPT".equals(classCode)) { ICFBamPopTopDepObj obj = (ICFBamPopTopDepObj) selectedInstance; CFBorderPane frame = javafxSchema.getPopTopDepFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXPopTopDepPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("RELD".equals(classCode)) { ICFBamRelationObj obj = (ICFBamRelationObj) selectedInstance; CFBorderPane frame = javafxSchema.getRelationFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXRelationPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), S_ProcName, "selectedInstance", selectedInstance, "ICFBamScopeObj, ICFBamSchemaDefObj, ICFBamSchemaRefObj, ICFBamServerMethodObj, ICFBamServerObjFuncObj, ICFBamServerProcObj, ICFBamServerListFuncObj, ICFBamTableObj, ICFBamClearDepObj, ICFBamClearSubDep1Obj, ICFBamClearSubDep2Obj, ICFBamClearSubDep3Obj, ICFBamClearTopDepObj, ICFBamDelDepObj, ICFBamDelSubDep1Obj, ICFBamDelSubDep2Obj, ICFBamDelSubDep3Obj, ICFBamDelTopDepObj, ICFBamIndexObj, ICFBamPopDepObj, ICFBamPopSubDep1Obj, ICFBamPopSubDep2Obj, ICFBamPopSubDep3Obj, ICFBamPopTopDepObj, ICFBamRelationObj"); } } } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonDeleteSelected); } return (hboxMenu); }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamJavaFX.CFBamJavaFXSchemaDefListPane.java
public CFBamJavaFXSchemaDefListPane(ICFFormManager formManager, ICFBamJavaFXSchema argSchema, ICFInternetDomainBaseObj argContainer, ICFBamSchemaDefObj argFocus, Collection<ICFBamSchemaDefObj> argDataCollection, ICFRefreshCallback refreshCallback, boolean sortByChain) { super();/*from w ww . j a va 2 s .c o m*/ final String S_ProcName = "construct-schema-focus"; if (formManager == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1, "formManager"); } cfFormManager = formManager; if (argSchema == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 2, "argSchema"); } // argFocus is optional; focus may be set later during execution as // conditions of the runtime change. javafxSchema = argSchema; javaFXFocus = argFocus; javafxContainer = argContainer; javafxRefreshCallback = refreshCallback; javafxSortByChain = sortByChain; setJavaFXDataCollection(argDataCollection); dataTable = new TableView<ICFBamSchemaDefObj>(); tableColumnId = new TableColumn<ICFBamSchemaDefObj, Long>("Id"); tableColumnId.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, Long>, ObservableValue<Long>>() { public ObservableValue<Long> call(CellDataFeatures<ICFBamSchemaDefObj, Long> p) { ICFBamScopeObj obj = p.getValue(); if (obj == null) { return (null); } else { long value = obj.getRequiredId(); Long wrapped = new Long(value); ReadOnlyObjectWrapper<Long> observable = new ReadOnlyObjectWrapper<Long>(); observable.setValue(wrapped); return (observable); } } }); tableColumnId.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, Long>, TableCell<ICFBamSchemaDefObj, Long>>() { @Override public TableCell<ICFBamSchemaDefObj, Long> call(TableColumn<ICFBamSchemaDefObj, Long> arg) { return new CFInt64TableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnId); tableColumnName = new TableColumn<ICFBamSchemaDefObj, String>("Name"); tableColumnName.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getRequiredName(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnName.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFStringTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnName); tableColumnDbName = new TableColumn<ICFBamSchemaDefObj, String>("Db Name"); tableColumnDbName.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalDbName(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnDbName.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFStringTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnDbName); tableColumnShortName = new TableColumn<ICFBamSchemaDefObj, String>("Short Name"); tableColumnShortName.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalShortName(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnShortName.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFStringTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnShortName); tableColumnLabel = new TableColumn<ICFBamSchemaDefObj, String>("Label"); tableColumnLabel.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalLabel(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnLabel.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFStringTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnLabel); tableColumnShortDescription = new TableColumn<ICFBamSchemaDefObj, String>("Short Description"); tableColumnShortDescription.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalShortDescription(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnShortDescription.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFStringTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnShortDescription); tableColumnDescription = new TableColumn<ICFBamSchemaDefObj, String>("Description"); tableColumnDescription.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalDescription(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnDescription.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFStringTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnDescription); tableColumnExtendCFCore = new TableColumn<ICFBamSchemaDefObj, Boolean>("Extend CF Core"); tableColumnExtendCFCore.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, Boolean>, ObservableValue<Boolean>>() { public ObservableValue<Boolean> call(CellDataFeatures<ICFBamSchemaDefObj, Boolean> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { boolean value = obj.getRequiredExtendCFCore(); Boolean wrapped = new Boolean(value); ReadOnlyObjectWrapper<Boolean> observable = new ReadOnlyObjectWrapper<Boolean>(); observable.setValue(wrapped); return (observable); } } }); tableColumnExtendCFCore.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, Boolean>, TableCell<ICFBamSchemaDefObj, Boolean>>() { @Override public TableCell<ICFBamSchemaDefObj, Boolean> call( TableColumn<ICFBamSchemaDefObj, Boolean> arg) { return new CFBoolTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnExtendCFCore); tableColumnCopyrightPeriod = new TableColumn<ICFBamSchemaDefObj, String>("Copyright Period"); tableColumnCopyrightPeriod.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getRequiredCopyrightPeriod(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnCopyrightPeriod.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFStringTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnCopyrightPeriod); tableColumnCopyrightHolder = new TableColumn<ICFBamSchemaDefObj, String>("Copyright Holder"); tableColumnCopyrightHolder.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getRequiredCopyrightHolder(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnCopyrightHolder.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFStringTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnCopyrightHolder); tableColumnPublishURI = new TableColumn<ICFBamSchemaDefObj, String>("Publish URI"); tableColumnPublishURI.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getRequiredPublishURI(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnPublishURI.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFStringTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnPublishURI); tableColumnJSchemaObjImport = new TableColumn<ICFBamSchemaDefObj, String>("JSchemaObjImport"); tableColumnJSchemaObjImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSchemaObjImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSchemaObjImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJSchemaObjImport); tableColumnJSchemaObjInterface = new TableColumn<ICFBamSchemaDefObj, String>("JSchemaObjInterface"); tableColumnJSchemaObjInterface.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSchemaObjInterface(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSchemaObjInterface.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJSchemaObjInterface); tableColumnJSchemaObjMembers = new TableColumn<ICFBamSchemaDefObj, String>("JSchemaObjMembers"); tableColumnJSchemaObjMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSchemaObjMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSchemaObjMembers.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJSchemaObjMembers); tableColumnJSchemaObjImplementation = new TableColumn<ICFBamSchemaDefObj, String>( "JSchemaObjImplementation"); tableColumnJSchemaObjImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSchemaObjImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSchemaObjImplementation.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJSchemaObjImplementation); tableColumnJDb2LUWSchemaObjMembers = new TableColumn<ICFBamSchemaDefObj, String>("JDb2LUWSchemaObjMembers"); tableColumnJDb2LUWSchemaObjMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJDb2LUWSchemaObjMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJDb2LUWSchemaObjMembers.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJDb2LUWSchemaObjMembers); tableColumnJDb2LUWSchemaObjImpl = new TableColumn<ICFBamSchemaDefObj, String>("JDb2LUWSchemaObjImpl"); tableColumnJDb2LUWSchemaObjImpl.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJDb2LUWSchemaObjImpl(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJDb2LUWSchemaObjImpl.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJDb2LUWSchemaObjImpl); tableColumnJDb2LUWSchemaObjImport = new TableColumn<ICFBamSchemaDefObj, String>("JDb2LUWSchemaObjImport"); tableColumnJDb2LUWSchemaObjImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJDb2LUWSchemaObjImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJDb2LUWSchemaObjImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJDb2LUWSchemaObjImport); tableColumnJMSSqlSchemaObjMembers = new TableColumn<ICFBamSchemaDefObj, String>("JMSSqlSchemaObjMembers"); tableColumnJMSSqlSchemaObjMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMSSqlSchemaObjMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMSSqlSchemaObjMembers.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJMSSqlSchemaObjMembers); tableColumnJMSSqlSchemaObjImpl = new TableColumn<ICFBamSchemaDefObj, String>("JMSSqlSchemaObjImpl"); tableColumnJMSSqlSchemaObjImpl.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMSSqlSchemaObjImpl(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMSSqlSchemaObjImpl.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJMSSqlSchemaObjImpl); tableColumnJMSSqlSchemaObjImport = new TableColumn<ICFBamSchemaDefObj, String>("JMSSqlSchemaObjImport"); tableColumnJMSSqlSchemaObjImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMSSqlSchemaObjImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMSSqlSchemaObjImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJMSSqlSchemaObjImport); tableColumnJMySqlSchemaObjMembers = new TableColumn<ICFBamSchemaDefObj, String>("JMySqlSchemaObjMembers"); tableColumnJMySqlSchemaObjMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMySqlSchemaObjMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMySqlSchemaObjMembers.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJMySqlSchemaObjMembers); tableColumnJMySqlSchemaObjImpl = new TableColumn<ICFBamSchemaDefObj, String>("JMySqlSchemaObjImpl"); tableColumnJMySqlSchemaObjImpl.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMySqlSchemaObjImpl(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMySqlSchemaObjImpl.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJMySqlSchemaObjImpl); tableColumnJMySqlSchemaObjImport = new TableColumn<ICFBamSchemaDefObj, String>("JMySqlSchemaObjImport"); tableColumnJMySqlSchemaObjImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMySqlSchemaObjImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMySqlSchemaObjImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJMySqlSchemaObjImport); tableColumnJOracleSchemaObjMembers = new TableColumn<ICFBamSchemaDefObj, String>("JOracleSchemaObjMembers"); tableColumnJOracleSchemaObjMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJOracleSchemaObjMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJOracleSchemaObjMembers.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJOracleSchemaObjMembers); tableColumnJOracleSchemaObjImpl = new TableColumn<ICFBamSchemaDefObj, String>("JOracleSchemaObjImpl"); tableColumnJOracleSchemaObjImpl.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJOracleSchemaObjImpl(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJOracleSchemaObjImpl.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJOracleSchemaObjImpl); tableColumnJOracleSchemaObjImport = new TableColumn<ICFBamSchemaDefObj, String>("JOracleSchemaObjImport"); tableColumnJOracleSchemaObjImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJOracleSchemaObjImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJOracleSchemaObjImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJOracleSchemaObjImport); tableColumnJPgSqlSchemaObjMembers = new TableColumn<ICFBamSchemaDefObj, String>("JPgSqlSchemaObjMembers"); tableColumnJPgSqlSchemaObjMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJPgSqlSchemaObjMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJPgSqlSchemaObjMembers.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJPgSqlSchemaObjMembers); tableColumnJPgSqlSchemaObjImpl = new TableColumn<ICFBamSchemaDefObj, String>("JPgSqlSchemaObjImpl"); tableColumnJPgSqlSchemaObjImpl.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJPgSqlSchemaObjImpl(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJPgSqlSchemaObjImpl.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJPgSqlSchemaObjImpl); tableColumnJPgSqlSchemaObjImport = new TableColumn<ICFBamSchemaDefObj, String>("JPgSqlSchemaObjImport"); tableColumnJPgSqlSchemaObjImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJPgSqlSchemaObjImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJPgSqlSchemaObjImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJPgSqlSchemaObjImport); tableColumnJSybaseSchemaObjMembers = new TableColumn<ICFBamSchemaDefObj, String>("JSybaseSchemaObjMembers"); tableColumnJSybaseSchemaObjMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSybaseSchemaObjMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSybaseSchemaObjMembers.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJSybaseSchemaObjMembers); tableColumnJSybaseSchemaObjImpl = new TableColumn<ICFBamSchemaDefObj, String>("JSybaseSchemaObjImpl"); tableColumnJSybaseSchemaObjImpl.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSybaseSchemaObjImpl(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSybaseSchemaObjImpl.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJSybaseSchemaObjImpl); tableColumnJSybaseSchemaObjImport = new TableColumn<ICFBamSchemaDefObj, String>("JSybaseSchemaObjImport"); tableColumnJSybaseSchemaObjImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSybaseSchemaObjImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSybaseSchemaObjImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJSybaseSchemaObjImport); tableColumnJRamSchemaObjMembers = new TableColumn<ICFBamSchemaDefObj, String>("JRamSchemaObjMembers"); tableColumnJRamSchemaObjMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJRamSchemaObjMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJRamSchemaObjMembers.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJRamSchemaObjMembers); tableColumnJRamSchemaObjImpl = new TableColumn<ICFBamSchemaDefObj, String>("JRamSchemaObjImpl"); tableColumnJRamSchemaObjImpl.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJRamSchemaObjImpl(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJRamSchemaObjImpl.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJRamSchemaObjImpl); tableColumnJRamSchemaObjImport = new TableColumn<ICFBamSchemaDefObj, String>("JRamSchemaObjImport"); tableColumnJRamSchemaObjImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJRamSchemaObjImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJRamSchemaObjImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJRamSchemaObjImport); tableColumnJXMsgSchemaImport = new TableColumn<ICFBamSchemaDefObj, String>("JXMsgSchemaImport"); tableColumnJXMsgSchemaImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgSchemaImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgSchemaImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgSchemaImport); tableColumnJXMsgSchemaFormatters = new TableColumn<ICFBamSchemaDefObj, String>("JXMsgSchemaFormatters"); tableColumnJXMsgSchemaFormatters.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgSchemaFormatters(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgSchemaFormatters.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgSchemaFormatters); tableColumnJXMsgClientSchemaImport = new TableColumn<ICFBamSchemaDefObj, String>("JXMsgClientSchemaImport"); tableColumnJXMsgClientSchemaImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgClientSchemaImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgClientSchemaImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgClientSchemaImport); tableColumnJXMsgClientSchemaBody = new TableColumn<ICFBamSchemaDefObj, String>("JXMsgClientSchemaBody"); tableColumnJXMsgClientSchemaBody.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgClientSchemaBody(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgClientSchemaBody.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgClientSchemaBody); tableColumnJXMsgRqstSchemaBody = new TableColumn<ICFBamSchemaDefObj, String>("JXMsgRqstSchemaBody"); tableColumnJXMsgRqstSchemaBody.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRqstSchemaBody(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRqstSchemaBody.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRqstSchemaBody); tableColumnJXMsgRqstSchemaImport = new TableColumn<ICFBamSchemaDefObj, String>("JXMsgRqstSchemaImport"); tableColumnJXMsgRqstSchemaImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRqstSchemaImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRqstSchemaImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRqstSchemaImport); tableColumnJXMsgRqstSchemaWireParsers = new TableColumn<ICFBamSchemaDefObj, String>( "JXMsgRqstSchemaWireParsers"); tableColumnJXMsgRqstSchemaWireParsers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRqstSchemaWireParsers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRqstSchemaWireParsers.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRqstSchemaWireParsers); tableColumnJXMsgRqstSchemaXsdSpec = new TableColumn<ICFBamSchemaDefObj, String>("JXMsgRqstSchemaXsdSpec"); tableColumnJXMsgRqstSchemaXsdSpec.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRqstSchemaXsdSpec(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRqstSchemaXsdSpec.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRqstSchemaXsdSpec); tableColumnJXMsgRqstSchemaXsdElementList = new TableColumn<ICFBamSchemaDefObj, String>( "JXMsgRqstSchemaXsdElementList"); tableColumnJXMsgRqstSchemaXsdElementList.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRqstSchemaXsdElementList(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRqstSchemaXsdElementList.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRqstSchemaXsdElementList); tableColumnJXMsgRspnSchemaBody = new TableColumn<ICFBamSchemaDefObj, String>("JXMsgRspnSchemaBody"); tableColumnJXMsgRspnSchemaBody.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRspnSchemaBody(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRspnSchemaBody.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRspnSchemaBody); tableColumnJXMsgRspnSchemaImport = new TableColumn<ICFBamSchemaDefObj, String>("JXMsgRspnSchemaImport"); tableColumnJXMsgRspnSchemaImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRspnSchemaImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRspnSchemaImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRspnSchemaImport); tableColumnJXMsgRspnSchemaWireParsers = new TableColumn<ICFBamSchemaDefObj, String>( "JXMsgRspnSchemaWireParsers"); tableColumnJXMsgRspnSchemaWireParsers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRspnSchemaWireParsers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRspnSchemaWireParsers.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRspnSchemaWireParsers); tableColumnJXMsgRspnSchemaXsdElementList = new TableColumn<ICFBamSchemaDefObj, String>( "JXMsgRspnSchemaXsdElementList"); tableColumnJXMsgRspnSchemaXsdElementList.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRspnSchemaXsdElementList(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRspnSchemaXsdElementList.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRspnSchemaXsdElementList); tableColumnJXMsgRspnSchemaXsdSpec = new TableColumn<ICFBamSchemaDefObj, String>("JXMsgRspnSchemaXsdSpec"); tableColumnJXMsgRspnSchemaXsdSpec.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRspnSchemaXsdSpec(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRspnSchemaXsdSpec.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRspnSchemaXsdSpec); tableColumnLookupDefaultLicense = new TableColumn<ICFBamSchemaDefObj, ICFInternetLicenseObj>( "Default License"); tableColumnLookupDefaultLicense.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, ICFInternetLicenseObj>, ObservableValue<ICFInternetLicenseObj>>() { public ObservableValue<ICFInternetLicenseObj> call( CellDataFeatures<ICFBamSchemaDefObj, ICFInternetLicenseObj> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { ICFInternetLicenseObj ref = obj.getOptionalLookupDefaultLicense(); ReadOnlyObjectWrapper<ICFInternetLicenseObj> observable = new ReadOnlyObjectWrapper<ICFInternetLicenseObj>(); observable.setValue(ref); return (observable); } } }); tableColumnLookupDefaultLicense.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, ICFInternetLicenseObj>, TableCell<ICFBamSchemaDefObj, ICFInternetLicenseObj>>() { @Override public TableCell<ICFBamSchemaDefObj, ICFInternetLicenseObj> call( TableColumn<ICFBamSchemaDefObj, ICFInternetLicenseObj> arg) { return new CFReferenceTableCell<ICFBamSchemaDefObj, ICFInternetLicenseObj>(); } }); dataTable.getColumns().add(tableColumnLookupDefaultLicense); dataTable.getSelectionModel().selectedItemProperty().addListener(new ChangeListener<ICFBamSchemaDefObj>() { @Override public void changed(ObservableValue<? extends ICFBamSchemaDefObj> observable, ICFBamSchemaDefObj oldValue, ICFBamSchemaDefObj newValue) { setJavaFXFocus(newValue); } }); scrollMenu = new ScrollPane(); scrollMenu.setVbarPolicy(ScrollBarPolicy.NEVER); scrollMenu.setHbarPolicy(ScrollBarPolicy.AS_NEEDED); scrollMenu.setFitToHeight(true); scrollMenu.setContent(getPanelHBoxMenu()); setTop(scrollMenu); setCenter(dataTable); javafxIsInitializing = false; if (observableListOfSchemaDef != null) { dataTable.setItems(observableListOfSchemaDef); } adjustListButtons(); }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamJavaFX.CFBamJavaFXTableListPane.java
public CFBamJavaFXTableListPane(ICFFormManager formManager, ICFBamJavaFXSchema argSchema, ICFBamSchemaDefObj argContainer, ICFBamTableObj argFocus, Collection<ICFBamTableObj> argDataCollection, ICFRefreshCallback refreshCallback, boolean sortByChain) { super();/*from ww w .ja v a2 s .c om*/ final String S_ProcName = "construct-schema-focus"; if (formManager == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1, "formManager"); } cfFormManager = formManager; if (argSchema == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 2, "argSchema"); } // argFocus is optional; focus may be set later during execution as // conditions of the runtime change. javafxSchema = argSchema; javaFXFocus = argFocus; javafxContainer = argContainer; javafxRefreshCallback = refreshCallback; javafxSortByChain = sortByChain; setJavaFXDataCollection(argDataCollection); dataTable = new TableView<ICFBamTableObj>(); tableColumnId = new TableColumn<ICFBamTableObj, Long>("Id"); tableColumnId .setCellValueFactory(new Callback<CellDataFeatures<ICFBamTableObj, Long>, ObservableValue<Long>>() { public ObservableValue<Long> call(CellDataFeatures<ICFBamTableObj, Long> p) { ICFBamScopeObj obj = p.getValue(); if (obj == null) { return (null); } else { long value = obj.getRequiredId(); Long wrapped = new Long(value); ReadOnlyObjectWrapper<Long> observable = new ReadOnlyObjectWrapper<Long>(); observable.setValue(wrapped); return (observable); } } }); tableColumnId .setCellFactory(new Callback<TableColumn<ICFBamTableObj, Long>, TableCell<ICFBamTableObj, Long>>() { @Override public TableCell<ICFBamTableObj, Long> call(TableColumn<ICFBamTableObj, Long> arg) { return new CFInt64TableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnId); tableColumnName = new TableColumn<ICFBamTableObj, String>("Name"); tableColumnName.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getRequiredName(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnName.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFStringTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnName); tableColumnDbName = new TableColumn<ICFBamTableObj, String>("Db Name"); tableColumnDbName.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalDbName(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnDbName.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFStringTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnDbName); tableColumnShortName = new TableColumn<ICFBamTableObj, String>("Short Name"); tableColumnShortName.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalShortName(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnShortName.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFStringTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnShortName); tableColumnLabel = new TableColumn<ICFBamTableObj, String>("Label"); tableColumnLabel.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalLabel(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnLabel.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFStringTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnLabel); tableColumnShortDescription = new TableColumn<ICFBamTableObj, String>("Short Description"); tableColumnShortDescription.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalShortDescription(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnShortDescription.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFStringTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnShortDescription); tableColumnDescription = new TableColumn<ICFBamTableObj, String>("Description"); tableColumnDescription.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalDescription(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnDescription.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFStringTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnDescription); tableColumnPageData = new TableColumn<ICFBamTableObj, Boolean>("PageData"); tableColumnPageData.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, Boolean>, ObservableValue<Boolean>>() { public ObservableValue<Boolean> call(CellDataFeatures<ICFBamTableObj, Boolean> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { boolean value = obj.getRequiredPageData(); Boolean wrapped = new Boolean(value); ReadOnlyObjectWrapper<Boolean> observable = new ReadOnlyObjectWrapper<Boolean>(); observable.setValue(wrapped); return (observable); } } }); tableColumnPageData.setCellFactory( new Callback<TableColumn<ICFBamTableObj, Boolean>, TableCell<ICFBamTableObj, Boolean>>() { @Override public TableCell<ICFBamTableObj, Boolean> call(TableColumn<ICFBamTableObj, Boolean> arg) { return new CFBoolTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnPageData); tableColumnTableClassCode = new TableColumn<ICFBamTableObj, String>("Table Class Code"); tableColumnTableClassCode.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getRequiredTableClassCode(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnTableClassCode.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFStringTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnTableClassCode); tableColumnPolyBase = new TableColumn<ICFBamTableObj, Boolean>("Polymorphic Base"); tableColumnPolyBase.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, Boolean>, ObservableValue<Boolean>>() { public ObservableValue<Boolean> call(CellDataFeatures<ICFBamTableObj, Boolean> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { boolean value = obj.getRequiredPolyBase(); Boolean wrapped = new Boolean(value); ReadOnlyObjectWrapper<Boolean> observable = new ReadOnlyObjectWrapper<Boolean>(); observable.setValue(wrapped); return (observable); } } }); tableColumnPolyBase.setCellFactory( new Callback<TableColumn<ICFBamTableObj, Boolean>, TableCell<ICFBamTableObj, Boolean>>() { @Override public TableCell<ICFBamTableObj, Boolean> call(TableColumn<ICFBamTableObj, Boolean> arg) { return new CFBoolTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnPolyBase); tableColumnIsInstantiable = new TableColumn<ICFBamTableObj, Boolean>("Is Instantiable"); tableColumnIsInstantiable.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, Boolean>, ObservableValue<Boolean>>() { public ObservableValue<Boolean> call(CellDataFeatures<ICFBamTableObj, Boolean> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { boolean value = obj.getRequiredIsInstantiable(); Boolean wrapped = new Boolean(value); ReadOnlyObjectWrapper<Boolean> observable = new ReadOnlyObjectWrapper<Boolean>(); observable.setValue(wrapped); return (observable); } } }); tableColumnIsInstantiable.setCellFactory( new Callback<TableColumn<ICFBamTableObj, Boolean>, TableCell<ICFBamTableObj, Boolean>>() { @Override public TableCell<ICFBamTableObj, Boolean> call(TableColumn<ICFBamTableObj, Boolean> arg) { return new CFBoolTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnIsInstantiable); tableColumnHasHistory = new TableColumn<ICFBamTableObj, Boolean>("Has History"); tableColumnHasHistory.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, Boolean>, ObservableValue<Boolean>>() { public ObservableValue<Boolean> call(CellDataFeatures<ICFBamTableObj, Boolean> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { boolean value = obj.getRequiredHasHistory(); Boolean wrapped = new Boolean(value); ReadOnlyObjectWrapper<Boolean> observable = new ReadOnlyObjectWrapper<Boolean>(); observable.setValue(wrapped); return (observable); } } }); tableColumnHasHistory.setCellFactory( new Callback<TableColumn<ICFBamTableObj, Boolean>, TableCell<ICFBamTableObj, Boolean>>() { @Override public TableCell<ICFBamTableObj, Boolean> call(TableColumn<ICFBamTableObj, Boolean> arg) { return new CFBoolTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnHasHistory); tableColumnHasAuditColumns = new TableColumn<ICFBamTableObj, Boolean>("Has Audit Columns"); tableColumnHasAuditColumns.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, Boolean>, ObservableValue<Boolean>>() { public ObservableValue<Boolean> call(CellDataFeatures<ICFBamTableObj, Boolean> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { boolean value = obj.getRequiredHasAuditColumns(); Boolean wrapped = new Boolean(value); ReadOnlyObjectWrapper<Boolean> observable = new ReadOnlyObjectWrapper<Boolean>(); observable.setValue(wrapped); return (observable); } } }); tableColumnHasAuditColumns.setCellFactory( new Callback<TableColumn<ICFBamTableObj, Boolean>, TableCell<ICFBamTableObj, Boolean>>() { @Override public TableCell<ICFBamTableObj, Boolean> call(TableColumn<ICFBamTableObj, Boolean> arg) { return new CFBoolTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnHasAuditColumns); tableColumnLoaderBehaviour = new TableColumn<ICFBamTableObj, ICFBamSchema.LoaderBehaviourEnum>( "Loader Behaviour"); tableColumnLoaderBehaviour.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, ICFBamSchema.LoaderBehaviourEnum>, ObservableValue<ICFBamSchema.LoaderBehaviourEnum>>() { public ObservableValue<ICFBamSchema.LoaderBehaviourEnum> call( CellDataFeatures<ICFBamTableObj, ICFBamSchema.LoaderBehaviourEnum> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { ICFBamSchema.LoaderBehaviourEnum value = obj.getRequiredLoaderBehaviour(); ReadOnlyObjectWrapper<ICFBamSchema.LoaderBehaviourEnum> observable = new ReadOnlyObjectWrapper<ICFBamSchema.LoaderBehaviourEnum>(); observable.setValue(value); return (observable); } } }); tableColumnLoaderBehaviour.setCellFactory( new Callback<TableColumn<ICFBamTableObj, ICFBamSchema.LoaderBehaviourEnum>, TableCell<ICFBamTableObj, ICFBamSchema.LoaderBehaviourEnum>>() { @Override public TableCell<ICFBamTableObj, ICFBamSchema.LoaderBehaviourEnum> call( TableColumn<ICFBamTableObj, ICFBamSchema.LoaderBehaviourEnum> arg) { return new CFEnumTableCell<ICFBamTableObj, ICFBamSchema.LoaderBehaviourEnum>(); } }); dataTable.getColumns().add(tableColumnLoaderBehaviour); tableColumnSecurityScope = new TableColumn<ICFBamTableObj, ICFBamSchema.SecurityScopeEnum>( "Security Scope"); tableColumnSecurityScope.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, ICFBamSchema.SecurityScopeEnum>, ObservableValue<ICFBamSchema.SecurityScopeEnum>>() { public ObservableValue<ICFBamSchema.SecurityScopeEnum> call( CellDataFeatures<ICFBamTableObj, ICFBamSchema.SecurityScopeEnum> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { ICFBamSchema.SecurityScopeEnum value = obj.getRequiredSecurityScope(); ReadOnlyObjectWrapper<ICFBamSchema.SecurityScopeEnum> observable = new ReadOnlyObjectWrapper<ICFBamSchema.SecurityScopeEnum>(); observable.setValue(value); return (observable); } } }); tableColumnSecurityScope.setCellFactory( new Callback<TableColumn<ICFBamTableObj, ICFBamSchema.SecurityScopeEnum>, TableCell<ICFBamTableObj, ICFBamSchema.SecurityScopeEnum>>() { @Override public TableCell<ICFBamTableObj, ICFBamSchema.SecurityScopeEnum> call( TableColumn<ICFBamTableObj, ICFBamSchema.SecurityScopeEnum> arg) { return new CFEnumTableCell<ICFBamTableObj, ICFBamSchema.SecurityScopeEnum>(); } }); dataTable.getColumns().add(tableColumnSecurityScope); tableColumnJObjMembers = new TableColumn<ICFBamTableObj, String>("JObjMembers"); tableColumnJObjMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJObjMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJObjMembers.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJObjMembers); tableColumnJObjInterface = new TableColumn<ICFBamTableObj, String>("JObjInterface"); tableColumnJObjInterface.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJObjInterface(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJObjInterface.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJObjInterface); tableColumnJObjImport = new TableColumn<ICFBamTableObj, String>("JObjImport"); tableColumnJObjImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJObjImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJObjImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJObjImport); tableColumnJObjImplementation = new TableColumn<ICFBamTableObj, String>("JObjImplementation"); tableColumnJObjImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJObjImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJObjImplementation.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJObjImplementation); tableColumnJEditObjMembers = new TableColumn<ICFBamTableObj, String>("JEditObjMembers"); tableColumnJEditObjMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJEditObjMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJEditObjMembers.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJEditObjMembers); tableColumnJEditObjInterface = new TableColumn<ICFBamTableObj, String>("JEditObjInterface"); tableColumnJEditObjInterface.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJEditObjInterface(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJEditObjInterface.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJEditObjInterface); tableColumnJEditObjImport = new TableColumn<ICFBamTableObj, String>("JEditObjImport"); tableColumnJEditObjImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJEditObjImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJEditObjImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJEditObjImport); tableColumnJEditObjImplementation = new TableColumn<ICFBamTableObj, String>("JEditObjImplementation"); tableColumnJEditObjImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJEditObjImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJEditObjImplementation.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJEditObjImplementation); tableColumnJTableImport = new TableColumn<ICFBamTableObj, String>("JTableImport"); tableColumnJTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJTableImport); tableColumnJTableMembers = new TableColumn<ICFBamTableObj, String>("JTableMembers"); tableColumnJTableMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJTableMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJTableMembers.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJTableMembers); tableColumnJTableInterface = new TableColumn<ICFBamTableObj, String>("JTableInterface"); tableColumnJTableInterface.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJTableInterface(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJTableInterface.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJTableInterface); tableColumnJTableImplementation = new TableColumn<ICFBamTableObj, String>("JTableImplementation"); tableColumnJTableImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJTableImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJTableImplementation.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJTableImplementation); tableColumnJTableObjImport = new TableColumn<ICFBamTableObj, String>("JTableObjImport"); tableColumnJTableObjImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJTableObjImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJTableObjImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJTableObjImport); tableColumnJTableObjMembers = new TableColumn<ICFBamTableObj, String>("JTableObjMembers"); tableColumnJTableObjMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJTableObjMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJTableObjMembers.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJTableObjMembers); tableColumnJTableObjInterface = new TableColumn<ICFBamTableObj, String>("JTableObjInterface"); tableColumnJTableObjInterface.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJTableObjInterface(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJTableObjInterface.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJTableObjInterface); tableColumnJTableObjImplementation = new TableColumn<ICFBamTableObj, String>("JTableObjImplementation"); tableColumnJTableObjImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJTableObjImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJTableObjImplementation.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJTableObjImplementation); tableColumnJDb2LUWTableImport = new TableColumn<ICFBamTableObj, String>("JDb2LUWTableImport"); tableColumnJDb2LUWTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJDb2LUWTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJDb2LUWTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJDb2LUWTableImport); tableColumnJDb2LUWTableMembers = new TableColumn<ICFBamTableObj, String>("JDb2LUWTableMembers"); tableColumnJDb2LUWTableMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJDb2LUWTableMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJDb2LUWTableMembers.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJDb2LUWTableMembers); tableColumnJDb2LUWTableImplementation = new TableColumn<ICFBamTableObj, String>( "JDb2LUWTableImplementation"); tableColumnJDb2LUWTableImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJDb2LUWTableImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJDb2LUWTableImplementation.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJDb2LUWTableImplementation); tableColumnJMSSqlTableImport = new TableColumn<ICFBamTableObj, String>("JMSSqlTableImport"); tableColumnJMSSqlTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMSSqlTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMSSqlTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJMSSqlTableImport); tableColumnJMSSqlTableMembers = new TableColumn<ICFBamTableObj, String>("JMSSqlTableMembers"); tableColumnJMSSqlTableMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMSSqlTableMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMSSqlTableMembers.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJMSSqlTableMembers); tableColumnJMSSqlTableImplementation = new TableColumn<ICFBamTableObj, String>("JMSSqlTableImplementation"); tableColumnJMSSqlTableImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMSSqlTableImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMSSqlTableImplementation.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJMSSqlTableImplementation); tableColumnJMySqlTableImport = new TableColumn<ICFBamTableObj, String>("JMySqlTableImport"); tableColumnJMySqlTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMySqlTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMySqlTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJMySqlTableImport); tableColumnJMySqlTableMembers = new TableColumn<ICFBamTableObj, String>("JMySqlTableMembers"); tableColumnJMySqlTableMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMySqlTableMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMySqlTableMembers.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJMySqlTableMembers); tableColumnJMySqlTableImplementation = new TableColumn<ICFBamTableObj, String>("JMySqlTableImplementation"); tableColumnJMySqlTableImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMySqlTableImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMySqlTableImplementation.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJMySqlTableImplementation); tableColumnJOracleTableImport = new TableColumn<ICFBamTableObj, String>("JOracleTableImport"); tableColumnJOracleTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJOracleTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJOracleTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJOracleTableImport); tableColumnJOracleTableMembers = new TableColumn<ICFBamTableObj, String>("JOracleTableMembers"); tableColumnJOracleTableMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJOracleTableMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJOracleTableMembers.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJOracleTableMembers); tableColumnJOracleTableImplementation = new TableColumn<ICFBamTableObj, String>( "JOracleTableImplementation"); tableColumnJOracleTableImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJOracleTableImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJOracleTableImplementation.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJOracleTableImplementation); tableColumnJPgSqlTableImport = new TableColumn<ICFBamTableObj, String>("JPgSqlTableImport"); tableColumnJPgSqlTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJPgSqlTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJPgSqlTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJPgSqlTableImport); tableColumnJPgSqlTableMembers = new TableColumn<ICFBamTableObj, String>("JPgSqlTableMembers"); tableColumnJPgSqlTableMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJPgSqlTableMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJPgSqlTableMembers.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJPgSqlTableMembers); tableColumnJPgSqlTableImplementation = new TableColumn<ICFBamTableObj, String>("JPgSqlTableImplementation"); tableColumnJPgSqlTableImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJPgSqlTableImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJPgSqlTableImplementation.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJPgSqlTableImplementation); tableColumnJSybaseTableImport = new TableColumn<ICFBamTableObj, String>("JSybaseTableImport"); tableColumnJSybaseTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSybaseTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSybaseTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJSybaseTableImport); tableColumnJSybaseTableMembers = new TableColumn<ICFBamTableObj, String>("JSybaseTableMembers"); tableColumnJSybaseTableMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSybaseTableMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSybaseTableMembers.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJSybaseTableMembers); tableColumnJSybaseTableImplementation = new TableColumn<ICFBamTableObj, String>( "JSybaseTableImplementation"); tableColumnJSybaseTableImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSybaseTableImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSybaseTableImplementation.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJSybaseTableImplementation); tableColumnJRamTableImport = new TableColumn<ICFBamTableObj, String>("JRamTableImport"); tableColumnJRamTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJRamTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJRamTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJRamTableImport); tableColumnJRamTableMembers = new TableColumn<ICFBamTableObj, String>("JRamTableMembers"); tableColumnJRamTableMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJRamTableMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJRamTableMembers.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJRamTableMembers); tableColumnJRamTableImplementation = new TableColumn<ICFBamTableObj, String>("JRamTableImplementation"); tableColumnJRamTableImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJRamTableImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJRamTableImplementation.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJRamTableImplementation); tableColumnJSaxLoaderImport = new TableColumn<ICFBamTableObj, String>("JSaxLoaderImport"); tableColumnJSaxLoaderImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSaxLoaderImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSaxLoaderImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJSaxLoaderImport); tableColumnJSaxLoaderStartElement = new TableColumn<ICFBamTableObj, String>("JSaxLoaderStartElement"); tableColumnJSaxLoaderStartElement.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSaxLoaderStartElement(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSaxLoaderStartElement.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJSaxLoaderStartElement); tableColumnJSaxLoaderEndElement = new TableColumn<ICFBamTableObj, String>("JSaxLoaderEndElement"); tableColumnJSaxLoaderEndElement.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSaxLoaderEndElement(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSaxLoaderEndElement.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJSaxLoaderEndElement); tableColumnJXMsgTableImport = new TableColumn<ICFBamTableObj, String>("JXMsgTableImport"); tableColumnJXMsgTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgTableImport); tableColumnJXMsgTableFormatters = new TableColumn<ICFBamTableObj, String>("JXMsgTableFormatters"); tableColumnJXMsgTableFormatters.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgTableFormatters(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgTableFormatters.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgTableFormatters); tableColumnJXMsgRqstTableImport = new TableColumn<ICFBamTableObj, String>("JXMsgRqstTableImport"); tableColumnJXMsgRqstTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRqstTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRqstTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRqstTableImport); tableColumnJXMsgRspnTableImport = new TableColumn<ICFBamTableObj, String>("JXMsgRspnTableImport"); tableColumnJXMsgRspnTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRspnTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRspnTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRspnTableImport); tableColumnJXMsgClientTableImport = new TableColumn<ICFBamTableObj, String>("JXMsgClientTableImport"); tableColumnJXMsgClientTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgClientTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgClientTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgClientTableImport); tableColumnJXMsgRqstTableBody = new TableColumn<ICFBamTableObj, String>("JXMsgRqstTableBody"); tableColumnJXMsgRqstTableBody.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRqstTableBody(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRqstTableBody.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRqstTableBody); tableColumnJXMsgRspnTableBody = new TableColumn<ICFBamTableObj, String>("JXMsgRspnTableBody"); tableColumnJXMsgRspnTableBody.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRspnTableBody(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRspnTableBody.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRspnTableBody); tableColumnJXMsgClientTableBody = new TableColumn<ICFBamTableObj, String>("JXMsgClientTableBody"); tableColumnJXMsgClientTableBody.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgClientTableBody(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgClientTableBody.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgClientTableBody); tableColumnDefaultVisibility = new TableColumn<ICFBamTableObj, Boolean>("DefaultVisibility"); tableColumnDefaultVisibility.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, Boolean>, ObservableValue<Boolean>>() { public ObservableValue<Boolean> call(CellDataFeatures<ICFBamTableObj, Boolean> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { boolean value = obj.getRequiredDefaultVisibility(); Boolean wrapped = new Boolean(value); ReadOnlyObjectWrapper<Boolean> observable = new ReadOnlyObjectWrapper<Boolean>(); observable.setValue(wrapped); return (observable); } } }); tableColumnDefaultVisibility.setCellFactory( new Callback<TableColumn<ICFBamTableObj, Boolean>, TableCell<ICFBamTableObj, Boolean>>() { @Override public TableCell<ICFBamTableObj, Boolean> call(TableColumn<ICFBamTableObj, Boolean> arg) { return new CFBoolTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnDefaultVisibility); tableColumnLookupDefSchema = new TableColumn<ICFBamTableObj, ICFBamSchemaDefObj>( "Defining Schema Definition"); tableColumnLookupDefSchema.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, ICFBamSchemaDefObj>, ObservableValue<ICFBamSchemaDefObj>>() { public ObservableValue<ICFBamSchemaDefObj> call( CellDataFeatures<ICFBamTableObj, ICFBamSchemaDefObj> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { ICFBamSchemaDefObj ref = obj.getOptionalLookupDefSchema(); ReadOnlyObjectWrapper<ICFBamSchemaDefObj> observable = new ReadOnlyObjectWrapper<ICFBamSchemaDefObj>(); observable.setValue(ref); return (observable); } } }); tableColumnLookupDefSchema.setCellFactory( new Callback<TableColumn<ICFBamTableObj, ICFBamSchemaDefObj>, TableCell<ICFBamTableObj, ICFBamSchemaDefObj>>() { @Override public TableCell<ICFBamTableObj, ICFBamSchemaDefObj> call( TableColumn<ICFBamTableObj, ICFBamSchemaDefObj> arg) { return new CFReferenceTableCell<ICFBamTableObj, ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnLookupDefSchema); tableColumnLookupLookupIndex = new TableColumn<ICFBamTableObj, ICFBamIndexObj>("Lookup Index"); tableColumnLookupLookupIndex.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, ICFBamIndexObj>, ObservableValue<ICFBamIndexObj>>() { public ObservableValue<ICFBamIndexObj> call( CellDataFeatures<ICFBamTableObj, ICFBamIndexObj> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { ICFBamIndexObj ref = obj.getOptionalLookupLookupIndex(); ReadOnlyObjectWrapper<ICFBamIndexObj> observable = new ReadOnlyObjectWrapper<ICFBamIndexObj>(); observable.setValue(ref); return (observable); } } }); tableColumnLookupLookupIndex.setCellFactory( new Callback<TableColumn<ICFBamTableObj, ICFBamIndexObj>, TableCell<ICFBamTableObj, ICFBamIndexObj>>() { @Override public TableCell<ICFBamTableObj, ICFBamIndexObj> call( TableColumn<ICFBamTableObj, ICFBamIndexObj> arg) { return new CFReferenceTableCell<ICFBamTableObj, ICFBamIndexObj>(); } }); dataTable.getColumns().add(tableColumnLookupLookupIndex); tableColumnLookupAltIndex = new TableColumn<ICFBamTableObj, ICFBamIndexObj>("Alt Index"); tableColumnLookupAltIndex.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, ICFBamIndexObj>, ObservableValue<ICFBamIndexObj>>() { public ObservableValue<ICFBamIndexObj> call( CellDataFeatures<ICFBamTableObj, ICFBamIndexObj> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { ICFBamIndexObj ref = obj.getOptionalLookupAltIndex(); ReadOnlyObjectWrapper<ICFBamIndexObj> observable = new ReadOnlyObjectWrapper<ICFBamIndexObj>(); observable.setValue(ref); return (observable); } } }); tableColumnLookupAltIndex.setCellFactory( new Callback<TableColumn<ICFBamTableObj, ICFBamIndexObj>, TableCell<ICFBamTableObj, ICFBamIndexObj>>() { @Override public TableCell<ICFBamTableObj, ICFBamIndexObj> call( TableColumn<ICFBamTableObj, ICFBamIndexObj> arg) { return new CFReferenceTableCell<ICFBamTableObj, ICFBamIndexObj>(); } }); dataTable.getColumns().add(tableColumnLookupAltIndex); tableColumnLookupQualTable = new TableColumn<ICFBamTableObj, ICFBamTableObj>("Qualifying Table"); tableColumnLookupQualTable.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, ICFBamTableObj>, ObservableValue<ICFBamTableObj>>() { public ObservableValue<ICFBamTableObj> call( CellDataFeatures<ICFBamTableObj, ICFBamTableObj> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { ICFBamTableObj ref = obj.getOptionalLookupQualTable(); ReadOnlyObjectWrapper<ICFBamTableObj> observable = new ReadOnlyObjectWrapper<ICFBamTableObj>(); observable.setValue(ref); return (observable); } } }); tableColumnLookupQualTable.setCellFactory( new Callback<TableColumn<ICFBamTableObj, ICFBamTableObj>, TableCell<ICFBamTableObj, ICFBamTableObj>>() { @Override public TableCell<ICFBamTableObj, ICFBamTableObj> call( TableColumn<ICFBamTableObj, ICFBamTableObj> arg) { return new CFReferenceTableCell<ICFBamTableObj, ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnLookupQualTable); tableColumnLookupPrimaryIndex = new TableColumn<ICFBamTableObj, ICFBamIndexObj>("Primary Index"); tableColumnLookupPrimaryIndex.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, ICFBamIndexObj>, ObservableValue<ICFBamIndexObj>>() { public ObservableValue<ICFBamIndexObj> call( CellDataFeatures<ICFBamTableObj, ICFBamIndexObj> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { ICFBamIndexObj ref = obj.getOptionalLookupPrimaryIndex(); ReadOnlyObjectWrapper<ICFBamIndexObj> observable = new ReadOnlyObjectWrapper<ICFBamIndexObj>(); observable.setValue(ref); return (observable); } } }); tableColumnLookupPrimaryIndex.setCellFactory( new Callback<TableColumn<ICFBamTableObj, ICFBamIndexObj>, TableCell<ICFBamTableObj, ICFBamIndexObj>>() { @Override public TableCell<ICFBamTableObj, ICFBamIndexObj> call( TableColumn<ICFBamTableObj, ICFBamIndexObj> arg) { return new CFReferenceTableCell<ICFBamTableObj, ICFBamIndexObj>(); } }); dataTable.getColumns().add(tableColumnLookupPrimaryIndex); dataTable.getSelectionModel().selectedItemProperty().addListener(new ChangeListener<ICFBamTableObj>() { @Override public void changed(ObservableValue<? extends ICFBamTableObj> observable, ICFBamTableObj oldValue, ICFBamTableObj newValue) { setJavaFXFocus(newValue); } }); scrollMenu = new ScrollPane(); scrollMenu.setVbarPolicy(ScrollBarPolicy.NEVER); scrollMenu.setHbarPolicy(ScrollBarPolicy.AS_NEEDED); scrollMenu.setFitToHeight(true); scrollMenu.setContent(getPanelHBoxMenu()); setTop(scrollMenu); setCenter(dataTable); javafxIsInitializing = false; if (observableListOfTable != null) { dataTable.setItems(observableListOfTable); } adjustListButtons(); }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamJavaFX.CFBamJavaFXAtomListPane.java
public CFHBox getPanelHBoxMenu() { if (hboxMenu == null) { hboxMenu = new CFHBox(10); LinkedList<CFButton> list = new LinkedList<CFButton>(); vboxMenuAdd = new CFVBox(10); buttonAddBlobType = new CFButton(); buttonAddBlobType.setMinWidth(200); buttonAddBlobType.setText("Add BlobType"); buttonAddBlobType.setOnAction(new EventHandler<ActionEvent>() { @Override//from w w w . j av a 2 s. c o m public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamBlobTypeObj obj = (ICFBamBlobTypeObj) schemaObj.getBlobTypeTableObj().newInstance(); CFBorderPane frame = javafxSchema.getBlobTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamBlobTypeEditObj edit = (ICFBamBlobTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXBlobTypePaneCommon jpanelCommon = (ICFBamJavaFXBlobTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddBlobType); } buttonAddBlobCol = new CFButton(); buttonAddBlobCol.setMinWidth(200); buttonAddBlobCol.setText("Add BlobCol"); buttonAddBlobCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamBlobColObj obj = (ICFBamBlobColObj) schemaObj.getBlobColTableObj().newInstance(); CFBorderPane frame = javafxSchema.getBlobColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamBlobColEditObj edit = (ICFBamBlobColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXBlobColPaneCommon jpanelCommon = (ICFBamJavaFXBlobColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddBlobCol); } buttonAddBoolType = new CFButton(); buttonAddBoolType.setMinWidth(200); buttonAddBoolType.setText("Add BoolType"); buttonAddBoolType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamBoolTypeObj obj = (ICFBamBoolTypeObj) schemaObj.getBoolTypeTableObj().newInstance(); CFBorderPane frame = javafxSchema.getBoolTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamBoolTypeEditObj edit = (ICFBamBoolTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXBoolTypePaneCommon jpanelCommon = (ICFBamJavaFXBoolTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddBoolType); } buttonAddBoolCol = new CFButton(); buttonAddBoolCol.setMinWidth(200); buttonAddBoolCol.setText("Add BoolCol"); buttonAddBoolCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamBoolColObj obj = (ICFBamBoolColObj) schemaObj.getBoolColTableObj().newInstance(); CFBorderPane frame = javafxSchema.getBoolColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamBoolColEditObj edit = (ICFBamBoolColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXBoolColPaneCommon jpanelCommon = (ICFBamJavaFXBoolColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddBoolCol); } buttonAddDateType = new CFButton(); buttonAddDateType.setMinWidth(200); buttonAddDateType.setText("Add DateType"); buttonAddDateType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamDateTypeObj obj = (ICFBamDateTypeObj) schemaObj.getDateTypeTableObj().newInstance(); CFBorderPane frame = javafxSchema.getDateTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamDateTypeEditObj edit = (ICFBamDateTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXDateTypePaneCommon jpanelCommon = (ICFBamJavaFXDateTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddDateType); } buttonAddDateCol = new CFButton(); buttonAddDateCol.setMinWidth(200); buttonAddDateCol.setText("Add DateCol"); buttonAddDateCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamDateColObj obj = (ICFBamDateColObj) schemaObj.getDateColTableObj().newInstance(); CFBorderPane frame = javafxSchema.getDateColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamDateColEditObj edit = (ICFBamDateColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXDateColPaneCommon jpanelCommon = (ICFBamJavaFXDateColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddDateCol); } buttonAddDoubleType = new CFButton(); buttonAddDoubleType.setMinWidth(200); buttonAddDoubleType.setText("Add DoubleType"); buttonAddDoubleType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamDoubleTypeObj obj = (ICFBamDoubleTypeObj) schemaObj.getDoubleTypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getDoubleTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamDoubleTypeEditObj edit = (ICFBamDoubleTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXDoubleTypePaneCommon jpanelCommon = (ICFBamJavaFXDoubleTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddDoubleType); } buttonAddDoubleCol = new CFButton(); buttonAddDoubleCol.setMinWidth(200); buttonAddDoubleCol.setText("Add DoubleCol"); buttonAddDoubleCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamDoubleColObj obj = (ICFBamDoubleColObj) schemaObj.getDoubleColTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getDoubleColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamDoubleColEditObj edit = (ICFBamDoubleColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXDoubleColPaneCommon jpanelCommon = (ICFBamJavaFXDoubleColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddDoubleCol); } buttonAddFloatType = new CFButton(); buttonAddFloatType.setMinWidth(200); buttonAddFloatType.setText("Add FloatType"); buttonAddFloatType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamFloatTypeObj obj = (ICFBamFloatTypeObj) schemaObj.getFloatTypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getFloatTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamFloatTypeEditObj edit = (ICFBamFloatTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXFloatTypePaneCommon jpanelCommon = (ICFBamJavaFXFloatTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddFloatType); } buttonAddFloatCol = new CFButton(); buttonAddFloatCol.setMinWidth(200); buttonAddFloatCol.setText("Add FloatCol"); buttonAddFloatCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamFloatColObj obj = (ICFBamFloatColObj) schemaObj.getFloatColTableObj().newInstance(); CFBorderPane frame = javafxSchema.getFloatColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamFloatColEditObj edit = (ICFBamFloatColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXFloatColPaneCommon jpanelCommon = (ICFBamJavaFXFloatColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddFloatCol); } buttonAddInt16Type = new CFButton(); buttonAddInt16Type.setMinWidth(200); buttonAddInt16Type.setText("Add Int16Type"); buttonAddInt16Type.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamInt16TypeObj obj = (ICFBamInt16TypeObj) schemaObj.getInt16TypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getInt16TypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamInt16TypeEditObj edit = (ICFBamInt16TypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXInt16TypePaneCommon jpanelCommon = (ICFBamJavaFXInt16TypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddInt16Type); } buttonAddId16Gen = new CFButton(); buttonAddId16Gen.setMinWidth(200); buttonAddId16Gen.setText("Add Id16Gen"); buttonAddId16Gen.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamId16GenObj obj = (ICFBamId16GenObj) schemaObj.getId16GenTableObj().newInstance(); CFBorderPane frame = javafxSchema.getId16GenFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamId16GenEditObj edit = (ICFBamId16GenEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXId16GenPaneCommon jpanelCommon = (ICFBamJavaFXId16GenPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddId16Gen); } buttonAddEnumType = new CFButton(); buttonAddEnumType.setMinWidth(200); buttonAddEnumType.setText("Add EnumType"); buttonAddEnumType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamEnumTypeObj obj = (ICFBamEnumTypeObj) schemaObj.getEnumTypeTableObj().newInstance(); CFBorderPane frame = javafxSchema.getEnumTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamEnumTypeEditObj edit = (ICFBamEnumTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXEnumTypePaneCommon jpanelCommon = (ICFBamJavaFXEnumTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddEnumType); } buttonAddInt16Col = new CFButton(); buttonAddInt16Col.setMinWidth(200); buttonAddInt16Col.setText("Add Int16Col"); buttonAddInt16Col.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamInt16ColObj obj = (ICFBamInt16ColObj) schemaObj.getInt16ColTableObj().newInstance(); CFBorderPane frame = javafxSchema.getInt16ColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamInt16ColEditObj edit = (ICFBamInt16ColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXInt16ColPaneCommon jpanelCommon = (ICFBamJavaFXInt16ColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddInt16Col); } buttonAddInt32Type = new CFButton(); buttonAddInt32Type.setMinWidth(200); buttonAddInt32Type.setText("Add Int32Type"); buttonAddInt32Type.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamInt32TypeObj obj = (ICFBamInt32TypeObj) schemaObj.getInt32TypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getInt32TypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamInt32TypeEditObj edit = (ICFBamInt32TypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXInt32TypePaneCommon jpanelCommon = (ICFBamJavaFXInt32TypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddInt32Type); } buttonAddId32Gen = new CFButton(); buttonAddId32Gen.setMinWidth(200); buttonAddId32Gen.setText("Add Id32Gen"); buttonAddId32Gen.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamId32GenObj obj = (ICFBamId32GenObj) schemaObj.getId32GenTableObj().newInstance(); CFBorderPane frame = javafxSchema.getId32GenFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamId32GenEditObj edit = (ICFBamId32GenEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXId32GenPaneCommon jpanelCommon = (ICFBamJavaFXId32GenPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddId32Gen); } buttonAddInt32Col = new CFButton(); buttonAddInt32Col.setMinWidth(200); buttonAddInt32Col.setText("Add Int32Col"); buttonAddInt32Col.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamInt32ColObj obj = (ICFBamInt32ColObj) schemaObj.getInt32ColTableObj().newInstance(); CFBorderPane frame = javafxSchema.getInt32ColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamInt32ColEditObj edit = (ICFBamInt32ColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXInt32ColPaneCommon jpanelCommon = (ICFBamJavaFXInt32ColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddInt32Col); } buttonAddInt64Type = new CFButton(); buttonAddInt64Type.setMinWidth(200); buttonAddInt64Type.setText("Add Int64Type"); buttonAddInt64Type.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamInt64TypeObj obj = (ICFBamInt64TypeObj) schemaObj.getInt64TypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getInt64TypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamInt64TypeEditObj edit = (ICFBamInt64TypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXInt64TypePaneCommon jpanelCommon = (ICFBamJavaFXInt64TypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddInt64Type); } buttonAddId64Gen = new CFButton(); buttonAddId64Gen.setMinWidth(200); buttonAddId64Gen.setText("Add Id64Gen"); buttonAddId64Gen.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamId64GenObj obj = (ICFBamId64GenObj) schemaObj.getId64GenTableObj().newInstance(); CFBorderPane frame = javafxSchema.getId64GenFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamId64GenEditObj edit = (ICFBamId64GenEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXId64GenPaneCommon jpanelCommon = (ICFBamJavaFXId64GenPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddId64Gen); } buttonAddInt64Col = new CFButton(); buttonAddInt64Col.setMinWidth(200); buttonAddInt64Col.setText("Add Int64Col"); buttonAddInt64Col.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamInt64ColObj obj = (ICFBamInt64ColObj) schemaObj.getInt64ColTableObj().newInstance(); CFBorderPane frame = javafxSchema.getInt64ColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamInt64ColEditObj edit = (ICFBamInt64ColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXInt64ColPaneCommon jpanelCommon = (ICFBamJavaFXInt64ColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddInt64Col); } buttonAddNmTokenType = new CFButton(); buttonAddNmTokenType.setMinWidth(200); buttonAddNmTokenType.setText("Add NmTokenType"); buttonAddNmTokenType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamNmTokenTypeObj obj = (ICFBamNmTokenTypeObj) schemaObj.getNmTokenTypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getNmTokenTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamNmTokenTypeEditObj edit = (ICFBamNmTokenTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXNmTokenTypePaneCommon jpanelCommon = (ICFBamJavaFXNmTokenTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddNmTokenType); } buttonAddNmTokenCol = new CFButton(); buttonAddNmTokenCol.setMinWidth(200); buttonAddNmTokenCol.setText("Add NmTokenCol"); buttonAddNmTokenCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamNmTokenColObj obj = (ICFBamNmTokenColObj) schemaObj.getNmTokenColTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getNmTokenColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamNmTokenColEditObj edit = (ICFBamNmTokenColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXNmTokenColPaneCommon jpanelCommon = (ICFBamJavaFXNmTokenColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddNmTokenCol); } buttonAddNmTokensType = new CFButton(); buttonAddNmTokensType.setMinWidth(200); buttonAddNmTokensType.setText("Add NmTokensType"); buttonAddNmTokensType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamNmTokensTypeObj obj = (ICFBamNmTokensTypeObj) schemaObj.getNmTokensTypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getNmTokensTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamNmTokensTypeEditObj edit = (ICFBamNmTokensTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXNmTokensTypePaneCommon jpanelCommon = (ICFBamJavaFXNmTokensTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddNmTokensType); } buttonAddNmTokensCol = new CFButton(); buttonAddNmTokensCol.setMinWidth(200); buttonAddNmTokensCol.setText("Add NmTokensCol"); buttonAddNmTokensCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamNmTokensColObj obj = (ICFBamNmTokensColObj) schemaObj.getNmTokensColTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getNmTokensColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamNmTokensColEditObj edit = (ICFBamNmTokensColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXNmTokensColPaneCommon jpanelCommon = (ICFBamJavaFXNmTokensColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddNmTokensCol); } buttonAddNumberType = new CFButton(); buttonAddNumberType.setMinWidth(200); buttonAddNumberType.setText("Add NumberType"); buttonAddNumberType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamNumberTypeObj obj = (ICFBamNumberTypeObj) schemaObj.getNumberTypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getNumberTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamNumberTypeEditObj edit = (ICFBamNumberTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXNumberTypePaneCommon jpanelCommon = (ICFBamJavaFXNumberTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddNumberType); } buttonAddNumberCol = new CFButton(); buttonAddNumberCol.setMinWidth(200); buttonAddNumberCol.setText("Add NumberCol"); buttonAddNumberCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamNumberColObj obj = (ICFBamNumberColObj) schemaObj.getNumberColTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getNumberColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamNumberColEditObj edit = (ICFBamNumberColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXNumberColPaneCommon jpanelCommon = (ICFBamJavaFXNumberColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddNumberCol); } buttonAddStringType = new CFButton(); buttonAddStringType.setMinWidth(200); buttonAddStringType.setText("Add StringType"); buttonAddStringType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamStringTypeObj obj = (ICFBamStringTypeObj) schemaObj.getStringTypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getStringTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamStringTypeEditObj edit = (ICFBamStringTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXStringTypePaneCommon jpanelCommon = (ICFBamJavaFXStringTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddStringType); } buttonAddStringCol = new CFButton(); buttonAddStringCol.setMinWidth(200); buttonAddStringCol.setText("Add StringCol"); buttonAddStringCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamStringColObj obj = (ICFBamStringColObj) schemaObj.getStringColTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getStringColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamStringColEditObj edit = (ICFBamStringColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXStringColPaneCommon jpanelCommon = (ICFBamJavaFXStringColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddStringCol); } buttonAddTZDateType = new CFButton(); buttonAddTZDateType.setMinWidth(200); buttonAddTZDateType.setText("Add TZDateType"); buttonAddTZDateType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamTZDateTypeObj obj = (ICFBamTZDateTypeObj) schemaObj.getTZDateTypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getTZDateTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamTZDateTypeEditObj edit = (ICFBamTZDateTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXTZDateTypePaneCommon jpanelCommon = (ICFBamJavaFXTZDateTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddTZDateType); } buttonAddTZDateCol = new CFButton(); buttonAddTZDateCol.setMinWidth(200); buttonAddTZDateCol.setText("Add TZDateCol"); buttonAddTZDateCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamTZDateColObj obj = (ICFBamTZDateColObj) schemaObj.getTZDateColTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getTZDateColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamTZDateColEditObj edit = (ICFBamTZDateColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXTZDateColPaneCommon jpanelCommon = (ICFBamJavaFXTZDateColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddTZDateCol); } buttonAddTZTimeType = new CFButton(); buttonAddTZTimeType.setMinWidth(200); buttonAddTZTimeType.setText("Add TZTimeType"); buttonAddTZTimeType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamTZTimeTypeObj obj = (ICFBamTZTimeTypeObj) schemaObj.getTZTimeTypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getTZTimeTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamTZTimeTypeEditObj edit = (ICFBamTZTimeTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXTZTimeTypePaneCommon jpanelCommon = (ICFBamJavaFXTZTimeTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddTZTimeType); } buttonAddTZTimeCol = new CFButton(); buttonAddTZTimeCol.setMinWidth(200); buttonAddTZTimeCol.setText("Add TZTimeCol"); buttonAddTZTimeCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamTZTimeColObj obj = (ICFBamTZTimeColObj) schemaObj.getTZTimeColTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getTZTimeColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamTZTimeColEditObj edit = (ICFBamTZTimeColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXTZTimeColPaneCommon jpanelCommon = (ICFBamJavaFXTZTimeColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddTZTimeCol); } buttonAddTZTimestampType = new CFButton(); buttonAddTZTimestampType.setMinWidth(200); buttonAddTZTimestampType.setText("Add TZTimestampType"); buttonAddTZTimestampType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamTZTimestampTypeObj obj = (ICFBamTZTimestampTypeObj) schemaObj .getTZTimestampTypeTableObj().newInstance(); CFBorderPane frame = javafxSchema.getTZTimestampTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamTZTimestampTypeEditObj edit = (ICFBamTZTimestampTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXTZTimestampTypePaneCommon jpanelCommon = (ICFBamJavaFXTZTimestampTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddTZTimestampType); } buttonAddTZTimestampCol = new CFButton(); buttonAddTZTimestampCol.setMinWidth(200); buttonAddTZTimestampCol.setText("Add TZTimestampCol"); buttonAddTZTimestampCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamTZTimestampColObj obj = (ICFBamTZTimestampColObj) schemaObj .getTZTimestampColTableObj().newInstance(); CFBorderPane frame = javafxSchema.getTZTimestampColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamTZTimestampColEditObj edit = (ICFBamTZTimestampColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXTZTimestampColPaneCommon jpanelCommon = (ICFBamJavaFXTZTimestampColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddTZTimestampCol); } buttonAddTextType = new CFButton(); buttonAddTextType.setMinWidth(200); buttonAddTextType.setText("Add TextType"); buttonAddTextType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamTextTypeObj obj = (ICFBamTextTypeObj) schemaObj.getTextTypeTableObj().newInstance(); CFBorderPane frame = javafxSchema.getTextTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamTextTypeEditObj edit = (ICFBamTextTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXTextTypePaneCommon jpanelCommon = (ICFBamJavaFXTextTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddTextType); } buttonAddTextCol = new CFButton(); buttonAddTextCol.setMinWidth(200); buttonAddTextCol.setText("Add TextCol"); buttonAddTextCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamTextColObj obj = (ICFBamTextColObj) schemaObj.getTextColTableObj().newInstance(); CFBorderPane frame = javafxSchema.getTextColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamTextColEditObj edit = (ICFBamTextColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXTextColPaneCommon jpanelCommon = (ICFBamJavaFXTextColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddTextCol); } buttonAddTimeType = new CFButton(); buttonAddTimeType.setMinWidth(200); buttonAddTimeType.setText("Add TimeType"); buttonAddTimeType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamTimeTypeObj obj = (ICFBamTimeTypeObj) schemaObj.getTimeTypeTableObj().newInstance(); CFBorderPane frame = javafxSchema.getTimeTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamTimeTypeEditObj edit = (ICFBamTimeTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXTimeTypePaneCommon jpanelCommon = (ICFBamJavaFXTimeTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddTimeType); } buttonAddTimeCol = new CFButton(); buttonAddTimeCol.setMinWidth(200); buttonAddTimeCol.setText("Add TimeCol"); buttonAddTimeCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamTimeColObj obj = (ICFBamTimeColObj) schemaObj.getTimeColTableObj().newInstance(); CFBorderPane frame = javafxSchema.getTimeColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamTimeColEditObj edit = (ICFBamTimeColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXTimeColPaneCommon jpanelCommon = (ICFBamJavaFXTimeColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddTimeCol); } buttonAddTimestampType = new CFButton(); buttonAddTimestampType.setMinWidth(200); buttonAddTimestampType.setText("Add TimestampType"); buttonAddTimestampType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamTimestampTypeObj obj = (ICFBamTimestampTypeObj) schemaObj.getTimestampTypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getTimestampTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamTimestampTypeEditObj edit = (ICFBamTimestampTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXTimestampTypePaneCommon jpanelCommon = (ICFBamJavaFXTimestampTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddTimestampType); } buttonAddTimestampCol = new CFButton(); buttonAddTimestampCol.setMinWidth(200); buttonAddTimestampCol.setText("Add TimestampCol"); buttonAddTimestampCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamTimestampColObj obj = (ICFBamTimestampColObj) schemaObj.getTimestampColTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getTimestampColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamTimestampColEditObj edit = (ICFBamTimestampColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXTimestampColPaneCommon jpanelCommon = (ICFBamJavaFXTimestampColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddTimestampCol); } buttonAddTokenType = new CFButton(); buttonAddTokenType.setMinWidth(200); buttonAddTokenType.setText("Add TokenType"); buttonAddTokenType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamTokenTypeObj obj = (ICFBamTokenTypeObj) schemaObj.getTokenTypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getTokenTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamTokenTypeEditObj edit = (ICFBamTokenTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXTokenTypePaneCommon jpanelCommon = (ICFBamJavaFXTokenTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddTokenType); } buttonAddTokenCol = new CFButton(); buttonAddTokenCol.setMinWidth(200); buttonAddTokenCol.setText("Add TokenCol"); buttonAddTokenCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamTokenColObj obj = (ICFBamTokenColObj) schemaObj.getTokenColTableObj().newInstance(); CFBorderPane frame = javafxSchema.getTokenColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamTokenColEditObj edit = (ICFBamTokenColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXTokenColPaneCommon jpanelCommon = (ICFBamJavaFXTokenColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddTokenCol); } buttonAddUInt16Type = new CFButton(); buttonAddUInt16Type.setMinWidth(200); buttonAddUInt16Type.setText("Add UInt16Type"); buttonAddUInt16Type.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamUInt16TypeObj obj = (ICFBamUInt16TypeObj) schemaObj.getUInt16TypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getUInt16TypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamUInt16TypeEditObj edit = (ICFBamUInt16TypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXUInt16TypePaneCommon jpanelCommon = (ICFBamJavaFXUInt16TypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddUInt16Type); } buttonAddUInt16Col = new CFButton(); buttonAddUInt16Col.setMinWidth(200); buttonAddUInt16Col.setText("Add UInt16Col"); buttonAddUInt16Col.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamUInt16ColObj obj = (ICFBamUInt16ColObj) schemaObj.getUInt16ColTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getUInt16ColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamUInt16ColEditObj edit = (ICFBamUInt16ColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXUInt16ColPaneCommon jpanelCommon = (ICFBamJavaFXUInt16ColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddUInt16Col); } buttonAddUInt32Type = new CFButton(); buttonAddUInt32Type.setMinWidth(200); buttonAddUInt32Type.setText("Add UInt32Type"); buttonAddUInt32Type.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamUInt32TypeObj obj = (ICFBamUInt32TypeObj) schemaObj.getUInt32TypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getUInt32TypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamUInt32TypeEditObj edit = (ICFBamUInt32TypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXUInt32TypePaneCommon jpanelCommon = (ICFBamJavaFXUInt32TypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddUInt32Type); } buttonAddUInt32Col = new CFButton(); buttonAddUInt32Col.setMinWidth(200); buttonAddUInt32Col.setText("Add UInt32Col"); buttonAddUInt32Col.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamUInt32ColObj obj = (ICFBamUInt32ColObj) schemaObj.getUInt32ColTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getUInt32ColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamUInt32ColEditObj edit = (ICFBamUInt32ColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXUInt32ColPaneCommon jpanelCommon = (ICFBamJavaFXUInt32ColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddUInt32Col); } buttonAddUInt64Type = new CFButton(); buttonAddUInt64Type.setMinWidth(200); buttonAddUInt64Type.setText("Add UInt64Type"); buttonAddUInt64Type.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamUInt64TypeObj obj = (ICFBamUInt64TypeObj) schemaObj.getUInt64TypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getUInt64TypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamUInt64TypeEditObj edit = (ICFBamUInt64TypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXUInt64TypePaneCommon jpanelCommon = (ICFBamJavaFXUInt64TypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddUInt64Type); } buttonAddUInt64Col = new CFButton(); buttonAddUInt64Col.setMinWidth(200); buttonAddUInt64Col.setText("Add UInt64Col"); buttonAddUInt64Col.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamUInt64ColObj obj = (ICFBamUInt64ColObj) schemaObj.getUInt64ColTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getUInt64ColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamUInt64ColEditObj edit = (ICFBamUInt64ColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXUInt64ColPaneCommon jpanelCommon = (ICFBamJavaFXUInt64ColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddUInt64Col); } buttonAddUuidType = new CFButton(); buttonAddUuidType.setMinWidth(200); buttonAddUuidType.setText("Add UuidType"); buttonAddUuidType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamUuidTypeObj obj = (ICFBamUuidTypeObj) schemaObj.getUuidTypeTableObj().newInstance(); CFBorderPane frame = javafxSchema.getUuidTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamUuidTypeEditObj edit = (ICFBamUuidTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXUuidTypePaneCommon jpanelCommon = (ICFBamJavaFXUuidTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddUuidType); } buttonAddUuidGen = new CFButton(); buttonAddUuidGen.setMinWidth(200); buttonAddUuidGen.setText("Add UuidGen"); buttonAddUuidGen.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamUuidGenObj obj = (ICFBamUuidGenObj) schemaObj.getUuidGenTableObj().newInstance(); CFBorderPane frame = javafxSchema.getUuidGenFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamUuidGenEditObj edit = (ICFBamUuidGenEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXUuidGenPaneCommon jpanelCommon = (ICFBamJavaFXUuidGenPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddUuidGen); } buttonAddUuidCol = new CFButton(); buttonAddUuidCol.setMinWidth(200); buttonAddUuidCol.setText("Add UuidCol"); buttonAddUuidCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamUuidColObj obj = (ICFBamUuidColObj) schemaObj.getUuidColTableObj().newInstance(); CFBorderPane frame = javafxSchema.getUuidColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamUuidColEditObj edit = (ICFBamUuidColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXUuidColPaneCommon jpanelCommon = (ICFBamJavaFXUuidColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddUuidCol); } int len = list.size(); CFButton arr[] = new CFButton[len]; Iterator<CFButton> iter = list.iterator(); int idx = 0; while (iter.hasNext()) { arr[idx++] = iter.next(); } Arrays.sort(arr, new CompareCFButtonByText()); for (idx = 0; idx < len; idx++) { vboxMenuAdd.getChildren().add(arr[idx]); } buttonCancelAdd = new CFButton(); buttonCancelAdd.setMinWidth(200); buttonCancelAdd.setText("Cancel Add..."); buttonCancelAdd.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); vboxMenuAdd.getChildren().add(buttonCancelAdd); scrollMenuAdd = new ScrollPane(); scrollMenuAdd.setMinWidth(240); scrollMenuAdd.setMaxWidth(240); scrollMenuAdd.setFitToWidth(true); scrollMenuAdd.setHbarPolicy(ScrollBarPolicy.NEVER); scrollMenuAdd.setVbarPolicy(ScrollBarPolicy.AS_NEEDED); scrollMenuAdd.setContent(vboxMenuAdd); buttonAdd = new CFButton(); buttonAdd.setMinWidth(200); buttonAdd.setText("Add..."); buttonAdd.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { setLeft(scrollMenuAdd); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonAdd); buttonViewSelected = new CFButton(); buttonViewSelected.setMinWidth(200); buttonViewSelected.setText("View Selected"); buttonViewSelected.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); if (schemaObj == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "schemaObj"); } ICFBamAtomObj selectedInstance = getJavaFXFocusAsAtom(); if (selectedInstance != null) { String classCode = selectedInstance.getClassCode(); if ("ATOM".equals(classCode)) { CFBorderPane frame = javafxSchema.getAtomFactory().newViewEditForm(cfFormManager, selectedInstance, getViewEditClosedCallback(), false); ((ICFBamJavaFXAtomPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("BLBD".equals(classCode)) { ICFBamBlobDefObj obj = (ICFBamBlobDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getBlobDefFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXBlobDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("BLBT".equals(classCode)) { ICFBamBlobTypeObj obj = (ICFBamBlobTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getBlobTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXBlobTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("BLBC".equals(classCode)) { ICFBamBlobColObj obj = (ICFBamBlobColObj) selectedInstance; CFBorderPane frame = javafxSchema.getBlobColFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXBlobColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("BOLD".equals(classCode)) { ICFBamBoolDefObj obj = (ICFBamBoolDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getBoolDefFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXBoolDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("BOLT".equals(classCode)) { ICFBamBoolTypeObj obj = (ICFBamBoolTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getBoolTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXBoolTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("BOLC".equals(classCode)) { ICFBamBoolColObj obj = (ICFBamBoolColObj) selectedInstance; CFBorderPane frame = javafxSchema.getBoolColFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXBoolColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DATD".equals(classCode)) { ICFBamDateDefObj obj = (ICFBamDateDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getDateDefFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXDateDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DATT".equals(classCode)) { ICFBamDateTypeObj obj = (ICFBamDateTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getDateTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXDateTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DATC".equals(classCode)) { ICFBamDateColObj obj = (ICFBamDateColObj) selectedInstance; CFBorderPane frame = javafxSchema.getDateColFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXDateColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DBLD".equals(classCode)) { ICFBamDoubleDefObj obj = (ICFBamDoubleDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getDoubleDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXDoubleDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DBLT".equals(classCode)) { ICFBamDoubleTypeObj obj = (ICFBamDoubleTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getDoubleTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXDoubleTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DBLC".equals(classCode)) { ICFBamDoubleColObj obj = (ICFBamDoubleColObj) selectedInstance; CFBorderPane frame = javafxSchema.getDoubleColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXDoubleColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("FLTD".equals(classCode)) { ICFBamFloatDefObj obj = (ICFBamFloatDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getFloatDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXFloatDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("FLTT".equals(classCode)) { ICFBamFloatTypeObj obj = (ICFBamFloatTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getFloatTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXFloatTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("FLTC".equals(classCode)) { ICFBamFloatColObj obj = (ICFBamFloatColObj) selectedInstance; CFBorderPane frame = javafxSchema.getFloatColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXFloatColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I16D".equals(classCode)) { ICFBamInt16DefObj obj = (ICFBamInt16DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt16DefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt16DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I16T".equals(classCode)) { ICFBamInt16TypeObj obj = (ICFBamInt16TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt16TypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt16TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("IG16".equals(classCode)) { ICFBamId16GenObj obj = (ICFBamId16GenObj) selectedInstance; CFBorderPane frame = javafxSchema.getId16GenFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXId16GenPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ENMD".equals(classCode)) { ICFBamEnumDefObj obj = (ICFBamEnumDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getEnumDefFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXEnumDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ENMT".equals(classCode)) { ICFBamEnumTypeObj obj = (ICFBamEnumTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getEnumTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXEnumTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I16C".equals(classCode)) { ICFBamInt16ColObj obj = (ICFBamInt16ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt16ColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt16ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I32D".equals(classCode)) { ICFBamInt32DefObj obj = (ICFBamInt32DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt32DefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt32DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I32T".equals(classCode)) { ICFBamInt32TypeObj obj = (ICFBamInt32TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt32TypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt32TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("IG32".equals(classCode)) { ICFBamId32GenObj obj = (ICFBamId32GenObj) selectedInstance; CFBorderPane frame = javafxSchema.getId32GenFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXId32GenPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I32C".equals(classCode)) { ICFBamInt32ColObj obj = (ICFBamInt32ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt32ColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt32ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I64D".equals(classCode)) { ICFBamInt64DefObj obj = (ICFBamInt64DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt64DefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt64DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I64T".equals(classCode)) { ICFBamInt64TypeObj obj = (ICFBamInt64TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt64TypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt64TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("IG64".equals(classCode)) { ICFBamId64GenObj obj = (ICFBamId64GenObj) selectedInstance; CFBorderPane frame = javafxSchema.getId64GenFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXId64GenPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I64C".equals(classCode)) { ICFBamInt64ColObj obj = (ICFBamInt64ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt64ColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt64ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NTKD".equals(classCode)) { ICFBamNmTokenDefObj obj = (ICFBamNmTokenDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokenDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNmTokenDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NTKT".equals(classCode)) { ICFBamNmTokenTypeObj obj = (ICFBamNmTokenTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokenTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNmTokenTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NTKC".equals(classCode)) { ICFBamNmTokenColObj obj = (ICFBamNmTokenColObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokenColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNmTokenColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NTSD".equals(classCode)) { ICFBamNmTokensDefObj obj = (ICFBamNmTokensDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokensDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNmTokensDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NTST".equals(classCode)) { ICFBamNmTokensTypeObj obj = (ICFBamNmTokensTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokensTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNmTokensTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NTSC".equals(classCode)) { ICFBamNmTokensColObj obj = (ICFBamNmTokensColObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokensColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNmTokensColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NUMD".equals(classCode)) { ICFBamNumberDefObj obj = (ICFBamNumberDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getNumberDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNumberDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NUMT".equals(classCode)) { ICFBamNumberTypeObj obj = (ICFBamNumberTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getNumberTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNumberTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NUMC".equals(classCode)) { ICFBamNumberColObj obj = (ICFBamNumberColObj) selectedInstance; CFBorderPane frame = javafxSchema.getNumberColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNumberColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("STRD".equals(classCode)) { ICFBamStringDefObj obj = (ICFBamStringDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getStringDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXStringDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("STRT".equals(classCode)) { ICFBamStringTypeObj obj = (ICFBamStringTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getStringTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXStringTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("STRC".equals(classCode)) { ICFBamStringColObj obj = (ICFBamStringColObj) selectedInstance; CFBorderPane frame = javafxSchema.getStringColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXStringColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DAZD".equals(classCode)) { ICFBamTZDateDefObj obj = (ICFBamTZDateDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZDateDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZDateDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DAZT".equals(classCode)) { ICFBamTZDateTypeObj obj = (ICFBamTZDateTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZDateTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZDateTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DAZC".equals(classCode)) { ICFBamTZDateColObj obj = (ICFBamTZDateColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZDateColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZDateColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TMZD".equals(classCode)) { ICFBamTZTimeDefObj obj = (ICFBamTZTimeDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimeDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZTimeDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TMZT".equals(classCode)) { ICFBamTZTimeTypeObj obj = (ICFBamTZTimeTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimeTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZTimeTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TMZC".equals(classCode)) { ICFBamTZTimeColObj obj = (ICFBamTZTimeColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimeColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZTimeColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ZSTD".equals(classCode)) { ICFBamTZTimestampDefObj obj = (ICFBamTZTimestampDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimestampDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZTimestampDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ZSTT".equals(classCode)) { ICFBamTZTimestampTypeObj obj = (ICFBamTZTimestampTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimestampTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZTimestampTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ZSTC".equals(classCode)) { ICFBamTZTimestampColObj obj = (ICFBamTZTimestampColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimestampColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZTimestampColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TXTD".equals(classCode)) { ICFBamTextDefObj obj = (ICFBamTextDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTextDefFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTextDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TXTT".equals(classCode)) { ICFBamTextTypeObj obj = (ICFBamTextTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTextTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTextTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TXTC".equals(classCode)) { ICFBamTextColObj obj = (ICFBamTextColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTextColFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTextColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TIMD".equals(classCode)) { ICFBamTimeDefObj obj = (ICFBamTimeDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimeDefFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTimeDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TIMT".equals(classCode)) { ICFBamTimeTypeObj obj = (ICFBamTimeTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimeTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTimeTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TIMC".equals(classCode)) { ICFBamTimeColObj obj = (ICFBamTimeColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimeColFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTimeColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TSPD".equals(classCode)) { ICFBamTimestampDefObj obj = (ICFBamTimestampDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimestampDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTimestampDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TSPT".equals(classCode)) { ICFBamTimestampTypeObj obj = (ICFBamTimestampTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimestampTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTimestampTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TSPC".equals(classCode)) { ICFBamTimestampColObj obj = (ICFBamTimestampColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimestampColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTimestampColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TKND".equals(classCode)) { ICFBamTokenDefObj obj = (ICFBamTokenDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTokenDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTokenDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TKNT".equals(classCode)) { ICFBamTokenTypeObj obj = (ICFBamTokenTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTokenTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTokenTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TKNC".equals(classCode)) { ICFBamTokenColObj obj = (ICFBamTokenColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTokenColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTokenColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U16D".equals(classCode)) { ICFBamUInt16DefObj obj = (ICFBamUInt16DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt16DefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt16DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U16T".equals(classCode)) { ICFBamUInt16TypeObj obj = (ICFBamUInt16TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt16TypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt16TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U16C".equals(classCode)) { ICFBamUInt16ColObj obj = (ICFBamUInt16ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt16ColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt16ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U32D".equals(classCode)) { ICFBamUInt32DefObj obj = (ICFBamUInt32DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt32DefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt32DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U32T".equals(classCode)) { ICFBamUInt32TypeObj obj = (ICFBamUInt32TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt32TypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt32TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U32C".equals(classCode)) { ICFBamUInt32ColObj obj = (ICFBamUInt32ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt32ColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt32ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U64D".equals(classCode)) { ICFBamUInt64DefObj obj = (ICFBamUInt64DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt64DefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt64DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U64T".equals(classCode)) { ICFBamUInt64TypeObj obj = (ICFBamUInt64TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt64TypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt64TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U64C".equals(classCode)) { ICFBamUInt64ColObj obj = (ICFBamUInt64ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt64ColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt64ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("UIDD".equals(classCode)) { ICFBamUuidDefObj obj = (ICFBamUuidDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getUuidDefFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUuidDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("UIDT".equals(classCode)) { ICFBamUuidTypeObj obj = (ICFBamUuidTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getUuidTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUuidTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("IGUU".equals(classCode)) { ICFBamUuidGenObj obj = (ICFBamUuidGenObj) selectedInstance; CFBorderPane frame = javafxSchema.getUuidGenFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUuidGenPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("UIDC".equals(classCode)) { ICFBamUuidColObj obj = (ICFBamUuidColObj) selectedInstance; CFBorderPane frame = javafxSchema.getUuidColFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUuidColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), S_ProcName, "selectedInstance", selectedInstance, "ICFBamAtomObj, ICFBamBlobDefObj, ICFBamBlobTypeObj, ICFBamBlobColObj, ICFBamBoolDefObj, ICFBamBoolTypeObj, ICFBamBoolColObj, ICFBamDateDefObj, ICFBamDateTypeObj, ICFBamDateColObj, ICFBamDoubleDefObj, ICFBamDoubleTypeObj, ICFBamDoubleColObj, ICFBamFloatDefObj, ICFBamFloatTypeObj, ICFBamFloatColObj, ICFBamInt16DefObj, ICFBamInt16TypeObj, ICFBamId16GenObj, ICFBamEnumDefObj, ICFBamEnumTypeObj, ICFBamInt16ColObj, ICFBamInt32DefObj, ICFBamInt32TypeObj, ICFBamId32GenObj, ICFBamInt32ColObj, ICFBamInt64DefObj, ICFBamInt64TypeObj, ICFBamId64GenObj, ICFBamInt64ColObj, ICFBamNmTokenDefObj, ICFBamNmTokenTypeObj, ICFBamNmTokenColObj, ICFBamNmTokensDefObj, ICFBamNmTokensTypeObj, ICFBamNmTokensColObj, ICFBamNumberDefObj, ICFBamNumberTypeObj, ICFBamNumberColObj, ICFBamStringDefObj, ICFBamStringTypeObj, ICFBamStringColObj, ICFBamTZDateDefObj, ICFBamTZDateTypeObj, ICFBamTZDateColObj, ICFBamTZTimeDefObj, ICFBamTZTimeTypeObj, ICFBamTZTimeColObj, ICFBamTZTimestampDefObj, ICFBamTZTimestampTypeObj, ICFBamTZTimestampColObj, ICFBamTextDefObj, ICFBamTextTypeObj, ICFBamTextColObj, ICFBamTimeDefObj, ICFBamTimeTypeObj, ICFBamTimeColObj, ICFBamTimestampDefObj, ICFBamTimestampTypeObj, ICFBamTimestampColObj, ICFBamTokenDefObj, ICFBamTokenTypeObj, ICFBamTokenColObj, ICFBamUInt16DefObj, ICFBamUInt16TypeObj, ICFBamUInt16ColObj, ICFBamUInt32DefObj, ICFBamUInt32TypeObj, ICFBamUInt32ColObj, ICFBamUInt64DefObj, ICFBamUInt64TypeObj, ICFBamUInt64ColObj, ICFBamUuidDefObj, ICFBamUuidTypeObj, ICFBamUuidGenObj, ICFBamUuidColObj"); } } } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonViewSelected); buttonEditSelected = new CFButton(); buttonEditSelected.setMinWidth(200); buttonEditSelected.setText("Edit Selected"); buttonEditSelected.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); if (schemaObj == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "schemaObj"); } ICFBamAtomObj selectedInstance = getJavaFXFocusAsAtom(); if (selectedInstance != null) { String classCode = selectedInstance.getClassCode(); if ("ATOM".equals(classCode)) { CFBorderPane frame = javafxSchema.getAtomFactory().newViewEditForm(cfFormManager, selectedInstance, getViewEditClosedCallback(), false); ((ICFBamJavaFXAtomPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("BLBD".equals(classCode)) { ICFBamBlobDefObj obj = (ICFBamBlobDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getBlobDefFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXBlobDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("BLBT".equals(classCode)) { ICFBamBlobTypeObj obj = (ICFBamBlobTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getBlobTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXBlobTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("BLBC".equals(classCode)) { ICFBamBlobColObj obj = (ICFBamBlobColObj) selectedInstance; CFBorderPane frame = javafxSchema.getBlobColFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXBlobColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("BOLD".equals(classCode)) { ICFBamBoolDefObj obj = (ICFBamBoolDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getBoolDefFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXBoolDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("BOLT".equals(classCode)) { ICFBamBoolTypeObj obj = (ICFBamBoolTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getBoolTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXBoolTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("BOLC".equals(classCode)) { ICFBamBoolColObj obj = (ICFBamBoolColObj) selectedInstance; CFBorderPane frame = javafxSchema.getBoolColFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXBoolColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DATD".equals(classCode)) { ICFBamDateDefObj obj = (ICFBamDateDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getDateDefFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXDateDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("DATT".equals(classCode)) { ICFBamDateTypeObj obj = (ICFBamDateTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getDateTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXDateTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DATC".equals(classCode)) { ICFBamDateColObj obj = (ICFBamDateColObj) selectedInstance; CFBorderPane frame = javafxSchema.getDateColFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXDateColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DBLD".equals(classCode)) { ICFBamDoubleDefObj obj = (ICFBamDoubleDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getDoubleDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXDoubleDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("DBLT".equals(classCode)) { ICFBamDoubleTypeObj obj = (ICFBamDoubleTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getDoubleTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXDoubleTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DBLC".equals(classCode)) { ICFBamDoubleColObj obj = (ICFBamDoubleColObj) selectedInstance; CFBorderPane frame = javafxSchema.getDoubleColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXDoubleColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("FLTD".equals(classCode)) { ICFBamFloatDefObj obj = (ICFBamFloatDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getFloatDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXFloatDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("FLTT".equals(classCode)) { ICFBamFloatTypeObj obj = (ICFBamFloatTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getFloatTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXFloatTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("FLTC".equals(classCode)) { ICFBamFloatColObj obj = (ICFBamFloatColObj) selectedInstance; CFBorderPane frame = javafxSchema.getFloatColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXFloatColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I16D".equals(classCode)) { ICFBamInt16DefObj obj = (ICFBamInt16DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt16DefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt16DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("I16T".equals(classCode)) { ICFBamInt16TypeObj obj = (ICFBamInt16TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt16TypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt16TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("IG16".equals(classCode)) { ICFBamId16GenObj obj = (ICFBamId16GenObj) selectedInstance; CFBorderPane frame = javafxSchema.getId16GenFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXId16GenPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ENMD".equals(classCode)) { ICFBamEnumDefObj obj = (ICFBamEnumDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getEnumDefFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXEnumDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ENMT".equals(classCode)) { ICFBamEnumTypeObj obj = (ICFBamEnumTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getEnumTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXEnumTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I16C".equals(classCode)) { ICFBamInt16ColObj obj = (ICFBamInt16ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt16ColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt16ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I32D".equals(classCode)) { ICFBamInt32DefObj obj = (ICFBamInt32DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt32DefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt32DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("I32T".equals(classCode)) { ICFBamInt32TypeObj obj = (ICFBamInt32TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt32TypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt32TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("IG32".equals(classCode)) { ICFBamId32GenObj obj = (ICFBamId32GenObj) selectedInstance; CFBorderPane frame = javafxSchema.getId32GenFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXId32GenPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I32C".equals(classCode)) { ICFBamInt32ColObj obj = (ICFBamInt32ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt32ColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt32ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I64D".equals(classCode)) { ICFBamInt64DefObj obj = (ICFBamInt64DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt64DefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt64DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("I64T".equals(classCode)) { ICFBamInt64TypeObj obj = (ICFBamInt64TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt64TypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt64TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("IG64".equals(classCode)) { ICFBamId64GenObj obj = (ICFBamId64GenObj) selectedInstance; CFBorderPane frame = javafxSchema.getId64GenFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXId64GenPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I64C".equals(classCode)) { ICFBamInt64ColObj obj = (ICFBamInt64ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt64ColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt64ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NTKD".equals(classCode)) { ICFBamNmTokenDefObj obj = (ICFBamNmTokenDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokenDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNmTokenDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("NTKT".equals(classCode)) { ICFBamNmTokenTypeObj obj = (ICFBamNmTokenTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokenTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNmTokenTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NTKC".equals(classCode)) { ICFBamNmTokenColObj obj = (ICFBamNmTokenColObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokenColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNmTokenColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NTSD".equals(classCode)) { ICFBamNmTokensDefObj obj = (ICFBamNmTokensDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokensDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNmTokensDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("NTST".equals(classCode)) { ICFBamNmTokensTypeObj obj = (ICFBamNmTokensTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokensTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNmTokensTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NTSC".equals(classCode)) { ICFBamNmTokensColObj obj = (ICFBamNmTokensColObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokensColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNmTokensColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NUMD".equals(classCode)) { ICFBamNumberDefObj obj = (ICFBamNumberDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getNumberDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNumberDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("NUMT".equals(classCode)) { ICFBamNumberTypeObj obj = (ICFBamNumberTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getNumberTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNumberTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NUMC".equals(classCode)) { ICFBamNumberColObj obj = (ICFBamNumberColObj) selectedInstance; CFBorderPane frame = javafxSchema.getNumberColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNumberColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("STRD".equals(classCode)) { ICFBamStringDefObj obj = (ICFBamStringDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getStringDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXStringDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("STRT".equals(classCode)) { ICFBamStringTypeObj obj = (ICFBamStringTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getStringTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXStringTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("STRC".equals(classCode)) { ICFBamStringColObj obj = (ICFBamStringColObj) selectedInstance; CFBorderPane frame = javafxSchema.getStringColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXStringColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DAZD".equals(classCode)) { ICFBamTZDateDefObj obj = (ICFBamTZDateDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZDateDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZDateDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("DAZT".equals(classCode)) { ICFBamTZDateTypeObj obj = (ICFBamTZDateTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZDateTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZDateTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DAZC".equals(classCode)) { ICFBamTZDateColObj obj = (ICFBamTZDateColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZDateColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZDateColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TMZD".equals(classCode)) { ICFBamTZTimeDefObj obj = (ICFBamTZTimeDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimeDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZTimeDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("TMZT".equals(classCode)) { ICFBamTZTimeTypeObj obj = (ICFBamTZTimeTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimeTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZTimeTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TMZC".equals(classCode)) { ICFBamTZTimeColObj obj = (ICFBamTZTimeColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimeColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZTimeColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ZSTD".equals(classCode)) { ICFBamTZTimestampDefObj obj = (ICFBamTZTimestampDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimestampDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZTimestampDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("ZSTT".equals(classCode)) { ICFBamTZTimestampTypeObj obj = (ICFBamTZTimestampTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimestampTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZTimestampTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ZSTC".equals(classCode)) { ICFBamTZTimestampColObj obj = (ICFBamTZTimestampColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimestampColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZTimestampColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TXTD".equals(classCode)) { ICFBamTextDefObj obj = (ICFBamTextDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTextDefFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTextDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("TXTT".equals(classCode)) { ICFBamTextTypeObj obj = (ICFBamTextTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTextTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTextTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TXTC".equals(classCode)) { ICFBamTextColObj obj = (ICFBamTextColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTextColFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTextColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TIMD".equals(classCode)) { ICFBamTimeDefObj obj = (ICFBamTimeDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimeDefFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTimeDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("TIMT".equals(classCode)) { ICFBamTimeTypeObj obj = (ICFBamTimeTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimeTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTimeTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TIMC".equals(classCode)) { ICFBamTimeColObj obj = (ICFBamTimeColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimeColFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTimeColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TSPD".equals(classCode)) { ICFBamTimestampDefObj obj = (ICFBamTimestampDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimestampDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTimestampDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("TSPT".equals(classCode)) { ICFBamTimestampTypeObj obj = (ICFBamTimestampTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimestampTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTimestampTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TSPC".equals(classCode)) { ICFBamTimestampColObj obj = (ICFBamTimestampColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimestampColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTimestampColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TKND".equals(classCode)) { ICFBamTokenDefObj obj = (ICFBamTokenDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTokenDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTokenDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("TKNT".equals(classCode)) { ICFBamTokenTypeObj obj = (ICFBamTokenTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTokenTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTokenTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TKNC".equals(classCode)) { ICFBamTokenColObj obj = (ICFBamTokenColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTokenColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTokenColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U16D".equals(classCode)) { ICFBamUInt16DefObj obj = (ICFBamUInt16DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt16DefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt16DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("U16T".equals(classCode)) { ICFBamUInt16TypeObj obj = (ICFBamUInt16TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt16TypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt16TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U16C".equals(classCode)) { ICFBamUInt16ColObj obj = (ICFBamUInt16ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt16ColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt16ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U32D".equals(classCode)) { ICFBamUInt32DefObj obj = (ICFBamUInt32DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt32DefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt32DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("U32T".equals(classCode)) { ICFBamUInt32TypeObj obj = (ICFBamUInt32TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt32TypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt32TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U32C".equals(classCode)) { ICFBamUInt32ColObj obj = (ICFBamUInt32ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt32ColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt32ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U64D".equals(classCode)) { ICFBamUInt64DefObj obj = (ICFBamUInt64DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt64DefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt64DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("U64T".equals(classCode)) { ICFBamUInt64TypeObj obj = (ICFBamUInt64TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt64TypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt64TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U64C".equals(classCode)) { ICFBamUInt64ColObj obj = (ICFBamUInt64ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt64ColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt64ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("UIDD".equals(classCode)) { ICFBamUuidDefObj obj = (ICFBamUuidDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getUuidDefFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUuidDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("UIDT".equals(classCode)) { ICFBamUuidTypeObj obj = (ICFBamUuidTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getUuidTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUuidTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("IGUU".equals(classCode)) { ICFBamUuidGenObj obj = (ICFBamUuidGenObj) selectedInstance; CFBorderPane frame = javafxSchema.getUuidGenFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUuidGenPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("UIDC".equals(classCode)) { ICFBamUuidColObj obj = (ICFBamUuidColObj) selectedInstance; CFBorderPane frame = javafxSchema.getUuidColFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUuidColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), S_ProcName, "selectedInstance", selectedInstance, "ICFBamAtomObj, ICFBamBlobDefObj, ICFBamBlobTypeObj, ICFBamBlobColObj, ICFBamBoolDefObj, ICFBamBoolTypeObj, ICFBamBoolColObj, ICFBamDateDefObj, ICFBamDateTypeObj, ICFBamDateColObj, ICFBamDoubleDefObj, ICFBamDoubleTypeObj, ICFBamDoubleColObj, ICFBamFloatDefObj, ICFBamFloatTypeObj, ICFBamFloatColObj, ICFBamInt16DefObj, ICFBamInt16TypeObj, ICFBamId16GenObj, ICFBamEnumDefObj, ICFBamEnumTypeObj, ICFBamInt16ColObj, ICFBamInt32DefObj, ICFBamInt32TypeObj, ICFBamId32GenObj, ICFBamInt32ColObj, ICFBamInt64DefObj, ICFBamInt64TypeObj, ICFBamId64GenObj, ICFBamInt64ColObj, ICFBamNmTokenDefObj, ICFBamNmTokenTypeObj, ICFBamNmTokenColObj, ICFBamNmTokensDefObj, ICFBamNmTokensTypeObj, ICFBamNmTokensColObj, ICFBamNumberDefObj, ICFBamNumberTypeObj, ICFBamNumberColObj, ICFBamStringDefObj, ICFBamStringTypeObj, ICFBamStringColObj, ICFBamTZDateDefObj, ICFBamTZDateTypeObj, ICFBamTZDateColObj, ICFBamTZTimeDefObj, ICFBamTZTimeTypeObj, ICFBamTZTimeColObj, ICFBamTZTimestampDefObj, ICFBamTZTimestampTypeObj, ICFBamTZTimestampColObj, ICFBamTextDefObj, ICFBamTextTypeObj, ICFBamTextColObj, ICFBamTimeDefObj, ICFBamTimeTypeObj, ICFBamTimeColObj, ICFBamTimestampDefObj, ICFBamTimestampTypeObj, ICFBamTimestampColObj, ICFBamTokenDefObj, ICFBamTokenTypeObj, ICFBamTokenColObj, ICFBamUInt16DefObj, ICFBamUInt16TypeObj, ICFBamUInt16ColObj, ICFBamUInt32DefObj, ICFBamUInt32TypeObj, ICFBamUInt32ColObj, ICFBamUInt64DefObj, ICFBamUInt64TypeObj, ICFBamUInt64ColObj, ICFBamUuidDefObj, ICFBamUuidTypeObj, ICFBamUuidGenObj, ICFBamUuidColObj"); } } } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonEditSelected); buttonDeleteSelected = new CFButton(); buttonDeleteSelected.setMinWidth(200); buttonDeleteSelected.setText("Delete Selected"); buttonDeleteSelected.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); if (schemaObj == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "schemaObj"); } ICFBamAtomObj selectedInstance = getJavaFXFocusAsAtom(); if (selectedInstance != null) { String classCode = selectedInstance.getClassCode(); if ("ATOM".equals(classCode)) { CFBorderPane frame = javafxSchema.getAtomFactory().newAskDeleteForm(cfFormManager, selectedInstance, getDeleteCallback()); ((ICFBamJavaFXAtomPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("BLBD".equals(classCode)) { ICFBamBlobDefObj obj = (ICFBamBlobDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getBlobDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXBlobDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("BLBT".equals(classCode)) { ICFBamBlobTypeObj obj = (ICFBamBlobTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getBlobTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXBlobTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("BLBC".equals(classCode)) { ICFBamBlobColObj obj = (ICFBamBlobColObj) selectedInstance; CFBorderPane frame = javafxSchema.getBlobColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXBlobColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("BOLD".equals(classCode)) { ICFBamBoolDefObj obj = (ICFBamBoolDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getBoolDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXBoolDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("BOLT".equals(classCode)) { ICFBamBoolTypeObj obj = (ICFBamBoolTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getBoolTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXBoolTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("BOLC".equals(classCode)) { ICFBamBoolColObj obj = (ICFBamBoolColObj) selectedInstance; CFBorderPane frame = javafxSchema.getBoolColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXBoolColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DATD".equals(classCode)) { ICFBamDateDefObj obj = (ICFBamDateDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getDateDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXDateDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DATT".equals(classCode)) { ICFBamDateTypeObj obj = (ICFBamDateTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getDateTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXDateTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DATC".equals(classCode)) { ICFBamDateColObj obj = (ICFBamDateColObj) selectedInstance; CFBorderPane frame = javafxSchema.getDateColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXDateColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DBLD".equals(classCode)) { ICFBamDoubleDefObj obj = (ICFBamDoubleDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getDoubleDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXDoubleDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DBLT".equals(classCode)) { ICFBamDoubleTypeObj obj = (ICFBamDoubleTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getDoubleTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXDoubleTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DBLC".equals(classCode)) { ICFBamDoubleColObj obj = (ICFBamDoubleColObj) selectedInstance; CFBorderPane frame = javafxSchema.getDoubleColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXDoubleColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("FLTD".equals(classCode)) { ICFBamFloatDefObj obj = (ICFBamFloatDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getFloatDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXFloatDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("FLTT".equals(classCode)) { ICFBamFloatTypeObj obj = (ICFBamFloatTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getFloatTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXFloatTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("FLTC".equals(classCode)) { ICFBamFloatColObj obj = (ICFBamFloatColObj) selectedInstance; CFBorderPane frame = javafxSchema.getFloatColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXFloatColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I16D".equals(classCode)) { ICFBamInt16DefObj obj = (ICFBamInt16DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt16DefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXInt16DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I16T".equals(classCode)) { ICFBamInt16TypeObj obj = (ICFBamInt16TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt16TypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXInt16TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("IG16".equals(classCode)) { ICFBamId16GenObj obj = (ICFBamId16GenObj) selectedInstance; CFBorderPane frame = javafxSchema.getId16GenFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXId16GenPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ENMD".equals(classCode)) { ICFBamEnumDefObj obj = (ICFBamEnumDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getEnumDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXEnumDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ENMT".equals(classCode)) { ICFBamEnumTypeObj obj = (ICFBamEnumTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getEnumTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXEnumTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I16C".equals(classCode)) { ICFBamInt16ColObj obj = (ICFBamInt16ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt16ColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXInt16ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I32D".equals(classCode)) { ICFBamInt32DefObj obj = (ICFBamInt32DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt32DefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXInt32DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I32T".equals(classCode)) { ICFBamInt32TypeObj obj = (ICFBamInt32TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt32TypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXInt32TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("IG32".equals(classCode)) { ICFBamId32GenObj obj = (ICFBamId32GenObj) selectedInstance; CFBorderPane frame = javafxSchema.getId32GenFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXId32GenPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I32C".equals(classCode)) { ICFBamInt32ColObj obj = (ICFBamInt32ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt32ColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXInt32ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I64D".equals(classCode)) { ICFBamInt64DefObj obj = (ICFBamInt64DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt64DefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXInt64DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I64T".equals(classCode)) { ICFBamInt64TypeObj obj = (ICFBamInt64TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt64TypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXInt64TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("IG64".equals(classCode)) { ICFBamId64GenObj obj = (ICFBamId64GenObj) selectedInstance; CFBorderPane frame = javafxSchema.getId64GenFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXId64GenPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I64C".equals(classCode)) { ICFBamInt64ColObj obj = (ICFBamInt64ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt64ColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXInt64ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NTKD".equals(classCode)) { ICFBamNmTokenDefObj obj = (ICFBamNmTokenDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokenDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXNmTokenDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NTKT".equals(classCode)) { ICFBamNmTokenTypeObj obj = (ICFBamNmTokenTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokenTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXNmTokenTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NTKC".equals(classCode)) { ICFBamNmTokenColObj obj = (ICFBamNmTokenColObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokenColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXNmTokenColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NTSD".equals(classCode)) { ICFBamNmTokensDefObj obj = (ICFBamNmTokensDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokensDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXNmTokensDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NTST".equals(classCode)) { ICFBamNmTokensTypeObj obj = (ICFBamNmTokensTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokensTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXNmTokensTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NTSC".equals(classCode)) { ICFBamNmTokensColObj obj = (ICFBamNmTokensColObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokensColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXNmTokensColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NUMD".equals(classCode)) { ICFBamNumberDefObj obj = (ICFBamNumberDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getNumberDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXNumberDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NUMT".equals(classCode)) { ICFBamNumberTypeObj obj = (ICFBamNumberTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getNumberTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXNumberTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NUMC".equals(classCode)) { ICFBamNumberColObj obj = (ICFBamNumberColObj) selectedInstance; CFBorderPane frame = javafxSchema.getNumberColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXNumberColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("STRD".equals(classCode)) { ICFBamStringDefObj obj = (ICFBamStringDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getStringDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXStringDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("STRT".equals(classCode)) { ICFBamStringTypeObj obj = (ICFBamStringTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getStringTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXStringTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("STRC".equals(classCode)) { ICFBamStringColObj obj = (ICFBamStringColObj) selectedInstance; CFBorderPane frame = javafxSchema.getStringColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXStringColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DAZD".equals(classCode)) { ICFBamTZDateDefObj obj = (ICFBamTZDateDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZDateDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTZDateDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DAZT".equals(classCode)) { ICFBamTZDateTypeObj obj = (ICFBamTZDateTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZDateTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTZDateTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DAZC".equals(classCode)) { ICFBamTZDateColObj obj = (ICFBamTZDateColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZDateColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTZDateColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TMZD".equals(classCode)) { ICFBamTZTimeDefObj obj = (ICFBamTZTimeDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimeDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTZTimeDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TMZT".equals(classCode)) { ICFBamTZTimeTypeObj obj = (ICFBamTZTimeTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimeTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTZTimeTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TMZC".equals(classCode)) { ICFBamTZTimeColObj obj = (ICFBamTZTimeColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimeColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTZTimeColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ZSTD".equals(classCode)) { ICFBamTZTimestampDefObj obj = (ICFBamTZTimestampDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimestampDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTZTimestampDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ZSTT".equals(classCode)) { ICFBamTZTimestampTypeObj obj = (ICFBamTZTimestampTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimestampTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTZTimestampTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ZSTC".equals(classCode)) { ICFBamTZTimestampColObj obj = (ICFBamTZTimestampColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimestampColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTZTimestampColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TXTD".equals(classCode)) { ICFBamTextDefObj obj = (ICFBamTextDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTextDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTextDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TXTT".equals(classCode)) { ICFBamTextTypeObj obj = (ICFBamTextTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTextTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTextTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TXTC".equals(classCode)) { ICFBamTextColObj obj = (ICFBamTextColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTextColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTextColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TIMD".equals(classCode)) { ICFBamTimeDefObj obj = (ICFBamTimeDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimeDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTimeDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TIMT".equals(classCode)) { ICFBamTimeTypeObj obj = (ICFBamTimeTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimeTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTimeTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TIMC".equals(classCode)) { ICFBamTimeColObj obj = (ICFBamTimeColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimeColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTimeColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TSPD".equals(classCode)) { ICFBamTimestampDefObj obj = (ICFBamTimestampDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimestampDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTimestampDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TSPT".equals(classCode)) { ICFBamTimestampTypeObj obj = (ICFBamTimestampTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimestampTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTimestampTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TSPC".equals(classCode)) { ICFBamTimestampColObj obj = (ICFBamTimestampColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimestampColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTimestampColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TKND".equals(classCode)) { ICFBamTokenDefObj obj = (ICFBamTokenDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTokenDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTokenDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TKNT".equals(classCode)) { ICFBamTokenTypeObj obj = (ICFBamTokenTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTokenTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTokenTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TKNC".equals(classCode)) { ICFBamTokenColObj obj = (ICFBamTokenColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTokenColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTokenColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U16D".equals(classCode)) { ICFBamUInt16DefObj obj = (ICFBamUInt16DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt16DefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXUInt16DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U16T".equals(classCode)) { ICFBamUInt16TypeObj obj = (ICFBamUInt16TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt16TypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXUInt16TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U16C".equals(classCode)) { ICFBamUInt16ColObj obj = (ICFBamUInt16ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt16ColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXUInt16ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U32D".equals(classCode)) { ICFBamUInt32DefObj obj = (ICFBamUInt32DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt32DefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXUInt32DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U32T".equals(classCode)) { ICFBamUInt32TypeObj obj = (ICFBamUInt32TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt32TypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXUInt32TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U32C".equals(classCode)) { ICFBamUInt32ColObj obj = (ICFBamUInt32ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt32ColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXUInt32ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U64D".equals(classCode)) { ICFBamUInt64DefObj obj = (ICFBamUInt64DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt64DefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXUInt64DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U64T".equals(classCode)) { ICFBamUInt64TypeObj obj = (ICFBamUInt64TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt64TypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXUInt64TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U64C".equals(classCode)) { ICFBamUInt64ColObj obj = (ICFBamUInt64ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt64ColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXUInt64ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("UIDD".equals(classCode)) { ICFBamUuidDefObj obj = (ICFBamUuidDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getUuidDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXUuidDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("UIDT".equals(classCode)) { ICFBamUuidTypeObj obj = (ICFBamUuidTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getUuidTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXUuidTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("IGUU".equals(classCode)) { ICFBamUuidGenObj obj = (ICFBamUuidGenObj) selectedInstance; CFBorderPane frame = javafxSchema.getUuidGenFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXUuidGenPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("UIDC".equals(classCode)) { ICFBamUuidColObj obj = (ICFBamUuidColObj) selectedInstance; CFBorderPane frame = javafxSchema.getUuidColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXUuidColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), S_ProcName, "selectedInstance", selectedInstance, "ICFBamAtomObj, ICFBamBlobDefObj, ICFBamBlobTypeObj, ICFBamBlobColObj, ICFBamBoolDefObj, ICFBamBoolTypeObj, ICFBamBoolColObj, ICFBamDateDefObj, ICFBamDateTypeObj, ICFBamDateColObj, ICFBamDoubleDefObj, ICFBamDoubleTypeObj, ICFBamDoubleColObj, ICFBamFloatDefObj, ICFBamFloatTypeObj, ICFBamFloatColObj, ICFBamInt16DefObj, ICFBamInt16TypeObj, ICFBamId16GenObj, ICFBamEnumDefObj, ICFBamEnumTypeObj, ICFBamInt16ColObj, ICFBamInt32DefObj, ICFBamInt32TypeObj, ICFBamId32GenObj, ICFBamInt32ColObj, ICFBamInt64DefObj, ICFBamInt64TypeObj, ICFBamId64GenObj, ICFBamInt64ColObj, ICFBamNmTokenDefObj, ICFBamNmTokenTypeObj, ICFBamNmTokenColObj, ICFBamNmTokensDefObj, ICFBamNmTokensTypeObj, ICFBamNmTokensColObj, ICFBamNumberDefObj, ICFBamNumberTypeObj, ICFBamNumberColObj, ICFBamStringDefObj, ICFBamStringTypeObj, ICFBamStringColObj, ICFBamTZDateDefObj, ICFBamTZDateTypeObj, ICFBamTZDateColObj, ICFBamTZTimeDefObj, ICFBamTZTimeTypeObj, ICFBamTZTimeColObj, ICFBamTZTimestampDefObj, ICFBamTZTimestampTypeObj, ICFBamTZTimestampColObj, ICFBamTextDefObj, ICFBamTextTypeObj, ICFBamTextColObj, ICFBamTimeDefObj, ICFBamTimeTypeObj, ICFBamTimeColObj, ICFBamTimestampDefObj, ICFBamTimestampTypeObj, ICFBamTimestampColObj, ICFBamTokenDefObj, ICFBamTokenTypeObj, ICFBamTokenColObj, ICFBamUInt16DefObj, ICFBamUInt16TypeObj, ICFBamUInt16ColObj, ICFBamUInt32DefObj, ICFBamUInt32TypeObj, ICFBamUInt32ColObj, ICFBamUInt64DefObj, ICFBamUInt64TypeObj, ICFBamUInt64ColObj, ICFBamUuidDefObj, ICFBamUuidTypeObj, ICFBamUuidGenObj, ICFBamUuidColObj"); } } } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonDeleteSelected); } return (hboxMenu); }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamJavaFX.CFBamJavaFXValueListPane.java
public CFHBox getPanelHBoxMenu() { if (hboxMenu == null) { hboxMenu = new CFHBox(10); LinkedList<CFButton> list = new LinkedList<CFButton>(); vboxMenuAdd = new CFVBox(10); buttonAddBlobType = new CFButton(); buttonAddBlobType.setMinWidth(200); buttonAddBlobType.setText("Add BlobType"); buttonAddBlobType.setOnAction(new EventHandler<ActionEvent>() { @Override/* w w w. jav a 2 s. c o m*/ public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamBlobTypeObj obj = (ICFBamBlobTypeObj) schemaObj.getBlobTypeTableObj().newInstance(); CFBorderPane frame = javafxSchema.getBlobTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamBlobTypeEditObj edit = (ICFBamBlobTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXBlobTypePaneCommon jpanelCommon = (ICFBamJavaFXBlobTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddBlobType); } buttonAddBlobCol = new CFButton(); buttonAddBlobCol.setMinWidth(200); buttonAddBlobCol.setText("Add BlobCol"); buttonAddBlobCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamBlobColObj obj = (ICFBamBlobColObj) schemaObj.getBlobColTableObj().newInstance(); CFBorderPane frame = javafxSchema.getBlobColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamBlobColEditObj edit = (ICFBamBlobColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXBlobColPaneCommon jpanelCommon = (ICFBamJavaFXBlobColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddBlobCol); } buttonAddBoolType = new CFButton(); buttonAddBoolType.setMinWidth(200); buttonAddBoolType.setText("Add BoolType"); buttonAddBoolType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamBoolTypeObj obj = (ICFBamBoolTypeObj) schemaObj.getBoolTypeTableObj().newInstance(); CFBorderPane frame = javafxSchema.getBoolTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamBoolTypeEditObj edit = (ICFBamBoolTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXBoolTypePaneCommon jpanelCommon = (ICFBamJavaFXBoolTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddBoolType); } buttonAddBoolCol = new CFButton(); buttonAddBoolCol.setMinWidth(200); buttonAddBoolCol.setText("Add BoolCol"); buttonAddBoolCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamBoolColObj obj = (ICFBamBoolColObj) schemaObj.getBoolColTableObj().newInstance(); CFBorderPane frame = javafxSchema.getBoolColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamBoolColEditObj edit = (ICFBamBoolColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXBoolColPaneCommon jpanelCommon = (ICFBamJavaFXBoolColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddBoolCol); } buttonAddDateType = new CFButton(); buttonAddDateType.setMinWidth(200); buttonAddDateType.setText("Add DateType"); buttonAddDateType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamDateTypeObj obj = (ICFBamDateTypeObj) schemaObj.getDateTypeTableObj().newInstance(); CFBorderPane frame = javafxSchema.getDateTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamDateTypeEditObj edit = (ICFBamDateTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXDateTypePaneCommon jpanelCommon = (ICFBamJavaFXDateTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddDateType); } buttonAddDateCol = new CFButton(); buttonAddDateCol.setMinWidth(200); buttonAddDateCol.setText("Add DateCol"); buttonAddDateCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamDateColObj obj = (ICFBamDateColObj) schemaObj.getDateColTableObj().newInstance(); CFBorderPane frame = javafxSchema.getDateColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamDateColEditObj edit = (ICFBamDateColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXDateColPaneCommon jpanelCommon = (ICFBamJavaFXDateColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddDateCol); } buttonAddDoubleType = new CFButton(); buttonAddDoubleType.setMinWidth(200); buttonAddDoubleType.setText("Add DoubleType"); buttonAddDoubleType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamDoubleTypeObj obj = (ICFBamDoubleTypeObj) schemaObj.getDoubleTypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getDoubleTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamDoubleTypeEditObj edit = (ICFBamDoubleTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXDoubleTypePaneCommon jpanelCommon = (ICFBamJavaFXDoubleTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddDoubleType); } buttonAddDoubleCol = new CFButton(); buttonAddDoubleCol.setMinWidth(200); buttonAddDoubleCol.setText("Add DoubleCol"); buttonAddDoubleCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamDoubleColObj obj = (ICFBamDoubleColObj) schemaObj.getDoubleColTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getDoubleColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamDoubleColEditObj edit = (ICFBamDoubleColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXDoubleColPaneCommon jpanelCommon = (ICFBamJavaFXDoubleColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddDoubleCol); } buttonAddFloatType = new CFButton(); buttonAddFloatType.setMinWidth(200); buttonAddFloatType.setText("Add FloatType"); buttonAddFloatType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamFloatTypeObj obj = (ICFBamFloatTypeObj) schemaObj.getFloatTypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getFloatTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamFloatTypeEditObj edit = (ICFBamFloatTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXFloatTypePaneCommon jpanelCommon = (ICFBamJavaFXFloatTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddFloatType); } buttonAddFloatCol = new CFButton(); buttonAddFloatCol.setMinWidth(200); buttonAddFloatCol.setText("Add FloatCol"); buttonAddFloatCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamFloatColObj obj = (ICFBamFloatColObj) schemaObj.getFloatColTableObj().newInstance(); CFBorderPane frame = javafxSchema.getFloatColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamFloatColEditObj edit = (ICFBamFloatColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXFloatColPaneCommon jpanelCommon = (ICFBamJavaFXFloatColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddFloatCol); } buttonAddInt16Type = new CFButton(); buttonAddInt16Type.setMinWidth(200); buttonAddInt16Type.setText("Add Int16Type"); buttonAddInt16Type.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamInt16TypeObj obj = (ICFBamInt16TypeObj) schemaObj.getInt16TypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getInt16TypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamInt16TypeEditObj edit = (ICFBamInt16TypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXInt16TypePaneCommon jpanelCommon = (ICFBamJavaFXInt16TypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddInt16Type); } buttonAddId16Gen = new CFButton(); buttonAddId16Gen.setMinWidth(200); buttonAddId16Gen.setText("Add Id16Gen"); buttonAddId16Gen.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamId16GenObj obj = (ICFBamId16GenObj) schemaObj.getId16GenTableObj().newInstance(); CFBorderPane frame = javafxSchema.getId16GenFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamId16GenEditObj edit = (ICFBamId16GenEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXId16GenPaneCommon jpanelCommon = (ICFBamJavaFXId16GenPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddId16Gen); } buttonAddEnumType = new CFButton(); buttonAddEnumType.setMinWidth(200); buttonAddEnumType.setText("Add EnumType"); buttonAddEnumType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamEnumTypeObj obj = (ICFBamEnumTypeObj) schemaObj.getEnumTypeTableObj().newInstance(); CFBorderPane frame = javafxSchema.getEnumTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamEnumTypeEditObj edit = (ICFBamEnumTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXEnumTypePaneCommon jpanelCommon = (ICFBamJavaFXEnumTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddEnumType); } buttonAddInt16Col = new CFButton(); buttonAddInt16Col.setMinWidth(200); buttonAddInt16Col.setText("Add Int16Col"); buttonAddInt16Col.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamInt16ColObj obj = (ICFBamInt16ColObj) schemaObj.getInt16ColTableObj().newInstance(); CFBorderPane frame = javafxSchema.getInt16ColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamInt16ColEditObj edit = (ICFBamInt16ColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXInt16ColPaneCommon jpanelCommon = (ICFBamJavaFXInt16ColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddInt16Col); } buttonAddInt32Type = new CFButton(); buttonAddInt32Type.setMinWidth(200); buttonAddInt32Type.setText("Add Int32Type"); buttonAddInt32Type.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamInt32TypeObj obj = (ICFBamInt32TypeObj) schemaObj.getInt32TypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getInt32TypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamInt32TypeEditObj edit = (ICFBamInt32TypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXInt32TypePaneCommon jpanelCommon = (ICFBamJavaFXInt32TypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddInt32Type); } buttonAddId32Gen = new CFButton(); buttonAddId32Gen.setMinWidth(200); buttonAddId32Gen.setText("Add Id32Gen"); buttonAddId32Gen.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamId32GenObj obj = (ICFBamId32GenObj) schemaObj.getId32GenTableObj().newInstance(); CFBorderPane frame = javafxSchema.getId32GenFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamId32GenEditObj edit = (ICFBamId32GenEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXId32GenPaneCommon jpanelCommon = (ICFBamJavaFXId32GenPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddId32Gen); } buttonAddInt32Col = new CFButton(); buttonAddInt32Col.setMinWidth(200); buttonAddInt32Col.setText("Add Int32Col"); buttonAddInt32Col.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamInt32ColObj obj = (ICFBamInt32ColObj) schemaObj.getInt32ColTableObj().newInstance(); CFBorderPane frame = javafxSchema.getInt32ColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamInt32ColEditObj edit = (ICFBamInt32ColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXInt32ColPaneCommon jpanelCommon = (ICFBamJavaFXInt32ColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddInt32Col); } buttonAddInt64Type = new CFButton(); buttonAddInt64Type.setMinWidth(200); buttonAddInt64Type.setText("Add Int64Type"); buttonAddInt64Type.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamInt64TypeObj obj = (ICFBamInt64TypeObj) schemaObj.getInt64TypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getInt64TypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamInt64TypeEditObj edit = (ICFBamInt64TypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXInt64TypePaneCommon jpanelCommon = (ICFBamJavaFXInt64TypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddInt64Type); } buttonAddId64Gen = new CFButton(); buttonAddId64Gen.setMinWidth(200); buttonAddId64Gen.setText("Add Id64Gen"); buttonAddId64Gen.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamId64GenObj obj = (ICFBamId64GenObj) schemaObj.getId64GenTableObj().newInstance(); CFBorderPane frame = javafxSchema.getId64GenFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamId64GenEditObj edit = (ICFBamId64GenEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXId64GenPaneCommon jpanelCommon = (ICFBamJavaFXId64GenPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddId64Gen); } buttonAddInt64Col = new CFButton(); buttonAddInt64Col.setMinWidth(200); buttonAddInt64Col.setText("Add Int64Col"); buttonAddInt64Col.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamInt64ColObj obj = (ICFBamInt64ColObj) schemaObj.getInt64ColTableObj().newInstance(); CFBorderPane frame = javafxSchema.getInt64ColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamInt64ColEditObj edit = (ICFBamInt64ColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXInt64ColPaneCommon jpanelCommon = (ICFBamJavaFXInt64ColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddInt64Col); } buttonAddNmTokenType = new CFButton(); buttonAddNmTokenType.setMinWidth(200); buttonAddNmTokenType.setText("Add NmTokenType"); buttonAddNmTokenType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamNmTokenTypeObj obj = (ICFBamNmTokenTypeObj) schemaObj.getNmTokenTypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getNmTokenTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamNmTokenTypeEditObj edit = (ICFBamNmTokenTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXNmTokenTypePaneCommon jpanelCommon = (ICFBamJavaFXNmTokenTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddNmTokenType); } buttonAddNmTokenCol = new CFButton(); buttonAddNmTokenCol.setMinWidth(200); buttonAddNmTokenCol.setText("Add NmTokenCol"); buttonAddNmTokenCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamNmTokenColObj obj = (ICFBamNmTokenColObj) schemaObj.getNmTokenColTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getNmTokenColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamNmTokenColEditObj edit = (ICFBamNmTokenColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXNmTokenColPaneCommon jpanelCommon = (ICFBamJavaFXNmTokenColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddNmTokenCol); } buttonAddNmTokensType = new CFButton(); buttonAddNmTokensType.setMinWidth(200); buttonAddNmTokensType.setText("Add NmTokensType"); buttonAddNmTokensType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamNmTokensTypeObj obj = (ICFBamNmTokensTypeObj) schemaObj.getNmTokensTypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getNmTokensTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamNmTokensTypeEditObj edit = (ICFBamNmTokensTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXNmTokensTypePaneCommon jpanelCommon = (ICFBamJavaFXNmTokensTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddNmTokensType); } buttonAddNmTokensCol = new CFButton(); buttonAddNmTokensCol.setMinWidth(200); buttonAddNmTokensCol.setText("Add NmTokensCol"); buttonAddNmTokensCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamNmTokensColObj obj = (ICFBamNmTokensColObj) schemaObj.getNmTokensColTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getNmTokensColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamNmTokensColEditObj edit = (ICFBamNmTokensColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXNmTokensColPaneCommon jpanelCommon = (ICFBamJavaFXNmTokensColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddNmTokensCol); } buttonAddNumberType = new CFButton(); buttonAddNumberType.setMinWidth(200); buttonAddNumberType.setText("Add NumberType"); buttonAddNumberType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamNumberTypeObj obj = (ICFBamNumberTypeObj) schemaObj.getNumberTypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getNumberTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamNumberTypeEditObj edit = (ICFBamNumberTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXNumberTypePaneCommon jpanelCommon = (ICFBamJavaFXNumberTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddNumberType); } buttonAddNumberCol = new CFButton(); buttonAddNumberCol.setMinWidth(200); buttonAddNumberCol.setText("Add NumberCol"); buttonAddNumberCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamNumberColObj obj = (ICFBamNumberColObj) schemaObj.getNumberColTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getNumberColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamNumberColEditObj edit = (ICFBamNumberColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXNumberColPaneCommon jpanelCommon = (ICFBamJavaFXNumberColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddNumberCol); } buttonAddStringType = new CFButton(); buttonAddStringType.setMinWidth(200); buttonAddStringType.setText("Add StringType"); buttonAddStringType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamStringTypeObj obj = (ICFBamStringTypeObj) schemaObj.getStringTypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getStringTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamStringTypeEditObj edit = (ICFBamStringTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXStringTypePaneCommon jpanelCommon = (ICFBamJavaFXStringTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddStringType); } buttonAddStringCol = new CFButton(); buttonAddStringCol.setMinWidth(200); buttonAddStringCol.setText("Add StringCol"); buttonAddStringCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamStringColObj obj = (ICFBamStringColObj) schemaObj.getStringColTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getStringColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamStringColEditObj edit = (ICFBamStringColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXStringColPaneCommon jpanelCommon = (ICFBamJavaFXStringColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddStringCol); } buttonAddTZDateType = new CFButton(); buttonAddTZDateType.setMinWidth(200); buttonAddTZDateType.setText("Add TZDateType"); buttonAddTZDateType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamTZDateTypeObj obj = (ICFBamTZDateTypeObj) schemaObj.getTZDateTypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getTZDateTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamTZDateTypeEditObj edit = (ICFBamTZDateTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXTZDateTypePaneCommon jpanelCommon = (ICFBamJavaFXTZDateTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddTZDateType); } buttonAddTZDateCol = new CFButton(); buttonAddTZDateCol.setMinWidth(200); buttonAddTZDateCol.setText("Add TZDateCol"); buttonAddTZDateCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamTZDateColObj obj = (ICFBamTZDateColObj) schemaObj.getTZDateColTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getTZDateColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamTZDateColEditObj edit = (ICFBamTZDateColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXTZDateColPaneCommon jpanelCommon = (ICFBamJavaFXTZDateColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddTZDateCol); } buttonAddTZTimeType = new CFButton(); buttonAddTZTimeType.setMinWidth(200); buttonAddTZTimeType.setText("Add TZTimeType"); buttonAddTZTimeType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamTZTimeTypeObj obj = (ICFBamTZTimeTypeObj) schemaObj.getTZTimeTypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getTZTimeTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamTZTimeTypeEditObj edit = (ICFBamTZTimeTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXTZTimeTypePaneCommon jpanelCommon = (ICFBamJavaFXTZTimeTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddTZTimeType); } buttonAddTZTimeCol = new CFButton(); buttonAddTZTimeCol.setMinWidth(200); buttonAddTZTimeCol.setText("Add TZTimeCol"); buttonAddTZTimeCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamTZTimeColObj obj = (ICFBamTZTimeColObj) schemaObj.getTZTimeColTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getTZTimeColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamTZTimeColEditObj edit = (ICFBamTZTimeColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXTZTimeColPaneCommon jpanelCommon = (ICFBamJavaFXTZTimeColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddTZTimeCol); } buttonAddTZTimestampType = new CFButton(); buttonAddTZTimestampType.setMinWidth(200); buttonAddTZTimestampType.setText("Add TZTimestampType"); buttonAddTZTimestampType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamTZTimestampTypeObj obj = (ICFBamTZTimestampTypeObj) schemaObj .getTZTimestampTypeTableObj().newInstance(); CFBorderPane frame = javafxSchema.getTZTimestampTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamTZTimestampTypeEditObj edit = (ICFBamTZTimestampTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXTZTimestampTypePaneCommon jpanelCommon = (ICFBamJavaFXTZTimestampTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddTZTimestampType); } buttonAddTZTimestampCol = new CFButton(); buttonAddTZTimestampCol.setMinWidth(200); buttonAddTZTimestampCol.setText("Add TZTimestampCol"); buttonAddTZTimestampCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamTZTimestampColObj obj = (ICFBamTZTimestampColObj) schemaObj .getTZTimestampColTableObj().newInstance(); CFBorderPane frame = javafxSchema.getTZTimestampColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamTZTimestampColEditObj edit = (ICFBamTZTimestampColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXTZTimestampColPaneCommon jpanelCommon = (ICFBamJavaFXTZTimestampColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddTZTimestampCol); } buttonAddTextType = new CFButton(); buttonAddTextType.setMinWidth(200); buttonAddTextType.setText("Add TextType"); buttonAddTextType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamTextTypeObj obj = (ICFBamTextTypeObj) schemaObj.getTextTypeTableObj().newInstance(); CFBorderPane frame = javafxSchema.getTextTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamTextTypeEditObj edit = (ICFBamTextTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXTextTypePaneCommon jpanelCommon = (ICFBamJavaFXTextTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddTextType); } buttonAddTextCol = new CFButton(); buttonAddTextCol.setMinWidth(200); buttonAddTextCol.setText("Add TextCol"); buttonAddTextCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamTextColObj obj = (ICFBamTextColObj) schemaObj.getTextColTableObj().newInstance(); CFBorderPane frame = javafxSchema.getTextColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamTextColEditObj edit = (ICFBamTextColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXTextColPaneCommon jpanelCommon = (ICFBamJavaFXTextColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddTextCol); } buttonAddTimeType = new CFButton(); buttonAddTimeType.setMinWidth(200); buttonAddTimeType.setText("Add TimeType"); buttonAddTimeType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamTimeTypeObj obj = (ICFBamTimeTypeObj) schemaObj.getTimeTypeTableObj().newInstance(); CFBorderPane frame = javafxSchema.getTimeTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamTimeTypeEditObj edit = (ICFBamTimeTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXTimeTypePaneCommon jpanelCommon = (ICFBamJavaFXTimeTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddTimeType); } buttonAddTimeCol = new CFButton(); buttonAddTimeCol.setMinWidth(200); buttonAddTimeCol.setText("Add TimeCol"); buttonAddTimeCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamTimeColObj obj = (ICFBamTimeColObj) schemaObj.getTimeColTableObj().newInstance(); CFBorderPane frame = javafxSchema.getTimeColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamTimeColEditObj edit = (ICFBamTimeColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXTimeColPaneCommon jpanelCommon = (ICFBamJavaFXTimeColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddTimeCol); } buttonAddTimestampType = new CFButton(); buttonAddTimestampType.setMinWidth(200); buttonAddTimestampType.setText("Add TimestampType"); buttonAddTimestampType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamTimestampTypeObj obj = (ICFBamTimestampTypeObj) schemaObj.getTimestampTypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getTimestampTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamTimestampTypeEditObj edit = (ICFBamTimestampTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXTimestampTypePaneCommon jpanelCommon = (ICFBamJavaFXTimestampTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddTimestampType); } buttonAddTimestampCol = new CFButton(); buttonAddTimestampCol.setMinWidth(200); buttonAddTimestampCol.setText("Add TimestampCol"); buttonAddTimestampCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamTimestampColObj obj = (ICFBamTimestampColObj) schemaObj.getTimestampColTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getTimestampColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamTimestampColEditObj edit = (ICFBamTimestampColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXTimestampColPaneCommon jpanelCommon = (ICFBamJavaFXTimestampColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddTimestampCol); } buttonAddTokenType = new CFButton(); buttonAddTokenType.setMinWidth(200); buttonAddTokenType.setText("Add TokenType"); buttonAddTokenType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamTokenTypeObj obj = (ICFBamTokenTypeObj) schemaObj.getTokenTypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getTokenTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamTokenTypeEditObj edit = (ICFBamTokenTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXTokenTypePaneCommon jpanelCommon = (ICFBamJavaFXTokenTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddTokenType); } buttonAddTokenCol = new CFButton(); buttonAddTokenCol.setMinWidth(200); buttonAddTokenCol.setText("Add TokenCol"); buttonAddTokenCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamTokenColObj obj = (ICFBamTokenColObj) schemaObj.getTokenColTableObj().newInstance(); CFBorderPane frame = javafxSchema.getTokenColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamTokenColEditObj edit = (ICFBamTokenColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXTokenColPaneCommon jpanelCommon = (ICFBamJavaFXTokenColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddTokenCol); } buttonAddUInt16Type = new CFButton(); buttonAddUInt16Type.setMinWidth(200); buttonAddUInt16Type.setText("Add UInt16Type"); buttonAddUInt16Type.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamUInt16TypeObj obj = (ICFBamUInt16TypeObj) schemaObj.getUInt16TypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getUInt16TypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamUInt16TypeEditObj edit = (ICFBamUInt16TypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXUInt16TypePaneCommon jpanelCommon = (ICFBamJavaFXUInt16TypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddUInt16Type); } buttonAddUInt16Col = new CFButton(); buttonAddUInt16Col.setMinWidth(200); buttonAddUInt16Col.setText("Add UInt16Col"); buttonAddUInt16Col.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamUInt16ColObj obj = (ICFBamUInt16ColObj) schemaObj.getUInt16ColTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getUInt16ColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamUInt16ColEditObj edit = (ICFBamUInt16ColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXUInt16ColPaneCommon jpanelCommon = (ICFBamJavaFXUInt16ColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddUInt16Col); } buttonAddUInt32Type = new CFButton(); buttonAddUInt32Type.setMinWidth(200); buttonAddUInt32Type.setText("Add UInt32Type"); buttonAddUInt32Type.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamUInt32TypeObj obj = (ICFBamUInt32TypeObj) schemaObj.getUInt32TypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getUInt32TypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamUInt32TypeEditObj edit = (ICFBamUInt32TypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXUInt32TypePaneCommon jpanelCommon = (ICFBamJavaFXUInt32TypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddUInt32Type); } buttonAddUInt32Col = new CFButton(); buttonAddUInt32Col.setMinWidth(200); buttonAddUInt32Col.setText("Add UInt32Col"); buttonAddUInt32Col.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamUInt32ColObj obj = (ICFBamUInt32ColObj) schemaObj.getUInt32ColTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getUInt32ColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamUInt32ColEditObj edit = (ICFBamUInt32ColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXUInt32ColPaneCommon jpanelCommon = (ICFBamJavaFXUInt32ColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddUInt32Col); } buttonAddUInt64Type = new CFButton(); buttonAddUInt64Type.setMinWidth(200); buttonAddUInt64Type.setText("Add UInt64Type"); buttonAddUInt64Type.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamUInt64TypeObj obj = (ICFBamUInt64TypeObj) schemaObj.getUInt64TypeTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getUInt64TypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamUInt64TypeEditObj edit = (ICFBamUInt64TypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXUInt64TypePaneCommon jpanelCommon = (ICFBamJavaFXUInt64TypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddUInt64Type); } buttonAddUInt64Col = new CFButton(); buttonAddUInt64Col.setMinWidth(200); buttonAddUInt64Col.setText("Add UInt64Col"); buttonAddUInt64Col.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamUInt64ColObj obj = (ICFBamUInt64ColObj) schemaObj.getUInt64ColTableObj() .newInstance(); CFBorderPane frame = javafxSchema.getUInt64ColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamUInt64ColEditObj edit = (ICFBamUInt64ColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXUInt64ColPaneCommon jpanelCommon = (ICFBamJavaFXUInt64ColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddUInt64Col); } buttonAddUuidType = new CFButton(); buttonAddUuidType.setMinWidth(200); buttonAddUuidType.setText("Add UuidType"); buttonAddUuidType.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamUuidTypeObj obj = (ICFBamUuidTypeObj) schemaObj.getUuidTypeTableObj().newInstance(); CFBorderPane frame = javafxSchema.getUuidTypeFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamUuidTypeEditObj edit = (ICFBamUuidTypeEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXUuidTypePaneCommon jpanelCommon = (ICFBamJavaFXUuidTypePaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddUuidType); } buttonAddUuidGen = new CFButton(); buttonAddUuidGen.setMinWidth(200); buttonAddUuidGen.setText("Add UuidGen"); buttonAddUuidGen.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamUuidGenObj obj = (ICFBamUuidGenObj) schemaObj.getUuidGenTableObj().newInstance(); CFBorderPane frame = javafxSchema.getUuidGenFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamUuidGenEditObj edit = (ICFBamUuidGenEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamSchemaDefObj container = (ICFBamSchemaDefObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerSchemaDef(container); ICFBamJavaFXUuidGenPaneCommon jpanelCommon = (ICFBamJavaFXUuidGenPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamSchemaDefObj) { list.add(buttonAddUuidGen); } buttonAddUuidCol = new CFButton(); buttonAddUuidCol.setMinWidth(200); buttonAddUuidCol.setText("Add UuidCol"); buttonAddUuidCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamUuidColObj obj = (ICFBamUuidColObj) schemaObj.getUuidColTableObj().newInstance(); CFBorderPane frame = javafxSchema.getUuidColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamUuidColEditObj edit = (ICFBamUuidColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXUuidColPaneCommon jpanelCommon = (ICFBamJavaFXUuidColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddUuidCol); } buttonAddTableCol = new CFButton(); buttonAddTableCol.setMinWidth(200); buttonAddTableCol.setText("Add TableCol"); buttonAddTableCol.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); ICFBamTableColObj obj = (ICFBamTableColObj) schemaObj.getTableColTableObj().newInstance(); CFBorderPane frame = javafxSchema.getTableColFactory().newAddForm(cfFormManager, obj, getViewEditClosedCallback(), true); ICFBamTableColEditObj edit = (ICFBamTableColEditObj) (obj.beginEdit()); if (edit == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "edit"); } ICFSecurityTenantObj secTenant = schemaObj.getSecTenant(); edit.setRequiredOwnerTenant(secTenant); ICFBamTableObj container = (ICFBamTableObj) (getJavaFXContainer()); if (container == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "JavaFXContainer"); } edit.setRequiredContainerTable(container); ICFBamJavaFXTableColPaneCommon jpanelCommon = (ICFBamJavaFXTableColPaneCommon) frame; jpanelCommon.setJavaFXFocus(obj); jpanelCommon.setPaneMode(CFPane.PaneMode.Add); cfFormManager.pushForm(frame); setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); if (javafxContainer instanceof ICFBamTableObj) { list.add(buttonAddTableCol); } int len = list.size(); CFButton arr[] = new CFButton[len]; Iterator<CFButton> iter = list.iterator(); int idx = 0; while (iter.hasNext()) { arr[idx++] = iter.next(); } Arrays.sort(arr, new CompareCFButtonByText()); for (idx = 0; idx < len; idx++) { vboxMenuAdd.getChildren().add(arr[idx]); } buttonCancelAdd = new CFButton(); buttonCancelAdd.setMinWidth(200); buttonCancelAdd.setText("Cancel Add..."); buttonCancelAdd.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { setLeft(null); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); vboxMenuAdd.getChildren().add(buttonCancelAdd); scrollMenuAdd = new ScrollPane(); scrollMenuAdd.setMinWidth(240); scrollMenuAdd.setMaxWidth(240); scrollMenuAdd.setFitToWidth(true); scrollMenuAdd.setHbarPolicy(ScrollBarPolicy.NEVER); scrollMenuAdd.setVbarPolicy(ScrollBarPolicy.AS_NEEDED); scrollMenuAdd.setContent(vboxMenuAdd); buttonAdd = new CFButton(); buttonAdd.setMinWidth(200); buttonAdd.setText("Add..."); buttonAdd.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { setLeft(scrollMenuAdd); adjustListButtons(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonAdd); buttonMoveUpSelected = new CFButton(); buttonMoveUpSelected.setMinWidth(200); buttonMoveUpSelected.setText("Move Up Selected"); buttonMoveUpSelected.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); if (schemaObj == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "schemaObj"); } ICFBamValueObj selectedInstance = getJavaFXFocusAsValue(); if (selectedInstance != null) { if (null != selectedInstance.getOptionalLookupPrev()) { selectedInstance.moveUp(); refreshMe(); } } } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonMoveUpSelected); buttonMoveDownSelected = new CFButton(); buttonMoveDownSelected.setMinWidth(200); buttonMoveDownSelected.setText("Move Down Selected"); buttonMoveDownSelected.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); if (schemaObj == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "schemaObj"); } ICFBamValueObj selectedInstance = getJavaFXFocusAsValue(); if (selectedInstance != null) { if (null != selectedInstance.getOptionalLookupNext()) { selectedInstance.moveDown(); refreshMe(); } } } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonMoveDownSelected); buttonViewSelected = new CFButton(); buttonViewSelected.setMinWidth(200); buttonViewSelected.setText("View Selected"); buttonViewSelected.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); if (schemaObj == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "schemaObj"); } ICFBamValueObj selectedInstance = getJavaFXFocusAsValue(); if (selectedInstance != null) { String classCode = selectedInstance.getClassCode(); if ("VALU".equals(classCode)) { CFBorderPane frame = javafxSchema.getValueFactory().newViewEditForm(cfFormManager, selectedInstance, getViewEditClosedCallback(), false); ((ICFBamJavaFXValuePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ATOM".equals(classCode)) { ICFBamAtomObj obj = (ICFBamAtomObj) selectedInstance; CFBorderPane frame = javafxSchema.getAtomFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXAtomPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("BLBD".equals(classCode)) { ICFBamBlobDefObj obj = (ICFBamBlobDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getBlobDefFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXBlobDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("BLBT".equals(classCode)) { ICFBamBlobTypeObj obj = (ICFBamBlobTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getBlobTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXBlobTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("BLBC".equals(classCode)) { ICFBamBlobColObj obj = (ICFBamBlobColObj) selectedInstance; CFBorderPane frame = javafxSchema.getBlobColFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXBlobColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("BOLD".equals(classCode)) { ICFBamBoolDefObj obj = (ICFBamBoolDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getBoolDefFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXBoolDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("BOLT".equals(classCode)) { ICFBamBoolTypeObj obj = (ICFBamBoolTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getBoolTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXBoolTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("BOLC".equals(classCode)) { ICFBamBoolColObj obj = (ICFBamBoolColObj) selectedInstance; CFBorderPane frame = javafxSchema.getBoolColFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXBoolColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DATD".equals(classCode)) { ICFBamDateDefObj obj = (ICFBamDateDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getDateDefFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXDateDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DATT".equals(classCode)) { ICFBamDateTypeObj obj = (ICFBamDateTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getDateTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXDateTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DATC".equals(classCode)) { ICFBamDateColObj obj = (ICFBamDateColObj) selectedInstance; CFBorderPane frame = javafxSchema.getDateColFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXDateColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DBLD".equals(classCode)) { ICFBamDoubleDefObj obj = (ICFBamDoubleDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getDoubleDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXDoubleDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DBLT".equals(classCode)) { ICFBamDoubleTypeObj obj = (ICFBamDoubleTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getDoubleTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXDoubleTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DBLC".equals(classCode)) { ICFBamDoubleColObj obj = (ICFBamDoubleColObj) selectedInstance; CFBorderPane frame = javafxSchema.getDoubleColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXDoubleColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("FLTD".equals(classCode)) { ICFBamFloatDefObj obj = (ICFBamFloatDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getFloatDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXFloatDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("FLTT".equals(classCode)) { ICFBamFloatTypeObj obj = (ICFBamFloatTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getFloatTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXFloatTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("FLTC".equals(classCode)) { ICFBamFloatColObj obj = (ICFBamFloatColObj) selectedInstance; CFBorderPane frame = javafxSchema.getFloatColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXFloatColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I16D".equals(classCode)) { ICFBamInt16DefObj obj = (ICFBamInt16DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt16DefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt16DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I16T".equals(classCode)) { ICFBamInt16TypeObj obj = (ICFBamInt16TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt16TypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt16TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("IG16".equals(classCode)) { ICFBamId16GenObj obj = (ICFBamId16GenObj) selectedInstance; CFBorderPane frame = javafxSchema.getId16GenFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXId16GenPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ENMD".equals(classCode)) { ICFBamEnumDefObj obj = (ICFBamEnumDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getEnumDefFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXEnumDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ENMT".equals(classCode)) { ICFBamEnumTypeObj obj = (ICFBamEnumTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getEnumTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXEnumTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I16C".equals(classCode)) { ICFBamInt16ColObj obj = (ICFBamInt16ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt16ColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt16ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I32D".equals(classCode)) { ICFBamInt32DefObj obj = (ICFBamInt32DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt32DefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt32DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I32T".equals(classCode)) { ICFBamInt32TypeObj obj = (ICFBamInt32TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt32TypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt32TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("IG32".equals(classCode)) { ICFBamId32GenObj obj = (ICFBamId32GenObj) selectedInstance; CFBorderPane frame = javafxSchema.getId32GenFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXId32GenPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I32C".equals(classCode)) { ICFBamInt32ColObj obj = (ICFBamInt32ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt32ColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt32ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I64D".equals(classCode)) { ICFBamInt64DefObj obj = (ICFBamInt64DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt64DefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt64DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I64T".equals(classCode)) { ICFBamInt64TypeObj obj = (ICFBamInt64TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt64TypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt64TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("IG64".equals(classCode)) { ICFBamId64GenObj obj = (ICFBamId64GenObj) selectedInstance; CFBorderPane frame = javafxSchema.getId64GenFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXId64GenPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I64C".equals(classCode)) { ICFBamInt64ColObj obj = (ICFBamInt64ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt64ColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt64ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NTKD".equals(classCode)) { ICFBamNmTokenDefObj obj = (ICFBamNmTokenDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokenDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNmTokenDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NTKT".equals(classCode)) { ICFBamNmTokenTypeObj obj = (ICFBamNmTokenTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokenTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNmTokenTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NTKC".equals(classCode)) { ICFBamNmTokenColObj obj = (ICFBamNmTokenColObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokenColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNmTokenColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NTSD".equals(classCode)) { ICFBamNmTokensDefObj obj = (ICFBamNmTokensDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokensDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNmTokensDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NTST".equals(classCode)) { ICFBamNmTokensTypeObj obj = (ICFBamNmTokensTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokensTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNmTokensTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NTSC".equals(classCode)) { ICFBamNmTokensColObj obj = (ICFBamNmTokensColObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokensColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNmTokensColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NUMD".equals(classCode)) { ICFBamNumberDefObj obj = (ICFBamNumberDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getNumberDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNumberDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NUMT".equals(classCode)) { ICFBamNumberTypeObj obj = (ICFBamNumberTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getNumberTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNumberTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NUMC".equals(classCode)) { ICFBamNumberColObj obj = (ICFBamNumberColObj) selectedInstance; CFBorderPane frame = javafxSchema.getNumberColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNumberColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("STRD".equals(classCode)) { ICFBamStringDefObj obj = (ICFBamStringDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getStringDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXStringDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("STRT".equals(classCode)) { ICFBamStringTypeObj obj = (ICFBamStringTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getStringTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXStringTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("STRC".equals(classCode)) { ICFBamStringColObj obj = (ICFBamStringColObj) selectedInstance; CFBorderPane frame = javafxSchema.getStringColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXStringColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DAZD".equals(classCode)) { ICFBamTZDateDefObj obj = (ICFBamTZDateDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZDateDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZDateDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DAZT".equals(classCode)) { ICFBamTZDateTypeObj obj = (ICFBamTZDateTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZDateTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZDateTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DAZC".equals(classCode)) { ICFBamTZDateColObj obj = (ICFBamTZDateColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZDateColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZDateColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TMZD".equals(classCode)) { ICFBamTZTimeDefObj obj = (ICFBamTZTimeDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimeDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZTimeDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TMZT".equals(classCode)) { ICFBamTZTimeTypeObj obj = (ICFBamTZTimeTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimeTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZTimeTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TMZC".equals(classCode)) { ICFBamTZTimeColObj obj = (ICFBamTZTimeColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimeColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZTimeColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ZSTD".equals(classCode)) { ICFBamTZTimestampDefObj obj = (ICFBamTZTimestampDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimestampDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZTimestampDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ZSTT".equals(classCode)) { ICFBamTZTimestampTypeObj obj = (ICFBamTZTimestampTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimestampTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZTimestampTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ZSTC".equals(classCode)) { ICFBamTZTimestampColObj obj = (ICFBamTZTimestampColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimestampColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZTimestampColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TXTD".equals(classCode)) { ICFBamTextDefObj obj = (ICFBamTextDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTextDefFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTextDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TXTT".equals(classCode)) { ICFBamTextTypeObj obj = (ICFBamTextTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTextTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTextTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TXTC".equals(classCode)) { ICFBamTextColObj obj = (ICFBamTextColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTextColFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTextColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TIMD".equals(classCode)) { ICFBamTimeDefObj obj = (ICFBamTimeDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimeDefFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTimeDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TIMT".equals(classCode)) { ICFBamTimeTypeObj obj = (ICFBamTimeTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimeTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTimeTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TIMC".equals(classCode)) { ICFBamTimeColObj obj = (ICFBamTimeColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimeColFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTimeColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TSPD".equals(classCode)) { ICFBamTimestampDefObj obj = (ICFBamTimestampDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimestampDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTimestampDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TSPT".equals(classCode)) { ICFBamTimestampTypeObj obj = (ICFBamTimestampTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimestampTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTimestampTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TSPC".equals(classCode)) { ICFBamTimestampColObj obj = (ICFBamTimestampColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimestampColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTimestampColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TKND".equals(classCode)) { ICFBamTokenDefObj obj = (ICFBamTokenDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTokenDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTokenDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TKNT".equals(classCode)) { ICFBamTokenTypeObj obj = (ICFBamTokenTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTokenTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTokenTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TKNC".equals(classCode)) { ICFBamTokenColObj obj = (ICFBamTokenColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTokenColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTokenColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U16D".equals(classCode)) { ICFBamUInt16DefObj obj = (ICFBamUInt16DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt16DefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt16DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U16T".equals(classCode)) { ICFBamUInt16TypeObj obj = (ICFBamUInt16TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt16TypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt16TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U16C".equals(classCode)) { ICFBamUInt16ColObj obj = (ICFBamUInt16ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt16ColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt16ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U32D".equals(classCode)) { ICFBamUInt32DefObj obj = (ICFBamUInt32DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt32DefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt32DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U32T".equals(classCode)) { ICFBamUInt32TypeObj obj = (ICFBamUInt32TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt32TypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt32TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U32C".equals(classCode)) { ICFBamUInt32ColObj obj = (ICFBamUInt32ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt32ColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt32ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U64D".equals(classCode)) { ICFBamUInt64DefObj obj = (ICFBamUInt64DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt64DefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt64DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U64T".equals(classCode)) { ICFBamUInt64TypeObj obj = (ICFBamUInt64TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt64TypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt64TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U64C".equals(classCode)) { ICFBamUInt64ColObj obj = (ICFBamUInt64ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt64ColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt64ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("UIDD".equals(classCode)) { ICFBamUuidDefObj obj = (ICFBamUuidDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getUuidDefFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUuidDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("UIDT".equals(classCode)) { ICFBamUuidTypeObj obj = (ICFBamUuidTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getUuidTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUuidTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("IGUU".equals(classCode)) { ICFBamUuidGenObj obj = (ICFBamUuidGenObj) selectedInstance; CFBorderPane frame = javafxSchema.getUuidGenFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUuidGenPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("UIDC".equals(classCode)) { ICFBamUuidColObj obj = (ICFBamUuidColObj) selectedInstance; CFBorderPane frame = javafxSchema.getUuidColFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUuidColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TBLC".equals(classCode)) { ICFBamTableColObj obj = (ICFBamTableColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTableColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTableColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), S_ProcName, "selectedInstance", selectedInstance, "ICFBamValueObj, ICFBamAtomObj, ICFBamBlobDefObj, ICFBamBlobTypeObj, ICFBamBlobColObj, ICFBamBoolDefObj, ICFBamBoolTypeObj, ICFBamBoolColObj, ICFBamDateDefObj, ICFBamDateTypeObj, ICFBamDateColObj, ICFBamDoubleDefObj, ICFBamDoubleTypeObj, ICFBamDoubleColObj, ICFBamFloatDefObj, ICFBamFloatTypeObj, ICFBamFloatColObj, ICFBamInt16DefObj, ICFBamInt16TypeObj, ICFBamId16GenObj, ICFBamEnumDefObj, ICFBamEnumTypeObj, ICFBamInt16ColObj, ICFBamInt32DefObj, ICFBamInt32TypeObj, ICFBamId32GenObj, ICFBamInt32ColObj, ICFBamInt64DefObj, ICFBamInt64TypeObj, ICFBamId64GenObj, ICFBamInt64ColObj, ICFBamNmTokenDefObj, ICFBamNmTokenTypeObj, ICFBamNmTokenColObj, ICFBamNmTokensDefObj, ICFBamNmTokensTypeObj, ICFBamNmTokensColObj, ICFBamNumberDefObj, ICFBamNumberTypeObj, ICFBamNumberColObj, ICFBamStringDefObj, ICFBamStringTypeObj, ICFBamStringColObj, ICFBamTZDateDefObj, ICFBamTZDateTypeObj, ICFBamTZDateColObj, ICFBamTZTimeDefObj, ICFBamTZTimeTypeObj, ICFBamTZTimeColObj, ICFBamTZTimestampDefObj, ICFBamTZTimestampTypeObj, ICFBamTZTimestampColObj, ICFBamTextDefObj, ICFBamTextTypeObj, ICFBamTextColObj, ICFBamTimeDefObj, ICFBamTimeTypeObj, ICFBamTimeColObj, ICFBamTimestampDefObj, ICFBamTimestampTypeObj, ICFBamTimestampColObj, ICFBamTokenDefObj, ICFBamTokenTypeObj, ICFBamTokenColObj, ICFBamUInt16DefObj, ICFBamUInt16TypeObj, ICFBamUInt16ColObj, ICFBamUInt32DefObj, ICFBamUInt32TypeObj, ICFBamUInt32ColObj, ICFBamUInt64DefObj, ICFBamUInt64TypeObj, ICFBamUInt64ColObj, ICFBamUuidDefObj, ICFBamUuidTypeObj, ICFBamUuidGenObj, ICFBamUuidColObj, ICFBamTableColObj"); } } } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonViewSelected); buttonEditSelected = new CFButton(); buttonEditSelected.setMinWidth(200); buttonEditSelected.setText("Edit Selected"); buttonEditSelected.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); if (schemaObj == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "schemaObj"); } ICFBamValueObj selectedInstance = getJavaFXFocusAsValue(); if (selectedInstance != null) { String classCode = selectedInstance.getClassCode(); if ("VALU".equals(classCode)) { CFBorderPane frame = javafxSchema.getValueFactory().newViewEditForm(cfFormManager, selectedInstance, getViewEditClosedCallback(), false); ((ICFBamJavaFXValuePaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("ATOM".equals(classCode)) { ICFBamAtomObj obj = (ICFBamAtomObj) selectedInstance; CFBorderPane frame = javafxSchema.getAtomFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXAtomPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else if ("BLBD".equals(classCode)) { ICFBamBlobDefObj obj = (ICFBamBlobDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getBlobDefFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXBlobDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("BLBT".equals(classCode)) { ICFBamBlobTypeObj obj = (ICFBamBlobTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getBlobTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXBlobTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("BLBC".equals(classCode)) { ICFBamBlobColObj obj = (ICFBamBlobColObj) selectedInstance; CFBorderPane frame = javafxSchema.getBlobColFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXBlobColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("BOLD".equals(classCode)) { ICFBamBoolDefObj obj = (ICFBamBoolDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getBoolDefFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXBoolDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("BOLT".equals(classCode)) { ICFBamBoolTypeObj obj = (ICFBamBoolTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getBoolTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXBoolTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("BOLC".equals(classCode)) { ICFBamBoolColObj obj = (ICFBamBoolColObj) selectedInstance; CFBorderPane frame = javafxSchema.getBoolColFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXBoolColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DATD".equals(classCode)) { ICFBamDateDefObj obj = (ICFBamDateDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getDateDefFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXDateDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DATT".equals(classCode)) { ICFBamDateTypeObj obj = (ICFBamDateTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getDateTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXDateTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DATC".equals(classCode)) { ICFBamDateColObj obj = (ICFBamDateColObj) selectedInstance; CFBorderPane frame = javafxSchema.getDateColFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXDateColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DBLD".equals(classCode)) { ICFBamDoubleDefObj obj = (ICFBamDoubleDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getDoubleDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXDoubleDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DBLT".equals(classCode)) { ICFBamDoubleTypeObj obj = (ICFBamDoubleTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getDoubleTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXDoubleTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DBLC".equals(classCode)) { ICFBamDoubleColObj obj = (ICFBamDoubleColObj) selectedInstance; CFBorderPane frame = javafxSchema.getDoubleColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXDoubleColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("FLTD".equals(classCode)) { ICFBamFloatDefObj obj = (ICFBamFloatDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getFloatDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXFloatDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("FLTT".equals(classCode)) { ICFBamFloatTypeObj obj = (ICFBamFloatTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getFloatTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXFloatTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("FLTC".equals(classCode)) { ICFBamFloatColObj obj = (ICFBamFloatColObj) selectedInstance; CFBorderPane frame = javafxSchema.getFloatColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXFloatColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I16D".equals(classCode)) { ICFBamInt16DefObj obj = (ICFBamInt16DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt16DefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt16DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I16T".equals(classCode)) { ICFBamInt16TypeObj obj = (ICFBamInt16TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt16TypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt16TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("IG16".equals(classCode)) { ICFBamId16GenObj obj = (ICFBamId16GenObj) selectedInstance; CFBorderPane frame = javafxSchema.getId16GenFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXId16GenPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ENMD".equals(classCode)) { ICFBamEnumDefObj obj = (ICFBamEnumDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getEnumDefFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXEnumDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ENMT".equals(classCode)) { ICFBamEnumTypeObj obj = (ICFBamEnumTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getEnumTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXEnumTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I16C".equals(classCode)) { ICFBamInt16ColObj obj = (ICFBamInt16ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt16ColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt16ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I32D".equals(classCode)) { ICFBamInt32DefObj obj = (ICFBamInt32DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt32DefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt32DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I32T".equals(classCode)) { ICFBamInt32TypeObj obj = (ICFBamInt32TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt32TypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt32TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("IG32".equals(classCode)) { ICFBamId32GenObj obj = (ICFBamId32GenObj) selectedInstance; CFBorderPane frame = javafxSchema.getId32GenFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXId32GenPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I32C".equals(classCode)) { ICFBamInt32ColObj obj = (ICFBamInt32ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt32ColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt32ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I64D".equals(classCode)) { ICFBamInt64DefObj obj = (ICFBamInt64DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt64DefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt64DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I64T".equals(classCode)) { ICFBamInt64TypeObj obj = (ICFBamInt64TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt64TypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt64TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("IG64".equals(classCode)) { ICFBamId64GenObj obj = (ICFBamId64GenObj) selectedInstance; CFBorderPane frame = javafxSchema.getId64GenFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXId64GenPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I64C".equals(classCode)) { ICFBamInt64ColObj obj = (ICFBamInt64ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt64ColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXInt64ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NTKD".equals(classCode)) { ICFBamNmTokenDefObj obj = (ICFBamNmTokenDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokenDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNmTokenDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NTKT".equals(classCode)) { ICFBamNmTokenTypeObj obj = (ICFBamNmTokenTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokenTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNmTokenTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NTKC".equals(classCode)) { ICFBamNmTokenColObj obj = (ICFBamNmTokenColObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokenColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNmTokenColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NTSD".equals(classCode)) { ICFBamNmTokensDefObj obj = (ICFBamNmTokensDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokensDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNmTokensDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NTST".equals(classCode)) { ICFBamNmTokensTypeObj obj = (ICFBamNmTokensTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokensTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNmTokensTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NTSC".equals(classCode)) { ICFBamNmTokensColObj obj = (ICFBamNmTokensColObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokensColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNmTokensColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NUMD".equals(classCode)) { ICFBamNumberDefObj obj = (ICFBamNumberDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getNumberDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNumberDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NUMT".equals(classCode)) { ICFBamNumberTypeObj obj = (ICFBamNumberTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getNumberTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNumberTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NUMC".equals(classCode)) { ICFBamNumberColObj obj = (ICFBamNumberColObj) selectedInstance; CFBorderPane frame = javafxSchema.getNumberColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXNumberColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("STRD".equals(classCode)) { ICFBamStringDefObj obj = (ICFBamStringDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getStringDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXStringDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("STRT".equals(classCode)) { ICFBamStringTypeObj obj = (ICFBamStringTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getStringTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXStringTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("STRC".equals(classCode)) { ICFBamStringColObj obj = (ICFBamStringColObj) selectedInstance; CFBorderPane frame = javafxSchema.getStringColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXStringColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DAZD".equals(classCode)) { ICFBamTZDateDefObj obj = (ICFBamTZDateDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZDateDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZDateDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DAZT".equals(classCode)) { ICFBamTZDateTypeObj obj = (ICFBamTZDateTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZDateTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZDateTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DAZC".equals(classCode)) { ICFBamTZDateColObj obj = (ICFBamTZDateColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZDateColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZDateColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TMZD".equals(classCode)) { ICFBamTZTimeDefObj obj = (ICFBamTZTimeDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimeDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZTimeDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TMZT".equals(classCode)) { ICFBamTZTimeTypeObj obj = (ICFBamTZTimeTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimeTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZTimeTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TMZC".equals(classCode)) { ICFBamTZTimeColObj obj = (ICFBamTZTimeColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimeColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZTimeColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ZSTD".equals(classCode)) { ICFBamTZTimestampDefObj obj = (ICFBamTZTimestampDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimestampDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZTimestampDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ZSTT".equals(classCode)) { ICFBamTZTimestampTypeObj obj = (ICFBamTZTimestampTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimestampTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZTimestampTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ZSTC".equals(classCode)) { ICFBamTZTimestampColObj obj = (ICFBamTZTimestampColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimestampColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTZTimestampColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TXTD".equals(classCode)) { ICFBamTextDefObj obj = (ICFBamTextDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTextDefFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTextDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TXTT".equals(classCode)) { ICFBamTextTypeObj obj = (ICFBamTextTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTextTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTextTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TXTC".equals(classCode)) { ICFBamTextColObj obj = (ICFBamTextColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTextColFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTextColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TIMD".equals(classCode)) { ICFBamTimeDefObj obj = (ICFBamTimeDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimeDefFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTimeDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TIMT".equals(classCode)) { ICFBamTimeTypeObj obj = (ICFBamTimeTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimeTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTimeTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TIMC".equals(classCode)) { ICFBamTimeColObj obj = (ICFBamTimeColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimeColFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTimeColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TSPD".equals(classCode)) { ICFBamTimestampDefObj obj = (ICFBamTimestampDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimestampDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTimestampDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TSPT".equals(classCode)) { ICFBamTimestampTypeObj obj = (ICFBamTimestampTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimestampTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTimestampTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TSPC".equals(classCode)) { ICFBamTimestampColObj obj = (ICFBamTimestampColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimestampColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTimestampColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TKND".equals(classCode)) { ICFBamTokenDefObj obj = (ICFBamTokenDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTokenDefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTokenDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TKNT".equals(classCode)) { ICFBamTokenTypeObj obj = (ICFBamTokenTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTokenTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTokenTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TKNC".equals(classCode)) { ICFBamTokenColObj obj = (ICFBamTokenColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTokenColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTokenColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U16D".equals(classCode)) { ICFBamUInt16DefObj obj = (ICFBamUInt16DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt16DefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt16DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U16T".equals(classCode)) { ICFBamUInt16TypeObj obj = (ICFBamUInt16TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt16TypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt16TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U16C".equals(classCode)) { ICFBamUInt16ColObj obj = (ICFBamUInt16ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt16ColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt16ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U32D".equals(classCode)) { ICFBamUInt32DefObj obj = (ICFBamUInt32DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt32DefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt32DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U32T".equals(classCode)) { ICFBamUInt32TypeObj obj = (ICFBamUInt32TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt32TypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt32TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U32C".equals(classCode)) { ICFBamUInt32ColObj obj = (ICFBamUInt32ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt32ColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt32ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U64D".equals(classCode)) { ICFBamUInt64DefObj obj = (ICFBamUInt64DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt64DefFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt64DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U64T".equals(classCode)) { ICFBamUInt64TypeObj obj = (ICFBamUInt64TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt64TypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt64TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U64C".equals(classCode)) { ICFBamUInt64ColObj obj = (ICFBamUInt64ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt64ColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUInt64ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("UIDD".equals(classCode)) { ICFBamUuidDefObj obj = (ICFBamUuidDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getUuidDefFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUuidDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("UIDT".equals(classCode)) { ICFBamUuidTypeObj obj = (ICFBamUuidTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getUuidTypeFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUuidTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("IGUU".equals(classCode)) { ICFBamUuidGenObj obj = (ICFBamUuidGenObj) selectedInstance; CFBorderPane frame = javafxSchema.getUuidGenFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUuidGenPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("UIDC".equals(classCode)) { ICFBamUuidColObj obj = (ICFBamUuidColObj) selectedInstance; CFBorderPane frame = javafxSchema.getUuidColFactory().newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXUuidColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TBLC".equals(classCode)) { ICFBamTableColObj obj = (ICFBamTableColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTableColFactory() .newViewEditForm(cfFormManager, obj, getViewEditClosedCallback(), false); ((ICFBamJavaFXTableColPaneCommon) frame).setPaneMode(CFPane.PaneMode.Edit); cfFormManager.pushForm(frame); } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), S_ProcName, "selectedInstance", selectedInstance, "ICFBamValueObj, ICFBamAtomObj, ICFBamBlobDefObj, ICFBamBlobTypeObj, ICFBamBlobColObj, ICFBamBoolDefObj, ICFBamBoolTypeObj, ICFBamBoolColObj, ICFBamDateDefObj, ICFBamDateTypeObj, ICFBamDateColObj, ICFBamDoubleDefObj, ICFBamDoubleTypeObj, ICFBamDoubleColObj, ICFBamFloatDefObj, ICFBamFloatTypeObj, ICFBamFloatColObj, ICFBamInt16DefObj, ICFBamInt16TypeObj, ICFBamId16GenObj, ICFBamEnumDefObj, ICFBamEnumTypeObj, ICFBamInt16ColObj, ICFBamInt32DefObj, ICFBamInt32TypeObj, ICFBamId32GenObj, ICFBamInt32ColObj, ICFBamInt64DefObj, ICFBamInt64TypeObj, ICFBamId64GenObj, ICFBamInt64ColObj, ICFBamNmTokenDefObj, ICFBamNmTokenTypeObj, ICFBamNmTokenColObj, ICFBamNmTokensDefObj, ICFBamNmTokensTypeObj, ICFBamNmTokensColObj, ICFBamNumberDefObj, ICFBamNumberTypeObj, ICFBamNumberColObj, ICFBamStringDefObj, ICFBamStringTypeObj, ICFBamStringColObj, ICFBamTZDateDefObj, ICFBamTZDateTypeObj, ICFBamTZDateColObj, ICFBamTZTimeDefObj, ICFBamTZTimeTypeObj, ICFBamTZTimeColObj, ICFBamTZTimestampDefObj, ICFBamTZTimestampTypeObj, ICFBamTZTimestampColObj, ICFBamTextDefObj, ICFBamTextTypeObj, ICFBamTextColObj, ICFBamTimeDefObj, ICFBamTimeTypeObj, ICFBamTimeColObj, ICFBamTimestampDefObj, ICFBamTimestampTypeObj, ICFBamTimestampColObj, ICFBamTokenDefObj, ICFBamTokenTypeObj, ICFBamTokenColObj, ICFBamUInt16DefObj, ICFBamUInt16TypeObj, ICFBamUInt16ColObj, ICFBamUInt32DefObj, ICFBamUInt32TypeObj, ICFBamUInt32ColObj, ICFBamUInt64DefObj, ICFBamUInt64TypeObj, ICFBamUInt64ColObj, ICFBamUuidDefObj, ICFBamUuidTypeObj, ICFBamUuidGenObj, ICFBamUuidColObj, ICFBamTableColObj"); } } } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonEditSelected); buttonDeleteSelected = new CFButton(); buttonDeleteSelected.setMinWidth(200); buttonDeleteSelected.setText("Delete Selected"); buttonDeleteSelected.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); if (schemaObj == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "schemaObj"); } ICFBamValueObj selectedInstance = getJavaFXFocusAsValue(); if (selectedInstance != null) { String classCode = selectedInstance.getClassCode(); if ("VALU".equals(classCode)) { CFBorderPane frame = javafxSchema.getValueFactory().newAskDeleteForm(cfFormManager, selectedInstance, getDeleteCallback()); ((ICFBamJavaFXValuePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ATOM".equals(classCode)) { ICFBamAtomObj obj = (ICFBamAtomObj) selectedInstance; CFBorderPane frame = javafxSchema.getAtomFactory().newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXAtomPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("BLBD".equals(classCode)) { ICFBamBlobDefObj obj = (ICFBamBlobDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getBlobDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXBlobDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("BLBT".equals(classCode)) { ICFBamBlobTypeObj obj = (ICFBamBlobTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getBlobTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXBlobTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("BLBC".equals(classCode)) { ICFBamBlobColObj obj = (ICFBamBlobColObj) selectedInstance; CFBorderPane frame = javafxSchema.getBlobColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXBlobColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("BOLD".equals(classCode)) { ICFBamBoolDefObj obj = (ICFBamBoolDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getBoolDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXBoolDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("BOLT".equals(classCode)) { ICFBamBoolTypeObj obj = (ICFBamBoolTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getBoolTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXBoolTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("BOLC".equals(classCode)) { ICFBamBoolColObj obj = (ICFBamBoolColObj) selectedInstance; CFBorderPane frame = javafxSchema.getBoolColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXBoolColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DATD".equals(classCode)) { ICFBamDateDefObj obj = (ICFBamDateDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getDateDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXDateDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DATT".equals(classCode)) { ICFBamDateTypeObj obj = (ICFBamDateTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getDateTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXDateTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DATC".equals(classCode)) { ICFBamDateColObj obj = (ICFBamDateColObj) selectedInstance; CFBorderPane frame = javafxSchema.getDateColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXDateColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DBLD".equals(classCode)) { ICFBamDoubleDefObj obj = (ICFBamDoubleDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getDoubleDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXDoubleDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DBLT".equals(classCode)) { ICFBamDoubleTypeObj obj = (ICFBamDoubleTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getDoubleTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXDoubleTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DBLC".equals(classCode)) { ICFBamDoubleColObj obj = (ICFBamDoubleColObj) selectedInstance; CFBorderPane frame = javafxSchema.getDoubleColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXDoubleColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("FLTD".equals(classCode)) { ICFBamFloatDefObj obj = (ICFBamFloatDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getFloatDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXFloatDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("FLTT".equals(classCode)) { ICFBamFloatTypeObj obj = (ICFBamFloatTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getFloatTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXFloatTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("FLTC".equals(classCode)) { ICFBamFloatColObj obj = (ICFBamFloatColObj) selectedInstance; CFBorderPane frame = javafxSchema.getFloatColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXFloatColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I16D".equals(classCode)) { ICFBamInt16DefObj obj = (ICFBamInt16DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt16DefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXInt16DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I16T".equals(classCode)) { ICFBamInt16TypeObj obj = (ICFBamInt16TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt16TypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXInt16TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("IG16".equals(classCode)) { ICFBamId16GenObj obj = (ICFBamId16GenObj) selectedInstance; CFBorderPane frame = javafxSchema.getId16GenFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXId16GenPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ENMD".equals(classCode)) { ICFBamEnumDefObj obj = (ICFBamEnumDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getEnumDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXEnumDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ENMT".equals(classCode)) { ICFBamEnumTypeObj obj = (ICFBamEnumTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getEnumTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXEnumTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I16C".equals(classCode)) { ICFBamInt16ColObj obj = (ICFBamInt16ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt16ColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXInt16ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I32D".equals(classCode)) { ICFBamInt32DefObj obj = (ICFBamInt32DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt32DefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXInt32DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I32T".equals(classCode)) { ICFBamInt32TypeObj obj = (ICFBamInt32TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt32TypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXInt32TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("IG32".equals(classCode)) { ICFBamId32GenObj obj = (ICFBamId32GenObj) selectedInstance; CFBorderPane frame = javafxSchema.getId32GenFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXId32GenPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I32C".equals(classCode)) { ICFBamInt32ColObj obj = (ICFBamInt32ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt32ColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXInt32ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I64D".equals(classCode)) { ICFBamInt64DefObj obj = (ICFBamInt64DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt64DefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXInt64DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I64T".equals(classCode)) { ICFBamInt64TypeObj obj = (ICFBamInt64TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt64TypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXInt64TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("IG64".equals(classCode)) { ICFBamId64GenObj obj = (ICFBamId64GenObj) selectedInstance; CFBorderPane frame = javafxSchema.getId64GenFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXId64GenPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("I64C".equals(classCode)) { ICFBamInt64ColObj obj = (ICFBamInt64ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getInt64ColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXInt64ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NTKD".equals(classCode)) { ICFBamNmTokenDefObj obj = (ICFBamNmTokenDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokenDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXNmTokenDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NTKT".equals(classCode)) { ICFBamNmTokenTypeObj obj = (ICFBamNmTokenTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokenTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXNmTokenTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NTKC".equals(classCode)) { ICFBamNmTokenColObj obj = (ICFBamNmTokenColObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokenColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXNmTokenColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NTSD".equals(classCode)) { ICFBamNmTokensDefObj obj = (ICFBamNmTokensDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokensDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXNmTokensDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NTST".equals(classCode)) { ICFBamNmTokensTypeObj obj = (ICFBamNmTokensTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokensTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXNmTokensTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NTSC".equals(classCode)) { ICFBamNmTokensColObj obj = (ICFBamNmTokensColObj) selectedInstance; CFBorderPane frame = javafxSchema.getNmTokensColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXNmTokensColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NUMD".equals(classCode)) { ICFBamNumberDefObj obj = (ICFBamNumberDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getNumberDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXNumberDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NUMT".equals(classCode)) { ICFBamNumberTypeObj obj = (ICFBamNumberTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getNumberTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXNumberTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("NUMC".equals(classCode)) { ICFBamNumberColObj obj = (ICFBamNumberColObj) selectedInstance; CFBorderPane frame = javafxSchema.getNumberColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXNumberColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("STRD".equals(classCode)) { ICFBamStringDefObj obj = (ICFBamStringDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getStringDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXStringDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("STRT".equals(classCode)) { ICFBamStringTypeObj obj = (ICFBamStringTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getStringTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXStringTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("STRC".equals(classCode)) { ICFBamStringColObj obj = (ICFBamStringColObj) selectedInstance; CFBorderPane frame = javafxSchema.getStringColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXStringColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DAZD".equals(classCode)) { ICFBamTZDateDefObj obj = (ICFBamTZDateDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZDateDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTZDateDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DAZT".equals(classCode)) { ICFBamTZDateTypeObj obj = (ICFBamTZDateTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZDateTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTZDateTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("DAZC".equals(classCode)) { ICFBamTZDateColObj obj = (ICFBamTZDateColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZDateColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTZDateColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TMZD".equals(classCode)) { ICFBamTZTimeDefObj obj = (ICFBamTZTimeDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimeDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTZTimeDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TMZT".equals(classCode)) { ICFBamTZTimeTypeObj obj = (ICFBamTZTimeTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimeTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTZTimeTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TMZC".equals(classCode)) { ICFBamTZTimeColObj obj = (ICFBamTZTimeColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimeColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTZTimeColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ZSTD".equals(classCode)) { ICFBamTZTimestampDefObj obj = (ICFBamTZTimestampDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimestampDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTZTimestampDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ZSTT".equals(classCode)) { ICFBamTZTimestampTypeObj obj = (ICFBamTZTimestampTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimestampTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTZTimestampTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("ZSTC".equals(classCode)) { ICFBamTZTimestampColObj obj = (ICFBamTZTimestampColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTZTimestampColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTZTimestampColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TXTD".equals(classCode)) { ICFBamTextDefObj obj = (ICFBamTextDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTextDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTextDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TXTT".equals(classCode)) { ICFBamTextTypeObj obj = (ICFBamTextTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTextTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTextTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TXTC".equals(classCode)) { ICFBamTextColObj obj = (ICFBamTextColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTextColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTextColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TIMD".equals(classCode)) { ICFBamTimeDefObj obj = (ICFBamTimeDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimeDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTimeDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TIMT".equals(classCode)) { ICFBamTimeTypeObj obj = (ICFBamTimeTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimeTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTimeTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TIMC".equals(classCode)) { ICFBamTimeColObj obj = (ICFBamTimeColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimeColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTimeColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TSPD".equals(classCode)) { ICFBamTimestampDefObj obj = (ICFBamTimestampDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimestampDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTimestampDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TSPT".equals(classCode)) { ICFBamTimestampTypeObj obj = (ICFBamTimestampTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimestampTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTimestampTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TSPC".equals(classCode)) { ICFBamTimestampColObj obj = (ICFBamTimestampColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTimestampColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTimestampColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TKND".equals(classCode)) { ICFBamTokenDefObj obj = (ICFBamTokenDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getTokenDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTokenDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TKNT".equals(classCode)) { ICFBamTokenTypeObj obj = (ICFBamTokenTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getTokenTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTokenTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TKNC".equals(classCode)) { ICFBamTokenColObj obj = (ICFBamTokenColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTokenColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTokenColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U16D".equals(classCode)) { ICFBamUInt16DefObj obj = (ICFBamUInt16DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt16DefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXUInt16DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U16T".equals(classCode)) { ICFBamUInt16TypeObj obj = (ICFBamUInt16TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt16TypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXUInt16TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U16C".equals(classCode)) { ICFBamUInt16ColObj obj = (ICFBamUInt16ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt16ColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXUInt16ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U32D".equals(classCode)) { ICFBamUInt32DefObj obj = (ICFBamUInt32DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt32DefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXUInt32DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U32T".equals(classCode)) { ICFBamUInt32TypeObj obj = (ICFBamUInt32TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt32TypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXUInt32TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U32C".equals(classCode)) { ICFBamUInt32ColObj obj = (ICFBamUInt32ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt32ColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXUInt32ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U64D".equals(classCode)) { ICFBamUInt64DefObj obj = (ICFBamUInt64DefObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt64DefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXUInt64DefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U64T".equals(classCode)) { ICFBamUInt64TypeObj obj = (ICFBamUInt64TypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt64TypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXUInt64TypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("U64C".equals(classCode)) { ICFBamUInt64ColObj obj = (ICFBamUInt64ColObj) selectedInstance; CFBorderPane frame = javafxSchema.getUInt64ColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXUInt64ColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("UIDD".equals(classCode)) { ICFBamUuidDefObj obj = (ICFBamUuidDefObj) selectedInstance; CFBorderPane frame = javafxSchema.getUuidDefFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXUuidDefPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("UIDT".equals(classCode)) { ICFBamUuidTypeObj obj = (ICFBamUuidTypeObj) selectedInstance; CFBorderPane frame = javafxSchema.getUuidTypeFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXUuidTypePaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("IGUU".equals(classCode)) { ICFBamUuidGenObj obj = (ICFBamUuidGenObj) selectedInstance; CFBorderPane frame = javafxSchema.getUuidGenFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXUuidGenPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("UIDC".equals(classCode)) { ICFBamUuidColObj obj = (ICFBamUuidColObj) selectedInstance; CFBorderPane frame = javafxSchema.getUuidColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXUuidColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else if ("TBLC".equals(classCode)) { ICFBamTableColObj obj = (ICFBamTableColObj) selectedInstance; CFBorderPane frame = javafxSchema.getTableColFactory() .newAskDeleteForm(cfFormManager, obj, getDeleteCallback()); ((ICFBamJavaFXTableColPaneCommon) frame).setPaneMode(CFPane.PaneMode.View); cfFormManager.pushForm(frame); } else { throw CFLib.getDefaultExceptionFactory().newUnsupportedClassException(getClass(), S_ProcName, "selectedInstance", selectedInstance, "ICFBamValueObj, ICFBamAtomObj, ICFBamBlobDefObj, ICFBamBlobTypeObj, ICFBamBlobColObj, ICFBamBoolDefObj, ICFBamBoolTypeObj, ICFBamBoolColObj, ICFBamDateDefObj, ICFBamDateTypeObj, ICFBamDateColObj, ICFBamDoubleDefObj, ICFBamDoubleTypeObj, ICFBamDoubleColObj, ICFBamFloatDefObj, ICFBamFloatTypeObj, ICFBamFloatColObj, ICFBamInt16DefObj, ICFBamInt16TypeObj, ICFBamId16GenObj, ICFBamEnumDefObj, ICFBamEnumTypeObj, ICFBamInt16ColObj, ICFBamInt32DefObj, ICFBamInt32TypeObj, ICFBamId32GenObj, ICFBamInt32ColObj, ICFBamInt64DefObj, ICFBamInt64TypeObj, ICFBamId64GenObj, ICFBamInt64ColObj, ICFBamNmTokenDefObj, ICFBamNmTokenTypeObj, ICFBamNmTokenColObj, ICFBamNmTokensDefObj, ICFBamNmTokensTypeObj, ICFBamNmTokensColObj, ICFBamNumberDefObj, ICFBamNumberTypeObj, ICFBamNumberColObj, ICFBamStringDefObj, ICFBamStringTypeObj, ICFBamStringColObj, ICFBamTZDateDefObj, ICFBamTZDateTypeObj, ICFBamTZDateColObj, ICFBamTZTimeDefObj, ICFBamTZTimeTypeObj, ICFBamTZTimeColObj, ICFBamTZTimestampDefObj, ICFBamTZTimestampTypeObj, ICFBamTZTimestampColObj, ICFBamTextDefObj, ICFBamTextTypeObj, ICFBamTextColObj, ICFBamTimeDefObj, ICFBamTimeTypeObj, ICFBamTimeColObj, ICFBamTimestampDefObj, ICFBamTimestampTypeObj, ICFBamTimestampColObj, ICFBamTokenDefObj, ICFBamTokenTypeObj, ICFBamTokenColObj, ICFBamUInt16DefObj, ICFBamUInt16TypeObj, ICFBamUInt16ColObj, ICFBamUInt32DefObj, ICFBamUInt32TypeObj, ICFBamUInt32ColObj, ICFBamUInt64DefObj, ICFBamUInt64TypeObj, ICFBamUInt64ColObj, ICFBamUuidDefObj, ICFBamUuidTypeObj, ICFBamUuidGenObj, ICFBamUuidColObj, ICFBamTableColObj"); } } } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonDeleteSelected); } return (hboxMenu); }
From source file:editeurpanovisu.EditeurPanovisu.java
/** * * @param primaryStage//ww w . j a v a2 s . c o m * @param racine * @param taille * @throws Exception */ private void creeMenu(VBox racine, int taille) throws Exception { //Pane myPane = (Pane) FXMLLoader.load(getClass().getResource("menuPrincipal.fxml")); VBox myPane = new VBox(); myPane.setPrefHeight(80); myPane.setPrefWidth(3000); MenuBar menuPrincipal = new MenuBar(); menuPrincipal.setMinHeight(25); menuPrincipal.setPrefHeight(29); menuPrincipal.setPrefWidth(3000); /* Menu projets */ Menu menuProjet = new Menu(rb.getString("projets")); menuPrincipal.getMenus().add(menuProjet); nouveauProjet = new MenuItem(rb.getString("nouveauProjet")); nouveauProjet.setAccelerator(KeyCombination.keyCombination("Ctrl+N")); menuProjet.getItems().add(nouveauProjet); chargeProjet = new MenuItem(rb.getString("ouvrirProjet")); chargeProjet.setAccelerator(KeyCombination.keyCombination("Ctrl+O")); menuProjet.getItems().add(chargeProjet); sauveProjet = new MenuItem(rb.getString("sauverProjet")); sauveProjet.setDisable(true); sauveProjet.setAccelerator(KeyCombination.keyCombination("Ctrl+S")); menuProjet.getItems().add(sauveProjet); sauveSousProjet = new MenuItem(rb.getString("sauverProjetSous")); sauveSousProjet.setDisable(true); sauveSousProjet.setAccelerator(KeyCombination.keyCombination("Shift+Ctrl+S")); menuProjet.getItems().add(sauveSousProjet); derniersProjets = new Menu(rb.getString("derniersProjets")); // derniersProjets.setDisable(true); menuProjet.getItems().add(derniersProjets); fichHistoFichiers = new File(repertConfig.getAbsolutePath() + File.separator + "derniersprojets.cfg"); nombreHistoFichiers = 0; if (fichHistoFichiers.exists()) { FileReader fr; fr = new FileReader(fichHistoFichiers); try (BufferedReader br = new BufferedReader(fr)) { while ((texteHisto = br.readLine()) != null) { MenuItem menuDerniersFichiers = new MenuItem(texteHisto); derniersProjets.getItems().add(menuDerniersFichiers); histoFichiers[nombreHistoFichiers] = texteHisto; nombreHistoFichiers++; menuDerniersFichiers.setOnAction((ActionEvent e) -> { MenuItem mnu = (MenuItem) e.getSource(); try { try { projetChargeNom(mnu.getText()); } catch (InterruptedException ex) { Logger.getLogger(EditeurPanovisu.class.getName()).log(Level.SEVERE, null, ex); } } catch (IOException ex) { Logger.getLogger(EditeurPanovisu.class.getName()).log(Level.SEVERE, null, ex); } }); } } } SeparatorMenuItem sep1 = new SeparatorMenuItem(); menuProjet.getItems().add(sep1); fermerProjet = new MenuItem(rb.getString("quitterApplication")); fermerProjet.setAccelerator(KeyCombination.keyCombination("Ctrl+Q")); menuProjet.getItems().add(fermerProjet); /* Menu affichage */ Menu menuAffichage = new Menu(rb.getString("affichage")); menuPrincipal.getMenus().add(menuAffichage); affichageVisite = new MenuItem(rb.getString("main.creationVisite")); affichageVisite.setAccelerator(KeyCombination.keyCombination("Ctrl+1")); menuAffichage.getItems().add(affichageVisite); affichageInterface = new MenuItem(rb.getString("main.creationInterface")); affichageInterface.setAccelerator(KeyCombination.keyCombination("Ctrl+2")); menuAffichage.getItems().add(affichageInterface); affichagePlan = new MenuItem(rb.getString("main.tabPlan")); affichagePlan.setAccelerator(KeyCombination.keyCombination("Ctrl+3")); affichagePlan.setDisable(true); menuAffichage.getItems().add(affichagePlan); SeparatorMenuItem sep3 = new SeparatorMenuItem(); menuAffichage.getItems().add(sep3); configTransformation = new MenuItem(rb.getString("affichageConfiguration")); menuAffichage.getItems().add(configTransformation); /* Menu panoramiques */ menuPanoramique = new Menu(rb.getString("panoramiques")); menuPanoramique.setDisable(true); menuPrincipal.getMenus().add(menuPanoramique); ajouterPano = new MenuItem(rb.getString("ajouterPanoramiques")); ajouterPano.setAccelerator(KeyCombination.keyCombination("Ctrl+A")); menuPanoramique.getItems().add(ajouterPano); ajouterPlan = new MenuItem(rb.getString("ajouterPlan")); ajouterPlan.setAccelerator(KeyCombination.keyCombination("Ctrl+P")); menuPanoramique.getItems().add(ajouterPlan); ajouterPlan.setDisable(true); SeparatorMenuItem sep2 = new SeparatorMenuItem(); menuPanoramique.getItems().add(sep2); visiteGenere = new MenuItem(rb.getString("genererVisite")); visiteGenere.setDisable(true); visiteGenere.setAccelerator(KeyCombination.keyCombination("Ctrl+V")); menuPanoramique.getItems().add(visiteGenere); /* Menu Modles */ menuModeles = new Menu(rb.getString("menuModele")); menuPrincipal.getMenus().add(menuModeles); chargerModele = new MenuItem(rb.getString("modeleCharger")); menuModeles.getItems().add(chargerModele); sauverModele = new MenuItem(rb.getString("modeleSauver")); menuModeles.getItems().add(sauverModele); /* Menu transformations */ menuTransformation = new Menu(rb.getString("outils")); menuPrincipal.getMenus().add(menuTransformation); equi2CubeTransformation = new MenuItem(rb.getString("outilsEqui2Cube")); menuTransformation.getItems().add(equi2CubeTransformation); cube2EquiTransformation = new MenuItem(rb.getString("outilsCube2Equi")); menuTransformation.getItems().add(cube2EquiTransformation); /* Menu Aide */ Menu menuAide = new Menu(rb.getString("aide")); menuPrincipal.getMenus().add(menuAide); aide = new MenuItem(rb.getString("aideAide")); aide.setAccelerator(KeyCombination.keyCombination("Ctrl+H")); menuAide.getItems().add(aide); SeparatorMenuItem sep4 = new SeparatorMenuItem(); menuAide.getItems().add(sep4); aPropos = new MenuItem(rb.getString("aideAPropos")); menuAide.getItems().add(aPropos); /* barre de boutons */ HBox barreBouton = new HBox(); barreBouton.getStyleClass().add("menuBarreOutils1"); barreBouton.setPrefHeight(50); barreBouton.setMinHeight(50); barreBouton.setPrefWidth(3000); /* Bouton nouveau Projet */ ScrollPane spBtnNouvprojet = new ScrollPane(); spBtnNouvprojet.getStyleClass().add("menuBarreOutils"); spBtnNouvprojet.setHbarPolicy(ScrollPane.ScrollBarPolicy.NEVER); spBtnNouvprojet.setPrefHeight(35); spBtnNouvprojet.setMaxHeight(35); spBtnNouvprojet.setPadding(new Insets(2)); spBtnNouvprojet.setPrefWidth(35); HBox.setMargin(spBtnNouvprojet, new Insets(5, 15, 0, 15)); imgNouveauProjet = new ImageView( new Image("file:" + repertAppli + File.separator + "images/nouveauProjet.png")); spBtnNouvprojet.setContent(imgNouveauProjet); Tooltip t0 = new Tooltip(rb.getString("nouveauProjet")); t0.setStyle(tooltipStyle); spBtnNouvprojet.setTooltip(t0); barreBouton.getChildren().add(spBtnNouvprojet); /* Bouton ouvrir Projet */ ScrollPane spBtnOuvrirProjet = new ScrollPane(); spBtnOuvrirProjet.getStyleClass().add("menuBarreOutils"); spBtnOuvrirProjet.setHbarPolicy(ScrollPane.ScrollBarPolicy.NEVER); spBtnOuvrirProjet.setPrefHeight(35); spBtnOuvrirProjet.setMaxHeight(35); spBtnOuvrirProjet.setPadding(new Insets(2)); spBtnOuvrirProjet.setPrefWidth(35); HBox.setMargin(spBtnOuvrirProjet, new Insets(5, 15, 0, 0)); imgChargeProjet = new ImageView( new Image("file:" + repertAppli + File.separator + "images/ouvrirProjet.png")); spBtnOuvrirProjet.setContent(imgChargeProjet); Tooltip t1 = new Tooltip(rb.getString("ouvrirProjet")); t1.setStyle(tooltipStyle); spBtnOuvrirProjet.setTooltip(t1); barreBouton.getChildren().add(spBtnOuvrirProjet); /* Bouton sauve Projet */ ScrollPane spBtnSauveProjet = new ScrollPane(); spBtnSauveProjet.getStyleClass().add("menuBarreOutils"); spBtnSauveProjet.setHbarPolicy(ScrollPane.ScrollBarPolicy.NEVER); spBtnSauveProjet.setPrefHeight(35); spBtnSauveProjet.setMaxHeight(35); spBtnSauveProjet.setPadding(new Insets(2)); spBtnSauveProjet.setPrefWidth(35); HBox.setMargin(spBtnSauveProjet, new Insets(5, 15, 0, 0)); imgSauveProjet = new ImageView( new Image("file:" + repertAppli + File.separator + "images/sauveProjet.png")); spBtnSauveProjet.setContent(imgSauveProjet); Tooltip t2 = new Tooltip(rb.getString("sauverProjet")); t2.setStyle(tooltipStyle); spBtnSauveProjet.setTooltip(t2); barreBouton.getChildren().add(spBtnSauveProjet); Separator sepImages = new Separator(Orientation.VERTICAL); sepImages.prefHeight(200); barreBouton.getChildren().add(sepImages); imgSauveProjet.setDisable(true); imgSauveProjet.setOpacity(0.3); /* Bouton Ajoute Panoramique */ ScrollPane spBtnAjoutePano = new ScrollPane(); spBtnAjoutePano.getStyleClass().add("menuBarreOutils"); spBtnAjoutePano.setHbarPolicy(ScrollPane.ScrollBarPolicy.NEVER); spBtnAjoutePano.setPrefHeight(35); spBtnAjoutePano.setMaxHeight(35); spBtnAjoutePano.setPadding(new Insets(2)); spBtnAjoutePano.setPrefWidth(35); HBox.setMargin(spBtnAjoutePano, new Insets(5, 15, 0, 15)); imgAjouterPano = new ImageView( new Image("file:" + repertAppli + File.separator + "images/ajoutePanoramique.png")); spBtnAjoutePano.setContent(imgAjouterPano); Tooltip t3 = new Tooltip(rb.getString("ajouterPanoramiques")); t3.setStyle(tooltipStyle); spBtnAjoutePano.setTooltip(t3); barreBouton.getChildren().add(spBtnAjoutePano); imgAjouterPano.setDisable(true); imgAjouterPano.setOpacity(0.3); /* Bouton Ajoute Panoramique */ ScrollPane spBtnAjoutePlan = new ScrollPane(); spBtnAjoutePlan.getStyleClass().add("menuBarreOutils"); spBtnAjoutePlan.setHbarPolicy(ScrollPane.ScrollBarPolicy.NEVER); spBtnAjoutePlan.setPrefHeight(35); spBtnAjoutePlan.setMaxHeight(35); spBtnAjoutePlan.setPadding(new Insets(2)); spBtnAjoutePlan.setPrefWidth(35); HBox.setMargin(spBtnAjoutePlan, new Insets(5, 15, 0, 15)); imgAjouterPlan = new ImageView(new Image("file:" + repertAppli + File.separator + "images/ajoutePlan.png")); spBtnAjoutePlan.setContent(imgAjouterPlan); Tooltip t31 = new Tooltip(rb.getString("ajouterPlan")); t31.setStyle(tooltipStyle); spBtnAjoutePlan.setTooltip(t31); barreBouton.getChildren().add(spBtnAjoutePlan); imgAjouterPlan.setDisable(true); imgAjouterPlan.setOpacity(0.3); /* Bouton Gnre */ ScrollPane spBtnGenereVisite = new ScrollPane(); spBtnGenereVisite.getStyleClass().add("menuBarreOutils"); spBtnGenereVisite.setHbarPolicy(ScrollPane.ScrollBarPolicy.NEVER); spBtnGenereVisite.setPrefHeight(35); spBtnGenereVisite.setMaxHeight(35); spBtnGenereVisite.setPadding(new Insets(2)); spBtnGenereVisite.setPrefWidth(70); HBox.setMargin(spBtnGenereVisite, new Insets(5, 15, 0, 0)); imgVisiteGenere = new ImageView( new Image("file:" + repertAppli + File.separator + "images/genereVisite.png")); spBtnGenereVisite.setContent(imgVisiteGenere); Tooltip t4 = new Tooltip(rb.getString("genererVisite")); t4.setStyle(tooltipStyle); spBtnGenereVisite.setTooltip(t4); barreBouton.getChildren().add(spBtnGenereVisite); imgVisiteGenere.setDisable(true); imgVisiteGenere.setOpacity(0.3); Separator sepImages1 = new Separator(Orientation.VERTICAL); sepImages1.prefHeight(200); barreBouton.getChildren().add(sepImages1); /* Bouton equi -> faces de Cube */ ScrollPane spBtnEqui2Cube = new ScrollPane(); spBtnEqui2Cube.getStyleClass().add("menuBarreOutils"); spBtnEqui2Cube.setHbarPolicy(ScrollPane.ScrollBarPolicy.NEVER); spBtnEqui2Cube.setPrefHeight(35); spBtnEqui2Cube.setMaxHeight(35); spBtnEqui2Cube.setPadding(new Insets(2)); spBtnEqui2Cube.setPrefWidth(109); HBox.setMargin(spBtnEqui2Cube, new Insets(5, 15, 0, 250)); imgEqui2Cube = new ImageView(new Image("file:" + repertAppli + File.separator + "images/equi2cube.png")); spBtnEqui2Cube.setContent(imgEqui2Cube); Tooltip t6 = new Tooltip(rb.getString("outilsEqui2Cube")); t6.setStyle(tooltipStyle); spBtnEqui2Cube.setTooltip(t6); barreBouton.getChildren().add(spBtnEqui2Cube); /* Bouton faces de cube -> equi */ ScrollPane spBtnCube2Equi = new ScrollPane(); spBtnCube2Equi.getStyleClass().add("menuBarreOutils"); spBtnCube2Equi.setHbarPolicy(ScrollPane.ScrollBarPolicy.NEVER); spBtnCube2Equi.setPrefHeight(35); spBtnCube2Equi.setMaxHeight(35); spBtnCube2Equi.setPadding(new Insets(2)); spBtnCube2Equi.setPrefWidth(109); HBox.setMargin(spBtnCube2Equi, new Insets(5, 25, 0, 0)); imgCube2Equi = new ImageView(new Image("file:" + repertAppli + File.separator + "images/cube2equi.png")); spBtnCube2Equi.setContent(imgCube2Equi); Tooltip t5 = new Tooltip(rb.getString("outilsCube2Equi")); t5.setStyle(tooltipStyle); spBtnCube2Equi.setTooltip(t5); barreBouton.getChildren().add(spBtnCube2Equi); myPane.getChildren().addAll(menuPrincipal, barreBouton); racine.getChildren().add(myPane); nouveauProjet.setOnAction((ActionEvent e) -> { projetsNouveau(); }); chargeProjet.setOnAction((ActionEvent e) -> { try { try { projetCharge(); } catch (InterruptedException ex) { Logger.getLogger(EditeurPanovisu.class.getName()).log(Level.SEVERE, null, ex); } } catch (IOException ex) { Logger.getLogger(EditeurPanovisu.class.getName()).log(Level.SEVERE, null, ex); } }); sauveProjet.setOnAction((ActionEvent e) -> { try { projetSauve(); } catch (IOException ex) { Logger.getLogger(EditeurPanovisu.class.getName()).log(Level.SEVERE, null, ex); } }); sauveSousProjet.setOnAction((ActionEvent e) -> { try { projetSauveSous(); } catch (IOException ex) { Logger.getLogger(EditeurPanovisu.class.getName()).log(Level.SEVERE, null, ex); } }); visiteGenere.setOnAction((ActionEvent e) -> { try { genereVisite(); } catch (IOException ex) { Logger.getLogger(EditeurPanovisu.class.getName()).log(Level.SEVERE, null, ex); } }); fermerProjet.setOnAction((ActionEvent e) -> { try { projetsFermer(); } catch (IOException ex) { Logger.getLogger(EditeurPanovisu.class.getName()).log(Level.SEVERE, null, ex); } }); ajouterPano.setOnAction((ActionEvent e) -> { try { panoramiquesAjouter(); } catch (InterruptedException ex) { Logger.getLogger(EditeurPanovisu.class.getName()).log(Level.SEVERE, null, ex); } }); ajouterPlan.setOnAction((ActionEvent e) -> { planAjouter(); }); aPropos.setOnAction((ActionEvent e) -> { aideapropos(); }); aide.setOnAction((ActionEvent e) -> { AideDialogController.affiche(); }); chargerModele.setOnAction((ActionEvent e) -> { try { modeleCharger(); } catch (IOException ex) { Logger.getLogger(EditeurPanovisu.class.getName()).log(Level.SEVERE, null, ex); } }); sauverModele.setOnAction((ActionEvent e) -> { try { modeleSauver(); } catch (IOException ex) { Logger.getLogger(EditeurPanovisu.class.getName()).log(Level.SEVERE, null, ex); } }); cube2EquiTransformation.setOnAction((ActionEvent e) -> { transformationCube2Equi(); }); equi2CubeTransformation.setOnAction((ActionEvent e) -> { transformationEqui2Cube(); }); affichageVisite.setOnAction((ActionEvent e) -> { tabPaneEnvironnement.getSelectionModel().select(0); }); affichageInterface.setOnAction((ActionEvent e) -> { tabPaneEnvironnement.getSelectionModel().select(1); }); affichagePlan.setOnAction((ActionEvent e) -> { if (!tabPlan.isDisabled()) { tabPaneEnvironnement.getSelectionModel().select(2); } }); configTransformation.setOnAction((ActionEvent e) -> { try { ConfigDialogController cfg = new ConfigDialogController(); cfg.afficheFenetre(); } catch (IOException ex) { Logger.getLogger(EditeurPanovisu.class.getName()).log(Level.SEVERE, null, ex); } }); spBtnNouvprojet.setOnMouseClicked((MouseEvent t) -> { projetsNouveau(); }); spBtnOuvrirProjet.setOnMouseClicked((MouseEvent t) -> { try { try { projetCharge(); } catch (InterruptedException ex) { Logger.getLogger(EditeurPanovisu.class.getName()).log(Level.SEVERE, null, ex); } } catch (IOException ex) { Logger.getLogger(EditeurPanovisu.class.getName()).log(Level.SEVERE, null, ex); } }); spBtnSauveProjet.setOnMouseClicked((MouseEvent t) -> { try { projetSauve(); } catch (IOException ex) { Logger.getLogger(EditeurPanovisu.class.getName()).log(Level.SEVERE, null, ex); } }); spBtnAjoutePano.setOnMouseClicked((MouseEvent t) -> { try { panoramiquesAjouter(); } catch (InterruptedException ex) { Logger.getLogger(EditeurPanovisu.class.getName()).log(Level.SEVERE, null, ex); } }); spBtnAjoutePlan.setOnMouseClicked((MouseEvent t) -> { planAjouter(); }); spBtnGenereVisite.setOnMouseClicked((MouseEvent t) -> { try { genereVisite(); } catch (IOException ex) { Logger.getLogger(EditeurPanovisu.class.getName()).log(Level.SEVERE, null, ex); } }); spBtnEqui2Cube.setOnMouseClicked((MouseEvent t) -> { transformationEqui2Cube(); }); spBtnCube2Equi.setOnMouseClicked((MouseEvent t) -> { transformationCube2Equi(); }); }