コード例 #1
0
 @Override
 public void setReadOnly(boolean readOnly) {
   persistenceUnitTextBox.setReadOnly(readOnly);
   persistenceProviderTextBox.setReadOnly(readOnly);
   datasourceTextBox.setReadOnly(readOnly);
   transactionTypeJTARadioButton.setEnabled(!readOnly);
   transactionTypeResourceLocalRadioButton.setEnabled(!readOnly);
   persistenceUnitProperties.setReadOnly(readOnly);
   persistenceUnitClasses.setReadOnly(readOnly);
 }
コード例 #2
0
 @Override
 public void setResourceLocalTransactionsVisible(boolean visible) {
   transactionTypeResourceLocalRadioButton.setVisible(visible);
 }
コード例 #3
0
 @Override
 public void setResourceLocalTransactions(boolean resourceLocalTransactions) {
   transactionTypeResourceLocalRadioButton.setValue(resourceLocalTransactions);
 }
コード例 #4
0
 @Override
 public boolean getResourceLocalTransactions() {
   return transactionTypeResourceLocalRadioButton.getValue();
 }
コード例 #5
0
 @Override
 public void setJTATransactions(boolean jtaTransactions) {
   transactionTypeJTARadioButton.setValue(jtaTransactions);
 }
コード例 #6
0
 @Override
 public boolean getJTATransactions() {
   return transactionTypeJTARadioButton.getValue();
 }