List of usage examples for javafx.util Callback Callback
Callback
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamJavaFX.CFBamJavaFXSchemaDefPickerPane.java
public CFBamJavaFXSchemaDefPickerPane(ICFFormManager formManager, ICFBamJavaFXSchema argSchema, ICFBamSchemaDefObj argFocus, ICFInternetDomainBaseObj argContainer, Collection<ICFBamSchemaDefObj> argDataCollection, ICFBamJavaFXSchemaDefChosen whenChosen) { super();// w w w.j av a 2 s .com 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"); } if (whenChosen == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 6, "whenChosen"); } invokeWhenChosen = whenChosen; // argFocus is optional; focus may be set later during execution as // conditions of the runtime change. javafxSchema = argSchema; javaFXFocus = argFocus; javafxContainer = argContainer; 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); if (buttonChooseSelected != null) { if (newValue != null) { buttonChooseSelected.setDisable(false); } else { buttonChooseSelected.setDisable(true); } } } }); hboxMenu = new CFHBox(10); buttonCancel = new CFButton(); buttonCancel.setMinWidth(200); buttonCancel.setText("Cancel"); buttonCancel.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { cfFormManager.closeCurrentForm(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonCancel); buttonChooseNone = new CFButton(); buttonChooseNone.setMinWidth(200); buttonChooseNone.setText("ChooseNone"); buttonChooseNone.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"); } invokeWhenChosen.choseSchemaDef(null); cfFormManager.closeCurrentForm(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonChooseNone); buttonChooseSelected = new CFButton(); buttonChooseSelected.setMinWidth(200); buttonChooseSelected.setText("ChooseSelected"); buttonChooseSelected.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"); } ICFBamSchemaDefObj selectedInstance = getJavaFXFocusAsSchemaDef(); invokeWhenChosen.choseSchemaDef(selectedInstance); cfFormManager.closeCurrentForm(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonChooseSelected); if (argFocus != null) { dataTable.getSelectionModel().select(argFocus); } setTop(hboxMenu); setCenter(dataTable); }
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 ww w . j ava2 s. com*/ 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:dpfmanager.shell.interfaces.gui.component.report.ReportsView.java
public void addFormatIcons() { colFormats.setCellFactory(//from w ww . j a va 2s . c om new Callback<TableColumn<ReportRow, ObservableMap<String, String>>, TableCell<ReportRow, ObservableMap<String, String>>>() { @Override public TableCell<ReportRow, ObservableMap<String, String>> call( TableColumn<ReportRow, ObservableMap<String, String>> param) { TableCell<ReportRow, ObservableMap<String, String>> cell = new TableCell<ReportRow, ObservableMap<String, String>>() { @Override public void updateItem(ObservableMap<String, String> item, boolean empty) { super.updateItem(item, empty); if (!empty && item != null) { HBox box = new HBox(); box.setSpacing(3); box.setAlignment(Pos.CENTER_LEFT); for (String i : item.keySet()) { ImageView icon = new ImageView(); icon.setId("but" + i); icon.setFitHeight(20); icon.setFitWidth(20); icon.setImage(new Image("images/formats/" + i + ".png")); icon.setCursor(Cursor.HAND); String type = i; String path = item.get(i); icon.setOnMouseClicked(new EventHandler<MouseEvent>() { @Override public void handle(MouseEvent event) { ArrayMessage am = new ArrayMessage(); am.add(GuiConfig.PERSPECTIVE_SHOW, new UiMessage()); am.add(GuiConfig.PERSPECTIVE_SHOW + "." + GuiConfig.COMPONENT_SHOW, new ShowMessage(type, path)); getContext().send(GuiConfig.PERSPECTIVE_SHOW, am); } }); ContextMenu contextMenu = new ContextMenu(); javafx.scene.control.MenuItem download = new javafx.scene.control.MenuItem( "Download report"); contextMenu.getItems().add(download); icon.setOnContextMenuRequested(new EventHandler<ContextMenuEvent>() { public void handle(ContextMenuEvent e) { contextMenu.show(icon, e.getScreenX(), e.getScreenY()); } }); box.getChildren().add(icon); } setGraphic(box); } else { setGraphic(null); } } }; return cell; } }); }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamJavaFX.CFBamJavaFXAtomListPane.java
public CFBamJavaFXAtomListPane(ICFFormManager formManager, ICFBamJavaFXSchema argSchema, ICFBamScopeObj argContainer, ICFBamAtomObj argFocus, Collection<ICFBamAtomObj> argDataCollection, ICFRefreshCallback refreshCallback, boolean sortByChain) { super();/* ww w . 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<ICFBamAtomObj>(); tableColumnObjKind = new TableColumn<ICFBamAtomObj, String>("Class Code"); tableColumnObjKind.setCellValueFactory( new Callback<CellDataFeatures<ICFBamAtomObj, String>, ObservableValue<String>>() { @Override public ObservableValue<String> call(CellDataFeatures<ICFBamAtomObj, String> p) { ICFBamAtomObj obj = p.getValue(); if (obj == null) { return (null); } else { String classCode = obj.getClassCode(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(classCode); return (observable); } } }); tableColumnObjKind.setCellFactory( new Callback<TableColumn<ICFBamAtomObj, String>, TableCell<ICFBamAtomObj, String>>() { @Override public TableCell<ICFBamAtomObj, String> call(TableColumn<ICFBamAtomObj, String> arg) { return new CFStringTableCell<ICFBamAtomObj>(); } }); dataTable.getColumns().add(tableColumnObjKind); tableColumnId = new TableColumn<ICFBamAtomObj, Long>("Id"); tableColumnId .setCellValueFactory(new Callback<CellDataFeatures<ICFBamAtomObj, Long>, ObservableValue<Long>>() { public ObservableValue<Long> call(CellDataFeatures<ICFBamAtomObj, Long> p) { ICFBamValueObj 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<ICFBamAtomObj, Long>, TableCell<ICFBamAtomObj, Long>>() { @Override public TableCell<ICFBamAtomObj, Long> call(TableColumn<ICFBamAtomObj, Long> arg) { return new CFInt64TableCell<ICFBamAtomObj>(); } }); dataTable.getColumns().add(tableColumnId); tableColumnName = new TableColumn<ICFBamAtomObj, String>("Name"); tableColumnName.setCellValueFactory( new Callback<CellDataFeatures<ICFBamAtomObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamAtomObj, String> p) { ICFBamValueObj 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<ICFBamAtomObj, String>, TableCell<ICFBamAtomObj, String>>() { @Override public TableCell<ICFBamAtomObj, String> call(TableColumn<ICFBamAtomObj, String> arg) { return new CFStringTableCell<ICFBamAtomObj>(); } }); dataTable.getColumns().add(tableColumnName); tableColumnShortName = new TableColumn<ICFBamAtomObj, String>("Short Name"); tableColumnShortName.setCellValueFactory( new Callback<CellDataFeatures<ICFBamAtomObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamAtomObj, String> p) { ICFBamValueObj 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<ICFBamAtomObj, String>, TableCell<ICFBamAtomObj, String>>() { @Override public TableCell<ICFBamAtomObj, String> call(TableColumn<ICFBamAtomObj, String> arg) { return new CFStringTableCell<ICFBamAtomObj>(); } }); dataTable.getColumns().add(tableColumnShortName); tableColumnLabel = new TableColumn<ICFBamAtomObj, String>("Label"); tableColumnLabel.setCellValueFactory( new Callback<CellDataFeatures<ICFBamAtomObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamAtomObj, String> p) { ICFBamValueObj 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<ICFBamAtomObj, String>, TableCell<ICFBamAtomObj, String>>() { @Override public TableCell<ICFBamAtomObj, String> call(TableColumn<ICFBamAtomObj, String> arg) { return new CFStringTableCell<ICFBamAtomObj>(); } }); dataTable.getColumns().add(tableColumnLabel); tableColumnShortDescription = new TableColumn<ICFBamAtomObj, String>("Short Description"); tableColumnShortDescription.setCellValueFactory( new Callback<CellDataFeatures<ICFBamAtomObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamAtomObj, String> p) { ICFBamValueObj 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<ICFBamAtomObj, String>, TableCell<ICFBamAtomObj, String>>() { @Override public TableCell<ICFBamAtomObj, String> call(TableColumn<ICFBamAtomObj, String> arg) { return new CFStringTableCell<ICFBamAtomObj>(); } }); dataTable.getColumns().add(tableColumnShortDescription); tableColumnDescription = new TableColumn<ICFBamAtomObj, String>("Description"); tableColumnDescription.setCellValueFactory( new Callback<CellDataFeatures<ICFBamAtomObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamAtomObj, String> p) { ICFBamValueObj 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<ICFBamAtomObj, String>, TableCell<ICFBamAtomObj, String>>() { @Override public TableCell<ICFBamAtomObj, String> call(TableColumn<ICFBamAtomObj, String> arg) { return new CFStringTableCell<ICFBamAtomObj>(); } }); dataTable.getColumns().add(tableColumnDescription); tableColumnIsNullable = new TableColumn<ICFBamAtomObj, Boolean>("Is Nullable"); tableColumnIsNullable.setCellValueFactory( new Callback<CellDataFeatures<ICFBamAtomObj, Boolean>, ObservableValue<Boolean>>() { public ObservableValue<Boolean> call(CellDataFeatures<ICFBamAtomObj, Boolean> p) { ICFBamValueObj obj = p.getValue(); if (obj == null) { return (null); } else { boolean value = obj.getRequiredIsNullable(); Boolean wrapped = new Boolean(value); ReadOnlyObjectWrapper<Boolean> observable = new ReadOnlyObjectWrapper<Boolean>(); observable.setValue(wrapped); return (observable); } } }); tableColumnIsNullable.setCellFactory( new Callback<TableColumn<ICFBamAtomObj, Boolean>, TableCell<ICFBamAtomObj, Boolean>>() { @Override public TableCell<ICFBamAtomObj, Boolean> call(TableColumn<ICFBamAtomObj, Boolean> arg) { return new CFBoolTableCell<ICFBamAtomObj>(); } }); dataTable.getColumns().add(tableColumnIsNullable); tableColumnGenerateId = new TableColumn<ICFBamAtomObj, Boolean>("Generate Id"); tableColumnGenerateId.setCellValueFactory( new Callback<CellDataFeatures<ICFBamAtomObj, Boolean>, ObservableValue<Boolean>>() { public ObservableValue<Boolean> call(CellDataFeatures<ICFBamAtomObj, Boolean> p) { ICFBamValueObj obj = p.getValue(); if (obj == null) { return (null); } else { Boolean value = obj.getOptionalGenerateId(); ReadOnlyObjectWrapper<Boolean> observable = new ReadOnlyObjectWrapper<Boolean>(); observable.setValue(value); return (observable); } } }); tableColumnGenerateId.setCellFactory( new Callback<TableColumn<ICFBamAtomObj, Boolean>, TableCell<ICFBamAtomObj, Boolean>>() { @Override public TableCell<ICFBamAtomObj, Boolean> call(TableColumn<ICFBamAtomObj, Boolean> arg) { return new CFBoolTableCell<ICFBamAtomObj>(); } }); dataTable.getColumns().add(tableColumnGenerateId); tableColumnDefaultVisibility = new TableColumn<ICFBamAtomObj, Boolean>("Default Visibility"); tableColumnDefaultVisibility.setCellValueFactory( new Callback<CellDataFeatures<ICFBamAtomObj, Boolean>, ObservableValue<Boolean>>() { public ObservableValue<Boolean> call(CellDataFeatures<ICFBamAtomObj, Boolean> p) { ICFBamValueObj 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<ICFBamAtomObj, Boolean>, TableCell<ICFBamAtomObj, Boolean>>() { @Override public TableCell<ICFBamAtomObj, Boolean> call(TableColumn<ICFBamAtomObj, Boolean> arg) { return new CFBoolTableCell<ICFBamAtomObj>(); } }); dataTable.getColumns().add(tableColumnDefaultVisibility); tableColumnDbName = new TableColumn<ICFBamAtomObj, String>("Db Name"); tableColumnDbName.setCellValueFactory( new Callback<CellDataFeatures<ICFBamAtomObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamAtomObj, String> p) { ICFBamAtomObj 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<ICFBamAtomObj, String>, TableCell<ICFBamAtomObj, String>>() { @Override public TableCell<ICFBamAtomObj, String> call(TableColumn<ICFBamAtomObj, String> arg) { return new CFStringTableCell<ICFBamAtomObj>(); } }); dataTable.getColumns().add(tableColumnDbName); tableColumnLookupDefSchema = new TableColumn<ICFBamAtomObj, ICFBamSchemaDefObj>( "Defining Schema Definition"); tableColumnLookupDefSchema.setCellValueFactory( new Callback<CellDataFeatures<ICFBamAtomObj, ICFBamSchemaDefObj>, ObservableValue<ICFBamSchemaDefObj>>() { public ObservableValue<ICFBamSchemaDefObj> call( CellDataFeatures<ICFBamAtomObj, ICFBamSchemaDefObj> p) { ICFBamAtomObj 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<ICFBamAtomObj, ICFBamSchemaDefObj>, TableCell<ICFBamAtomObj, ICFBamSchemaDefObj>>() { @Override public TableCell<ICFBamAtomObj, ICFBamSchemaDefObj> call( TableColumn<ICFBamAtomObj, ICFBamSchemaDefObj> arg) { return new CFReferenceTableCell<ICFBamAtomObj, ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnLookupDefSchema); dataTable.getSelectionModel().selectedItemProperty().addListener(new ChangeListener<ICFBamAtomObj>() { @Override public void changed(ObservableValue<? extends ICFBamAtomObj> observable, ICFBamAtomObj oldValue, ICFBamAtomObj 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 (observableListOfAtom != null) { dataTable.setItems(observableListOfAtom); } adjustListButtons(); }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamJavaFX.CFBamJavaFXValueListPane.java
public CFBamJavaFXValueListPane(ICFFormManager formManager, ICFBamJavaFXSchema argSchema, ICFBamScopeObj argContainer, ICFBamValueObj argFocus, Collection<ICFBamValueObj> argDataCollection, ICFRefreshCallback refreshCallback, boolean sortByChain) { super();/*from w w w .j av a 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<ICFBamValueObj>(); tableColumnObjKind = new TableColumn<ICFBamValueObj, String>("Class Code"); tableColumnObjKind.setCellValueFactory( new Callback<CellDataFeatures<ICFBamValueObj, String>, ObservableValue<String>>() { @Override public ObservableValue<String> call(CellDataFeatures<ICFBamValueObj, String> p) { ICFBamValueObj obj = p.getValue(); if (obj == null) { return (null); } else { String classCode = obj.getClassCode(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(classCode); return (observable); } } }); tableColumnObjKind.setCellFactory( new Callback<TableColumn<ICFBamValueObj, String>, TableCell<ICFBamValueObj, String>>() { @Override public TableCell<ICFBamValueObj, String> call(TableColumn<ICFBamValueObj, String> arg) { return new CFStringTableCell<ICFBamValueObj>(); } }); dataTable.getColumns().add(tableColumnObjKind); tableColumnId = new TableColumn<ICFBamValueObj, Long>("Id"); tableColumnId .setCellValueFactory(new Callback<CellDataFeatures<ICFBamValueObj, Long>, ObservableValue<Long>>() { public ObservableValue<Long> call(CellDataFeatures<ICFBamValueObj, Long> p) { ICFBamValueObj 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<ICFBamValueObj, Long>, TableCell<ICFBamValueObj, Long>>() { @Override public TableCell<ICFBamValueObj, Long> call(TableColumn<ICFBamValueObj, Long> arg) { return new CFInt64TableCell<ICFBamValueObj>(); } }); dataTable.getColumns().add(tableColumnId); tableColumnName = new TableColumn<ICFBamValueObj, String>("Name"); tableColumnName.setCellValueFactory( new Callback<CellDataFeatures<ICFBamValueObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamValueObj, String> p) { ICFBamValueObj 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<ICFBamValueObj, String>, TableCell<ICFBamValueObj, String>>() { @Override public TableCell<ICFBamValueObj, String> call(TableColumn<ICFBamValueObj, String> arg) { return new CFStringTableCell<ICFBamValueObj>(); } }); dataTable.getColumns().add(tableColumnName); tableColumnShortName = new TableColumn<ICFBamValueObj, String>("Short Name"); tableColumnShortName.setCellValueFactory( new Callback<CellDataFeatures<ICFBamValueObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamValueObj, String> p) { ICFBamValueObj 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<ICFBamValueObj, String>, TableCell<ICFBamValueObj, String>>() { @Override public TableCell<ICFBamValueObj, String> call(TableColumn<ICFBamValueObj, String> arg) { return new CFStringTableCell<ICFBamValueObj>(); } }); dataTable.getColumns().add(tableColumnShortName); tableColumnLabel = new TableColumn<ICFBamValueObj, String>("Label"); tableColumnLabel.setCellValueFactory( new Callback<CellDataFeatures<ICFBamValueObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamValueObj, String> p) { ICFBamValueObj 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<ICFBamValueObj, String>, TableCell<ICFBamValueObj, String>>() { @Override public TableCell<ICFBamValueObj, String> call(TableColumn<ICFBamValueObj, String> arg) { return new CFStringTableCell<ICFBamValueObj>(); } }); dataTable.getColumns().add(tableColumnLabel); tableColumnShortDescription = new TableColumn<ICFBamValueObj, String>("Short Description"); tableColumnShortDescription.setCellValueFactory( new Callback<CellDataFeatures<ICFBamValueObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamValueObj, String> p) { ICFBamValueObj 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<ICFBamValueObj, String>, TableCell<ICFBamValueObj, String>>() { @Override public TableCell<ICFBamValueObj, String> call(TableColumn<ICFBamValueObj, String> arg) { return new CFStringTableCell<ICFBamValueObj>(); } }); dataTable.getColumns().add(tableColumnShortDescription); tableColumnDescription = new TableColumn<ICFBamValueObj, String>("Description"); tableColumnDescription.setCellValueFactory( new Callback<CellDataFeatures<ICFBamValueObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamValueObj, String> p) { ICFBamValueObj 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<ICFBamValueObj, String>, TableCell<ICFBamValueObj, String>>() { @Override public TableCell<ICFBamValueObj, String> call(TableColumn<ICFBamValueObj, String> arg) { return new CFStringTableCell<ICFBamValueObj>(); } }); dataTable.getColumns().add(tableColumnDescription); tableColumnIsNullable = new TableColumn<ICFBamValueObj, Boolean>("Is Nullable"); tableColumnIsNullable.setCellValueFactory( new Callback<CellDataFeatures<ICFBamValueObj, Boolean>, ObservableValue<Boolean>>() { public ObservableValue<Boolean> call(CellDataFeatures<ICFBamValueObj, Boolean> p) { ICFBamValueObj obj = p.getValue(); if (obj == null) { return (null); } else { boolean value = obj.getRequiredIsNullable(); Boolean wrapped = new Boolean(value); ReadOnlyObjectWrapper<Boolean> observable = new ReadOnlyObjectWrapper<Boolean>(); observable.setValue(wrapped); return (observable); } } }); tableColumnIsNullable.setCellFactory( new Callback<TableColumn<ICFBamValueObj, Boolean>, TableCell<ICFBamValueObj, Boolean>>() { @Override public TableCell<ICFBamValueObj, Boolean> call(TableColumn<ICFBamValueObj, Boolean> arg) { return new CFBoolTableCell<ICFBamValueObj>(); } }); dataTable.getColumns().add(tableColumnIsNullable); tableColumnGenerateId = new TableColumn<ICFBamValueObj, Boolean>("Generate Id"); tableColumnGenerateId.setCellValueFactory( new Callback<CellDataFeatures<ICFBamValueObj, Boolean>, ObservableValue<Boolean>>() { public ObservableValue<Boolean> call(CellDataFeatures<ICFBamValueObj, Boolean> p) { ICFBamValueObj obj = p.getValue(); if (obj == null) { return (null); } else { Boolean value = obj.getOptionalGenerateId(); ReadOnlyObjectWrapper<Boolean> observable = new ReadOnlyObjectWrapper<Boolean>(); observable.setValue(value); return (observable); } } }); tableColumnGenerateId.setCellFactory( new Callback<TableColumn<ICFBamValueObj, Boolean>, TableCell<ICFBamValueObj, Boolean>>() { @Override public TableCell<ICFBamValueObj, Boolean> call(TableColumn<ICFBamValueObj, Boolean> arg) { return new CFBoolTableCell<ICFBamValueObj>(); } }); dataTable.getColumns().add(tableColumnGenerateId); tableColumnDefaultVisibility = new TableColumn<ICFBamValueObj, Boolean>("Default Visibility"); tableColumnDefaultVisibility.setCellValueFactory( new Callback<CellDataFeatures<ICFBamValueObj, Boolean>, ObservableValue<Boolean>>() { public ObservableValue<Boolean> call(CellDataFeatures<ICFBamValueObj, Boolean> p) { ICFBamValueObj 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<ICFBamValueObj, Boolean>, TableCell<ICFBamValueObj, Boolean>>() { @Override public TableCell<ICFBamValueObj, Boolean> call(TableColumn<ICFBamValueObj, Boolean> arg) { return new CFBoolTableCell<ICFBamValueObj>(); } }); dataTable.getColumns().add(tableColumnDefaultVisibility); tableColumnLookupDefSchema = new TableColumn<ICFBamValueObj, ICFBamSchemaDefObj>( "Defining Schema Definition"); tableColumnLookupDefSchema.setCellValueFactory( new Callback<CellDataFeatures<ICFBamValueObj, ICFBamSchemaDefObj>, ObservableValue<ICFBamSchemaDefObj>>() { public ObservableValue<ICFBamSchemaDefObj> call( CellDataFeatures<ICFBamValueObj, ICFBamSchemaDefObj> p) { ICFBamValueObj 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<ICFBamValueObj, ICFBamSchemaDefObj>, TableCell<ICFBamValueObj, ICFBamSchemaDefObj>>() { @Override public TableCell<ICFBamValueObj, ICFBamSchemaDefObj> call( TableColumn<ICFBamValueObj, ICFBamSchemaDefObj> arg) { return new CFReferenceTableCell<ICFBamValueObj, ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnLookupDefSchema); dataTable.getSelectionModel().selectedItemProperty().addListener(new ChangeListener<ICFBamValueObj>() { @Override public void changed(ObservableValue<? extends ICFBamValueObj> observable, ICFBamValueObj oldValue, ICFBamValueObj 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 (observableListOfValue != null) { dataTable.setItems(observableListOfValue); } adjustListButtons(); }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamJavaFX.CFBamJavaFXTablePickerPane.java
public CFBamJavaFXTablePickerPane(ICFFormManager formManager, ICFBamJavaFXSchema argSchema, ICFBamTableObj argFocus, ICFBamSchemaDefObj argContainer, Collection<ICFBamTableObj> argDataCollection, ICFBamJavaFXTableChosen whenChosen) { super();//from w w w. j ava 2 s. com 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"); } if (whenChosen == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 6, "whenChosen"); } invokeWhenChosen = whenChosen; // argFocus is optional; focus may be set later during execution as // conditions of the runtime change. javafxSchema = argSchema; javaFXFocus = argFocus; javafxContainer = argContainer; 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); if (buttonChooseSelected != null) { if (newValue != null) { buttonChooseSelected.setDisable(false); } else { buttonChooseSelected.setDisable(true); } } } }); hboxMenu = new CFHBox(10); buttonCancel = new CFButton(); buttonCancel.setMinWidth(200); buttonCancel.setText("Cancel"); buttonCancel.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { cfFormManager.closeCurrentForm(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonCancel); buttonChooseNone = new CFButton(); buttonChooseNone.setMinWidth(200); buttonChooseNone.setText("ChooseNone"); buttonChooseNone.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"); } invokeWhenChosen.choseTable(null); cfFormManager.closeCurrentForm(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonChooseNone); buttonChooseSelected = new CFButton(); buttonChooseSelected.setMinWidth(200); buttonChooseSelected.setText("ChooseSelected"); buttonChooseSelected.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"); } ICFBamTableObj selectedInstance = getJavaFXFocusAsTable(); invokeWhenChosen.choseTable(selectedInstance); cfFormManager.closeCurrentForm(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonChooseSelected); if (argFocus != null) { dataTable.getSelectionModel().select(argFocus); } setTop(hboxMenu); setCenter(dataTable); }
From source file:com.vladsch.idea.multimarkdown.editor.MultiMarkdownFxPreviewEditor.java
/** * Build a new instance of {@link MultiMarkdownFxPreviewEditor}. * * @param project the {@link Project} containing the document * @param doc the {@link Document} previewed in this editor. *///from ww w . j a v a2s . c o m public MultiMarkdownFxPreviewEditor(@NotNull final Project project, @NotNull Document doc, boolean isRawHtml) { this.isRawHtml = isRawHtml; this.document = doc; this.project = project; this.isWikiDocument = isWikiDocument(document); containingFile = FileDocumentManager.getInstance().getFile(document); resolver = containingFile == null ? null : new GitHubLinkResolver(containingFile, project); // Listen to the document modifications. this.document.addDocumentListener(new DocumentAdapter() { @Override public void documentChanged(DocumentEvent e) { delayedHtmlPreviewUpdate(false); } }); // Listen to settings changes MultiMarkdownGlobalSettings.getInstance() .addListener(globalSettingsListener = new MultiMarkdownGlobalSettingsListener() { public void handleSettingsChanged(@NotNull final MultiMarkdownGlobalSettings newSettings) { if (project.isDisposed()) return; processor = null; updateEditorTabIsVisible(); updateLinkRenderer(); delayedHtmlPreviewUpdate(true); checkNotifyUser(); } }); MultiMarkdownProjectComponent projectComponent = MultiMarkdownPlugin.getProjectComponent(project); if (projectComponent != null) { projectComponent.addListener(projectFileListener = new ReferenceChangeListener() { @Override public void referenceChanged(@Nullable String name) { if (project.isDisposed()) return; delayedHtmlPreviewUpdate(false); } }); } project.getMessageBus().connect(this).subscribe(DumbService.DUMB_MODE, new DumbService.DumbModeListener() { @Override public void enteredDumbMode() { } @Override public void exitDumbMode() { // need to re-evaluate class link accessibility if (project.isDisposed()) return; delayedHtmlPreviewUpdate(false); } }); updateLinkRenderer(); if (isRawHtml) { jEditorPane = null; jfxPanel = null; webView = null; webEngine = null; Language language = Language.findLanguageByID("HTML"); FileType fileType = language != null ? language.getAssociatedFileType() : null; Document myDocument = EditorFactory.getInstance().createDocument(""); myTextViewer = (EditorImpl) EditorFactory.getInstance().createViewer(myDocument, project); if (fileType != null) myTextViewer.setHighlighter( EditorHighlighterFactory.getInstance().createEditorHighlighter(project, fileType)); } else { // Setup the editor pane for rendering HTML. myTextViewer = null; jEditorPane = new JPanel(new BorderLayout(), false); jfxPanel = new JFXPanel(); // initializing javafx jEditorPane.add(jfxPanel, BorderLayout.CENTER); Platform.setImplicitExit(false); Platform.runLater(new Runnable() { @Override public void run() { if (project.isDisposed()) return; webView = new WebView(); webEngine = webView.getEngine(); anchorPane = new AnchorPane(); AnchorPane.setTopAnchor(webView, 0.0); AnchorPane.setLeftAnchor(webView, 0.0); AnchorPane.setBottomAnchor(webView, 0.0); AnchorPane.setRightAnchor(webView, 0.0); anchorPane.getChildren().add(webView); jfxPanel.setScene(new Scene(anchorPane)); webEngine.setCreatePopupHandler(new Callback<PopupFeatures, WebEngine>() { @Override public WebEngine call(PopupFeatures config) { // return a web engine for the new browser window or null to block popups return null; } }); addStateChangeListener(); } }); } checkNotifyUser(); }
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();//ww w . ja v a 2s . co 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<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:dpfmanager.shell.interfaces.gui.component.report.ReportsView.java
public void addDeleteIcon() { colDelete.setCellFactory(new Callback<TableColumn<ReportRow, String>, TableCell<ReportRow, String>>() { @Override// ww w . j a v a2 s . c om public TableCell<ReportRow, String> call(TableColumn<ReportRow, String> param) { TableCell<ReportRow, String> cell = new TableCell<ReportRow, String>() { @Override public void updateItem(String item, boolean empty) { super.updateItem(item, empty); if (!empty && item != null) { String path = getModel().getItemById(item).getDeletePath(); HBox box = new HBox(); box.setSpacing(3); box.setAlignment(Pos.CENTER_LEFT); Button icon = new Button(); icon.setMinHeight(20); icon.setPrefHeight(20); icon.setMaxHeight(20); icon.setMinWidth(20); icon.setPrefWidth(20); icon.setMaxWidth(20); icon.getStyleClass().addAll("delete-img", "periodic-img"); icon.setCursor(Cursor.HAND); icon.setOnMouseClicked(new EventHandler<MouseEvent>() { @Override public void handle(MouseEvent event) { // Delete report File file = new File(path); File dir = new File(file.getParent()); try { FileUtils.deleteDirectory(dir); } catch (IOException e) { e.printStackTrace(); } getModel().removeItem(item); addData(); } }); box.getChildren().add(icon); setGraphic(box); } } }; return cell; } }); }
From source file:com.rockhoppertech.symchords.fx.SymChordsController.java
@FXML void initialize() { assert IntervalsTextField != null : "fx:id=\"IntervalsTextField\" was not injected: check your FXML file 'symchords.fxml'."; assert baseOctaveCombo != null : "fx:id=\"baseOctaveCombo\" was not injected: check your FXML file 'symchords.fxml'."; assert basePitchCombo != null : "fx:id=\"basePitchCombo\" was not injected: check your FXML file 'symchords.fxml'."; assert octavesSlider != null : "fx:id=\"octavesSlider\" was not injected: check your FXML file 'symchords.fxml'."; assert patternTextField != null : "fx:id=\"patternTextField\" was not injected: check your FXML file 'symchords.fxml'."; assert relationshipGroup != null : "fx:id=\"relationshipGroup\" was not injected: check your FXML file 'symchords.fxml'."; assert relativeRadio != null : "fx:id=\"relativeRadio\" was not injected: check your FXML file 'symchords.fxml'."; assert unitSlider != null : "fx:id=\"unitSlider\" was not injected: check your FXML file 'symchords.fxml'."; grandStaff.setFontSize(24d);// w w w . ja v a2 s. c o m grandStaff.drawShapes(); patternStaff.setFontSize(24d); patternStaff.drawShapes(); baseOctaveCombo.getSelectionModel().select(5); basePitchCombo.getSelectionModel().select(0); pitchProperty.bindBidirectional(pitchSlider.valueProperty()); // sliderText.setText(Math.round(pitchSlider.getValue()) + ""); PitchFormat.getInstance().setWidth(4); sliderText.setText(PitchFormat.getInstance().format((int) pitchSlider.getValue())); pitchSlider.valueProperty().addListener(new ChangeListener<Number>() { @Override public void changed(ObservableValue<? extends Number> observableValue, Number oldValue, Number newValue) { if (newValue == null) { sliderText.setText(""); return; } basePitchCombo.setValue(PitchFormat.getPitchString(newValue.intValue())); baseOctaveCombo.setValue("" + newValue.intValue() / 12); sliderText.setText(PitchFormat.getInstance().format(newValue.intValue())); // sliderText.setText(Math.round(newValue.intValue()) + ""); } }); basePitchCombo.getSelectionModel().selectedItemProperty().addListener(new ChangeListener<String>() { @Override public void changed(ObservableValue<? extends String> ov, String oldValue, String newValue) { int pitch = PitchFactory.getPitch(newValue + "0").getMidiNumber(); int oct = Integer.parseInt(baseOctaveCombo.getSelectionModel().getSelectedItem()); pitchProperty.set(pitch + (oct * 12)); } }); baseOctaveCombo.getSelectionModel().selectedItemProperty().addListener(new ChangeListener<String>() { @Override public void changed(ObservableValue<? extends String> ov, String oldValue, String newValue) { int oct = Integer.parseInt(newValue); int pitch = PitchFactory.getPitch(basePitchCombo.getSelectionModel().getSelectedItem() + "0") .getMidiNumber(); pitchProperty.set(pitch + (oct * 12)); } }); // java 8 // basePitchCombo.getSelectionModel().selectedItemProperty().addListener( // (ObservableValue<? extends String> ov, String oldValue, String // newValue) -> { // int pitch = Integer.parseInt(newValue); // int oct = // Integer.parseInt(baseOctaveCombo.getSelectionModel().getSelectedItem()); // pitchProperty.set(pitch + oct); // }); // baseOctaveCombo.getSelectionModel().selectedItemProperty().addListener( // (ObservableValue<? extends String> ov, String oldValue, String // newValue) -> { // int oct = Integer.parseInt(newValue); // int pitch = // Integer.parseInt(basePitchCombo.getSelectionModel().getSelectedItem()); // pitchProperty.set(pitch + oct); // }); model = new SymModel(); model.absoluteProperty().bind(this.absoluteRadio.selectedProperty()); // model.relativeProperty().bind(this.relativeRadio.selectedProperty()); model.basePitchProperty().bind(this.pitchProperty); model.nOctavesProperty().bind(this.octavesSlider.valueProperty()); model.unitProperty().bind(this.unitSlider.valueProperty()); // set up initial value ObservableList<Integer> ol = FXCollections.observableArrayList(); ol.add(1); setIntervals(ol); // now handle input. turn the string into an array. this.IntervalsTextField.textProperty().addListener(new ChangeListener<String>() { @Override public void changed(ObservableValue<? extends String> arg0, String oldValue, String newValue) { String[] a = newValue.split("\\s+"); ObservableList<Integer> ol = FXCollections.observableArrayList(); for (final String ss : a) { ol.add(Integer.parseInt(ss)); } setIntervals(ol); } }); model.intervalsProperty().bind(this.intervalsProperty); this.resetPattern(); this.patternTextField.textProperty().addListener(new ChangeListener<String>() { @Override public void changed(ObservableValue<? extends String> arg0, String oldValue, String newValue) { logger.debug("new value '{}'", newValue); newValue = newValue.replaceAll("\\{", ""); newValue = newValue.replaceAll("\\}", ""); newValue = newValue.replaceAll(",", " "); logger.debug("new value '{}'", newValue); String[] a = newValue.split("\\s+"); ObservableList<Integer> ol = FXCollections.observableArrayList(); for (final String ss : a) { ol.add(Integer.parseInt(ss)); } // setIntervals(ol); } }); patternListView.setCellFactory(new Callback<ListView<int[]>, ListCell<int[]>>() { @Override public ListCell<int[]> call(ListView<int[]> list) { return new PatternListCell(); } }); updatePatternList(); patternListView.getSelectionModel().selectedItemProperty().addListener(new ChangeListener<int[]>() { @Override public void changed(ObservableValue<? extends int[]> observable, int[] oldValue, int[] newValue) { pattern = newValue; patternCalculate(); patternTextField.setText(ArrayUtils.toString(pattern)); } }); setupDragonDrop(); trackList.setCellFactory(new Callback<ListView<MIDITrack>, ListCell<MIDITrack>>() { @Override public ListCell<MIDITrack> call(ListView<MIDITrack> list) { return new TrackListCell(); } }); trackList.getSelectionModel().selectedItemProperty().addListener(new ChangeListener<MIDITrack>() { @Override public void changed(ObservableValue<? extends MIDITrack> observable, MIDITrack oldValue, MIDITrack newValue) { model.setMIDITrack(newValue); // SymParams params = model.getParamsForTrack(newValue); SymParams params = (SymParams) newValue.getUserData(); logger.debug("params {}", params); if (params != null) { int pitch = params.getBasePitch() % 12; String ps = PitchFormat.getPitchString(pitch); basePitchCombo.setValue(ps); String oct = "" + params.getBasePitch() / 12; baseOctaveCombo.setValue(oct); String intervals = ListUtils.asIntString(params.getIntervals()); IntervalsTextField.setText(intervals); octavesSlider.setValue(params.getnOctaves()); unitSlider.setValue(params.getUnit()); relativeRadio.setSelected(params.isRelative()); absoluteRadio.setSelected(!params.isRelative()); } } }); model.midiTrackProperty().addListener(new ChangeListener<MIDITrack>() { @Override public void changed(ObservableValue<? extends MIDITrack> arg0, MIDITrack arg1, MIDITrack newTrack) { if (durationModifierCB.isSelected()) { modifierValuesTextField.setText(MIDITrack.getDurationsAsString(newTrack)); } if (pitchModifierCB.isSelected()) { modifierValuesTextField.setText(MIDITrack.getPitchesMIDINumbersAsString(newTrack)); } if (startBeatModifierCB.isSelected()) { modifierValuesTextField.setText(MIDITrack.getStartBeatsAsString(newTrack)); } logger.debug("midi track property changed {}", newTrack); grandStaff.setTrack(newTrack); grandStaff.drawShapes(); } }); }