1 19 20 25 26 package org.netbeans.modules.websvc.customization.multiview; 27 28 import java.awt.Color ; 29 import java.awt.event.ItemEvent ; 30 import java.awt.event.ItemListener ; 31 import java.beans.PropertyChangeEvent ; 32 import java.beans.PropertyChangeListener ; 33 import java.util.List ; 34 import javax.swing.JButton ; 35 import javax.swing.JComponent ; 36 import javax.swing.text.JTextComponent ; 37 import org.netbeans.modules.websvc.core.JaxWsUtils; 38 import org.netbeans.modules.websvc.customization.model.CustomizationComponentFactory; 39 import org.netbeans.modules.websvc.customization.model.DefinitionsCustomization; 40 import org.netbeans.modules.websvc.customization.model.EnableAsyncMapping; 41 import org.netbeans.modules.websvc.customization.model.EnableWrapperStyle; 42 import org.netbeans.modules.websvc.customization.model.JavaMethod; 43 import org.netbeans.modules.websvc.customization.model.PortTypeCustomization; 44 import org.netbeans.modules.websvc.customization.model.PortTypeOperationCustomization; 45 import org.netbeans.modules.xml.multiview.ui.SectionView; 46 import org.netbeans.modules.xml.multiview.ui.SectionVisualTheme; 47 import org.netbeans.modules.xml.wsdl.model.Definitions; 48 import org.netbeans.modules.xml.wsdl.model.Operation; 49 import org.netbeans.modules.xml.wsdl.model.PortType; 50 import org.netbeans.modules.xml.wsdl.model.WSDLComponent; 51 import org.netbeans.modules.xml.wsdl.model.WSDLModel; 52 import org.openide.util.WeakListeners; 53 import org.netbeans.modules.xml.multiview.Error; 54 import org.openide.nodes.Node; 55 import org.openide.util.NbBundle; 56 57 61 public class PortTypeOperationPanel extends SaveableSectionInnerPanel{ 62 private Operation operation; 63 private WSDLModel model; 64 private boolean wsdlDirty; 65 private DefaultItemListener dil; 66 private ModelChangeListener modelListener; 67 private ModelChangeListener primaryModelListener; 68 private Definitions primaryDefinitions; 69 private WSDLModel primaryModel; 70 71 72 public PortTypeOperationPanel(SectionView view, Operation operation, 73 Node node, Definitions primaryDefinitions) { 74 super(view); 75 this.operation = operation; 76 this.primaryDefinitions = primaryDefinitions; 77 this.model = this.operation.getModel(); 78 this.primaryModel = this.primaryDefinitions.getModel(); 79 80 initComponents(); 81 if(!isClient(node)){ 82 enableAsyncMappingCB.setVisible(false); 83 } 84 portTypeLabel.setBackground(SectionVisualTheme.getDocumentBackgroundColor()); 85 portTypeName.setBackground(SectionVisualTheme.getDocumentBackgroundColor()); 86 portTypeName.setText(getParentOfOperation(operation)); 87 this.enableAsyncMappingCB.setBackground(SectionVisualTheme.getDocumentBackgroundColor()); 88 this.enableWrapperStyleCB.setBackground(SectionVisualTheme.getDocumentBackgroundColor()); 89 javaMethodName.setBackground(SectionVisualTheme.getDocumentBackgroundColor()); 90 enableAsyncMappingCB.setToolTipText(NbBundle.getMessage(DefinitionsPanel.class, "TOOLTIP_ENABLE_ASYNC")); 91 enableWrapperStyleCB.setToolTipText(NbBundle.getMessage(DefinitionsPanel.class, "TOOLTIP_ENABLE_WRAPPER")); 92 syncButtons(); 93 syncJavaMethod(); 94 95 dil = new DefaultItemListener(); 96 ItemListener il = (ItemListener )WeakListeners.create(ItemListener .class, dil, defaultMethodCB); 97 defaultMethodCB.addItemListener(il); 98 99 modelListener = new ModelChangeListener(); 100 PropertyChangeListener pcl = WeakListeners.propertyChange(modelListener, model); 101 model.addPropertyChangeListener(pcl); 102 103 if(model != primaryModel){ 104 primaryModelListener = new ModelChangeListener(); 105 PropertyChangeListener l = WeakListeners.propertyChange(primaryModelListener, primaryModel); 106 primaryModel.addPropertyChangeListener(l); 107 } 108 109 addModifier(javaMethodName); 110 addModifier(defaultMethodCB); 111 addModifier(enableAsyncMappingCB); 112 addModifier(enableWrapperStyleCB); 113 addValidatee(javaMethodName); 114 } 115 116 private String getParentOfOperation(Operation operation){ 117 PortType portType = (PortType)operation.getParent(); 118 return portType.getName(); 119 } 120 121 class DefaultItemListener implements ItemListener { 122 public void itemStateChanged(ItemEvent e) { 123 if(defaultMethodCB.isSelected()){ 124 javaMethodName.setBackground(Color.LIGHT_GRAY); 125 javaMethodName.setEnabled(false); 126 } else{ 127 javaMethodName.setEnabled(true); 128 javaMethodName.setBackground(Color.WHITE); 129 javaMethodName.requestFocus(); 130 } 131 } 132 } 133 134 class ModelChangeListener implements PropertyChangeListener { 135 public void propertyChange(PropertyChangeEvent evt) { 136 Object source = evt.getSource(); 137 if (source instanceof EnableWrapperStyle){ 138 EnableWrapperStyle ews = (EnableWrapperStyle)source; 139 WSDLComponent parent = ews.getParent(); 140 if(parent instanceof DefinitionsCustomization || 141 parent instanceof PortTypeCustomization){ 142 syncButtons(); 143 } 144 } else if (source instanceof EnableAsyncMapping){ 145 EnableAsyncMapping eam = (EnableAsyncMapping)source; 146 WSDLComponent parent = eam.getParent(); 147 if(parent instanceof DefinitionsCustomization || 148 parent instanceof PortTypeCustomization){ 149 syncButtons(); 150 } 151 } 152 } 153 } 154 155 private void syncJavaMethod(){ 156 List <PortTypeOperationCustomization> ee = 157 operation.getExtensibilityElements(PortTypeOperationCustomization.class); 158 if(ee.size() == 1){ 159 PortTypeOperationCustomization ptoc = ee.get(0); 160 JavaMethod jm = ptoc.getJavaMethod(); 161 if(jm != null){ 162 setJavaMethod(jm.getName()); 163 } else{ 164 defaultMethodCB.setSelected(true); 165 javaMethodName.setBackground(Color.LIGHT_GRAY); 166 javaMethodName.setEnabled(false); 167 } 168 } else{ 169 defaultMethodCB.setSelected(true); 170 javaMethodName.setBackground(Color.LIGHT_GRAY); 171 javaMethodName.setEnabled(false); 172 } 173 } 174 175 final public void syncButtons(){ 176 List <PortTypeOperationCustomization> ee = 177 operation.getExtensibilityElements(PortTypeOperationCustomization.class); 178 if(ee.size() == 1){ 179 PortTypeOperationCustomization ptoc = ee.get(0); 180 EnableAsyncMapping eam = ptoc.getEnableAsyncMapping(); 181 if(eam != null){ 182 setEnableAsyncMapping(eam.isEnabled()); 183 } else{ 184 setEnableAsyncMapping(getAsyncMappingOfParent()); 185 } 186 EnableWrapperStyle ews = ptoc.getEnableWrapperStyle(); 187 if(ews != null){ 188 setEnableWrapperStyle(ews.isEnabled()); 189 } else{ 190 setEnableWrapperStyle(getWrapperStyleOfParent()); 191 } 192 193 } else{ 194 setEnableAsyncMapping(getAsyncMappingOfParent()); 195 setEnableWrapperStyle(getWrapperStyleOfParent()); 196 defaultMethodCB.setSelected(true); 197 javaMethodName.setBackground(Color.LIGHT_GRAY); 198 javaMethodName.setEnabled(false); 199 } 200 } 201 202 private boolean getAsyncMappingOfParent(){ 203 boolean isAsyncMapping = false; 204 PortType portType = (PortType)operation.getParent(); 205 List <PortTypeCustomization> ptcs = portType.getExtensibilityElements(PortTypeCustomization.class); 206 if(ptcs.size() > 0) { PortTypeCustomization ptc = ptcs.get(0); 208 EnableAsyncMapping asyncMapping = ptc.getEnableAsyncMapping(); 209 if(asyncMapping != null){ isAsyncMapping = asyncMapping.isEnabled(); 211 }else{ 212 isAsyncMapping = getAsyncMappingFromDefinitions(primaryDefinitions); 213 } 214 } else{ isAsyncMapping = getAsyncMappingFromDefinitions(primaryDefinitions); 216 } 217 return isAsyncMapping; 218 } 219 220 private boolean getAsyncMappingFromDefinitions(Definitions definitions){ 221 List <DefinitionsCustomization> dcs = definitions.getExtensibilityElements(DefinitionsCustomization.class); 222 if(dcs.size() > 0){ 223 DefinitionsCustomization dc = dcs.get(0); 224 EnableAsyncMapping asyncMapping = dc.getEnableAsyncMapping(); 225 if(asyncMapping != null){ 226 return asyncMapping.isEnabled(); 227 } 228 } 229 return false; 230 } 231 232 private boolean getWrapperStyleFromDefinitions(Definitions definitions){ 233 List <DefinitionsCustomization> dcs = definitions.getExtensibilityElements(DefinitionsCustomization.class); 234 if(dcs.size() > 0){ 235 DefinitionsCustomization dc = dcs.get(0); 236 EnableWrapperStyle wrapperStyle = dc.getEnableWrapperStyle(); 237 if(wrapperStyle != null){ 238 return wrapperStyle.isEnabled(); 239 } 240 } 241 return true; 242 } 243 244 private boolean getWrapperStyleOfParent(){ 245 boolean isWrapperStyle = true; 246 PortType portType = (PortType)operation.getParent(); 247 List <PortTypeCustomization> ptcs = portType.getExtensibilityElements(PortTypeCustomization.class); 248 if(ptcs.size() > 0) { PortTypeCustomization ptc = ptcs.get(0); 250 EnableWrapperStyle wrapperStyle = ptc.getEnableWrapperStyle(); 251 if(wrapperStyle != null){ isWrapperStyle = wrapperStyle.isEnabled(); 253 }else{ 254 isWrapperStyle = getWrapperStyleFromDefinitions(primaryDefinitions); 255 } 256 } else{ isWrapperStyle = getWrapperStyleFromDefinitions(primaryDefinitions); 258 } 259 return isWrapperStyle; 260 } 261 262 public void setEnableAsyncMapping(boolean enable){ 263 enableAsyncMappingCB.setSelected(enable); 264 } 265 266 public boolean getEnableAsyncMapping(){ 267 return enableAsyncMappingCB.isSelected(); 268 } 269 270 public void setEnableWrapperStyle(boolean enable){ 271 enableWrapperStyleCB.setSelected(enable); 272 } 273 274 public boolean getEnableWrapperStyle(){ 275 return enableWrapperStyleCB.isSelected(); 276 } 277 278 279 public void setJavaMethod(String method){ 280 javaMethodName.setText(method); 281 } 282 283 public JComponent getErrorComponent(String string) { 284 return new JButton ("error"); 285 } 286 287 public void linkButtonPressed(Object object, String string) { 288 } 289 290 public void setValue(JComponent jComponent, Object object) { 291 List <PortTypeOperationCustomization> ee = 292 operation.getExtensibilityElements(PortTypeOperationCustomization.class); 293 CustomizationComponentFactory factory = CustomizationComponentFactory.getDefault(); 294 if(jComponent == javaMethodName || 295 jComponent == defaultMethodCB){ 296 String text = javaMethodName.getText(); 297 if(text != null && !text.trim().equals("") 298 && !defaultMethodCB.isSelected()){ 299 if(!JaxWsUtils.isJavaIdentifier(text)){ 300 return; 301 } 302 if(ee.size() > 0){ PortTypeOperationCustomization ptoc = ee.get(0); 304 JavaMethod jm = ptoc.getJavaMethod(); 305 if(jm == null){ try{ 307 jm = factory.createJavaMethod(model); 308 model.startTransaction(); 309 jm.setName(text); ptoc.setJavaMethod(jm); 311 wsdlDirty = true; 312 }finally{ 313 model.endTransaction(); 314 } 315 } else{ try{ 318 model.startTransaction(); 319 jm.setName(text); 320 321 wsdlDirty = true; 322 } finally{ 323 model.endTransaction(); 324 } 325 } 326 }else{ PortTypeOperationCustomization ptoc = factory.createPortTypeOperationCustomization(model); 329 JavaMethod jm = factory.createJavaMethod(model); 330 try{ 331 model.startTransaction(); 332 jm.setName(text); 333 ptoc.setJavaMethod(jm); 334 operation.addExtensibilityElement(ptoc); 335 wsdlDirty = true; 336 } finally{ 337 model.endTransaction(); 338 } 339 } 340 } else{ if(ee.size() == 1){ 342 try{ 343 PortTypeOperationCustomization ptoc = ee.get(0); 344 JavaMethod jm = ptoc.getJavaMethod(); 345 if(jm != null){ 346 model.startTransaction(); 347 ptoc.removeJavaMethod(jm); 348 if(ptoc.getChildren().size() == 0){ 350 operation.removeExtensibilityElement(ptoc); 351 } 352 wsdlDirty = true; 353 } 354 } finally{ 355 model.endTransaction(); 356 } 357 } 358 } 359 } else if(jComponent == enableWrapperStyleCB){ 360 if(ee.size() > 0){ PortTypeOperationCustomization poc = ee.get(0); 362 EnableWrapperStyle ews = poc.getEnableWrapperStyle(); 363 if(ews == null){ try{ 365 model.startTransaction(); 366 ews = factory.createEnableWrapperStyle(model); 367 ews.setEnabled(this.getEnableWrapperStyle()); 368 poc.setEnableWrapperStyle(ews); 369 wsdlDirty = true; 370 } finally{ 371 model.endTransaction(); 372 } 373 } else{ try{ 375 model.startTransaction(); 376 ews.setEnabled(this.getEnableWrapperStyle()); 377 wsdlDirty = true; 378 } finally{ 379 model.endTransaction(); 380 } 381 } 382 } else{ PortTypeOperationCustomization poc = factory.createPortTypeOperationCustomization(model); 385 EnableWrapperStyle ews = factory.createEnableWrapperStyle(model); 386 try{ 387 model.startTransaction(); 388 ews.setEnabled(this.getEnableWrapperStyle()); 389 poc.setEnableWrapperStyle(ews); 390 operation.addExtensibilityElement(poc); 391 wsdlDirty = true; 392 } finally{ 393 model.endTransaction(); 394 } 395 } 396 } else if(jComponent == this.enableAsyncMappingCB){ 397 if(ee.size() > 0){ PortTypeOperationCustomization poc = ee.get(0); 399 EnableAsyncMapping eam = poc.getEnableAsyncMapping(); 400 if(eam == null){ try{ 402 model.startTransaction(); 403 eam = factory.createEnableAsyncMapping(model); 404 eam.setEnabled(this.getEnableAsyncMapping()); 405 poc.setEnableAsyncMapping(eam); 406 wsdlDirty = true; 407 } finally{ 408 model.endTransaction(); 409 } 410 } else{ try{ 412 model.startTransaction(); 413 eam.setEnabled(this.getEnableAsyncMapping()); 414 wsdlDirty = true; 415 } finally{ 416 model.endTransaction(); 417 } 418 } 419 } else{ PortTypeOperationCustomization poc = factory.createPortTypeOperationCustomization(model); 422 EnableAsyncMapping eam = factory.createEnableAsyncMapping(model); 423 try{ 424 model.startTransaction(); 425 eam.setEnabled(this.getEnableAsyncMapping()); 426 poc.setEnableAsyncMapping(eam); 427 operation.addExtensibilityElement(poc); 428 wsdlDirty = true; 429 } finally{ 430 model.endTransaction(); 431 } 432 } 433 } 434 } 435 436 public void documentChanged(JTextComponent comp, String val) { 437 if(comp == javaMethodName){ 438 if(!JaxWsUtils.isJavaIdentifier(val)){ 439 getSectionView().getErrorPanel(). 440 setError(new Error (Error.TYPE_FATAL, 441 Error.ERROR_MESSAGE, val, comp)); 442 return; 443 } 444 } 445 getSectionView().getErrorPanel().clearError(); 446 } 447 448 public void rollbackValue(JTextComponent source) { 449 if(source == javaMethodName){ 450 String methodName = ""; 451 List <PortTypeOperationCustomization> ee = 452 operation.getExtensibilityElements(PortTypeOperationCustomization.class); 453 if(ee.size() == 1){ 454 PortTypeOperationCustomization ptoc = ee.get(0); 455 JavaMethod jm = ptoc.getJavaMethod(); 456 if(jm != null){ 457 methodName = jm.getName(); 458 } 459 } 460 javaMethodName.setText(methodName); 461 } 462 } 463 464 public boolean wsdlIsDirty() { 465 466 return wsdlDirty; 467 } 468 469 public void save() { 470 if(wsdlDirty){ 471 this.setModelDirty(model); 472 } 473 } 474 479 private void initComponents() { 481 ewsButtonGroup = new javax.swing.ButtonGroup (); 482 eamButtonGroup = new javax.swing.ButtonGroup (); 483 jLabel4 = new javax.swing.JLabel (); 484 javaMethodName = new javax.swing.JTextField (); 485 defaultMethodCB = new javax.swing.JCheckBox (); 486 enableWrapperStyleCB = new javax.swing.JCheckBox (); 487 enableAsyncMappingCB = new javax.swing.JCheckBox (); 488 portTypeLabel = new javax.swing.JLabel (); 489 portTypeName = new javax.swing.JLabel (); 490 491 jLabel4.setText(java.util.ResourceBundle.getBundle("org/netbeans/modules/websvc/customization/multiview/Bundle").getString("LBL_JAVA_METHOD_NAME")); 492 jLabel4.getAccessibleContext().setAccessibleName(java.util.ResourceBundle.getBundle("org/netbeans/modules/websvc/customization/multiview/Bundle").getString("LBL_JAVA_METHOD_NAME")); 493 494 javaMethodName.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/modules/websvc/customization/multiview/Bundle").getString("TOOLTIP_PORTTYPE_METHOD")); 495 javaMethodName.setDisabledTextColor(new java.awt.Color (0, 0, 0)); 496 javaMethodName.getAccessibleContext().setAccessibleName(java.util.ResourceBundle.getBundle("org/netbeans/modules/websvc/customization/multiview/Bundle").getString("LBL_JAVA_METHOD_NAME")); 497 javaMethodName.getAccessibleContext().setAccessibleDescription(java.util.ResourceBundle.getBundle("org/netbeans/modules/websvc/customization/multiview/Bundle").getString("LBL_JAVA_METHOD_NAME")); 498 499 defaultMethodCB.setMnemonic(java.util.ResourceBundle.getBundle("org/netbeans/modules/websvc/customization/multiview/Bundle").getString("MNEMONIC_USE_DEFAULT").charAt(0)); 500 defaultMethodCB.setText(java.util.ResourceBundle.getBundle("org/netbeans/modules/websvc/customization/multiview/Bundle").getString("LBL_USE_DEFAULT")); 501 defaultMethodCB.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0)); 502 defaultMethodCB.setMargin(new java.awt.Insets (0, 0, 0, 0)); 503 defaultMethodCB.getAccessibleContext().setAccessibleName(java.util.ResourceBundle.getBundle("org/netbeans/modules/websvc/customization/multiview/Bundle").getString("LBL_USE_DEFAULT")); 504 defaultMethodCB.getAccessibleContext().setAccessibleDescription(java.util.ResourceBundle.getBundle("org/netbeans/modules/websvc/customization/multiview/Bundle").getString("LBL_USE_DEFAULT")); 505 506 enableWrapperStyleCB.setMnemonic(java.util.ResourceBundle.getBundle("org/netbeans/modules/websvc/customization/multiview/Bundle").getString("MNEMONIC_ENABLE_WRAPPER_STYLE").charAt(0)); 507 enableWrapperStyleCB.setText(java.util.ResourceBundle.getBundle("org/netbeans/modules/websvc/customization/multiview/Bundle").getString("LBL_ENABLE_WRAPPER_STYLE")); 508 enableWrapperStyleCB.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0)); 509 enableWrapperStyleCB.setMargin(new java.awt.Insets (0, 0, 0, 0)); 510 enableWrapperStyleCB.getAccessibleContext().setAccessibleName(java.util.ResourceBundle.getBundle("org/netbeans/modules/websvc/customization/multiview/Bundle").getString("LBL_ENABLE_WRAPPER_STYLE")); 511 enableWrapperStyleCB.getAccessibleContext().setAccessibleDescription(java.util.ResourceBundle.getBundle("org/netbeans/modules/websvc/customization/multiview/Bundle").getString("LBL_ENABLE_WRAPPER_STYLE")); 512 513 enableAsyncMappingCB.setMnemonic(java.util.ResourceBundle.getBundle("org/netbeans/modules/websvc/customization/multiview/Bundle").getString("MNEMONIC_ENABLE_ASYNC_CLIENT").charAt(0)); 514 enableAsyncMappingCB.setText(java.util.ResourceBundle.getBundle("org/netbeans/modules/websvc/customization/multiview/Bundle").getString("LBL_ENABLE_ASYNC_MAPPING")); 515 enableAsyncMappingCB.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0)); 516 enableAsyncMappingCB.setMargin(new java.awt.Insets (0, 0, 0, 0)); 517 enableAsyncMappingCB.getAccessibleContext().setAccessibleName(java.util.ResourceBundle.getBundle("org/netbeans/modules/websvc/customization/multiview/Bundle").getString("LBL_ENABLE_ASYNC_MAPPING")); 518 enableAsyncMappingCB.getAccessibleContext().setAccessibleDescription(java.util.ResourceBundle.getBundle("org/netbeans/modules/websvc/customization/multiview/Bundle").getString("LBL_ENABLE_ASYNC_MAPPING")); 519 520 portTypeLabel.setText(java.util.ResourceBundle.getBundle("org/netbeans/modules/websvc/customization/multiview/Bundle").getString("LBL_ENCLOSING_PORTTYPE")); 521 portTypeLabel.getAccessibleContext().setAccessibleName(java.util.ResourceBundle.getBundle("org/netbeans/modules/websvc/customization/multiview/Bundle").getString("LBL_ENCLOSING_PORTTYPE")); 522 523 org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this); 524 this.setLayout(layout); 525 layout.setHorizontalGroup( 526 layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 527 .add(layout.createSequentialGroup() 528 .add(22, 22, 22) 529 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 530 .add(enableAsyncMappingCB) 531 .add(enableWrapperStyleCB) 532 .add(layout.createSequentialGroup() 533 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) 534 .add(portTypeLabel) 535 .add(jLabel4)) 536 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) 537 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) 538 .add(layout.createSequentialGroup() 539 .add(javaMethodName, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 132, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) 540 .add(14, 14, 14) 541 .add(defaultMethodCB)) 542 .add(layout.createSequentialGroup() 543 .add(portTypeName) 544 .add(106, 106, 106))))) 545 .addContainerGap(103, Short.MAX_VALUE)) 546 ); 547 layout.setVerticalGroup( 548 layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 549 .add(layout.createSequentialGroup() 550 .add(9, 9, 9) 551 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) 552 .add(portTypeLabel) 553 .add(portTypeName)) 554 .add(15, 15, 15) 555 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) 556 .add(jLabel4) 557 .add(javaMethodName, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 15, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) 558 .add(defaultMethodCB)) 559 .add(15, 15, 15) 560 .add(enableWrapperStyleCB) 561 .add(12, 12, 12) 562 .add(enableAsyncMappingCB) 563 .addContainerGap(24, Short.MAX_VALUE)) 564 ); 565 } 567 568 private javax.swing.JCheckBox defaultMethodCB; 570 private javax.swing.ButtonGroup eamButtonGroup; 571 private javax.swing.JCheckBox enableAsyncMappingCB; 572 private javax.swing.JCheckBox enableWrapperStyleCB; 573 private javax.swing.ButtonGroup ewsButtonGroup; 574 private javax.swing.JLabel jLabel4; 575 private javax.swing.JTextField javaMethodName; 576 private javax.swing.JLabel portTypeLabel; 577 private javax.swing.JLabel portTypeName; 578 580 } 581 | Popular Tags |