Skip to content

Commit

Permalink
Merge pull request #1088 from imsuneth/http-ep-features
Browse files Browse the repository at this point in the history
Add HTTP endpoint additional parameter key, value labels
  • Loading branch information
rosensilva authored Mar 28, 2022
2 parents 72eb9a3 + a302c20 commit c93bd73
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Event;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Listener;
import org.eclipse.swt.widgets.Text;
import org.eclipse.ui.forms.widgets.FormToolkit;
Expand Down Expand Up @@ -377,11 +378,12 @@ public void widgetSelected(SelectionEvent e) {
* @generated NOT
*/
public static Composite createOAuthParameterListItem(FormToolkit toolkit, Composite parent) {
Composite listItemComposite = CompositeElements.createComposite(toolkit, parent, 5, 0);
Composite listItemComposite = CompositeElements.createComposite(toolkit, parent, 7, 0);
listItemComposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
NamespacedProperty namespacedProperty = EsbFactoryImpl.eINSTANCE.createNamespacedProperty();

toolkit.createLabel(listItemComposite, "Name:");
Text keyText = toolkit.createText(listItemComposite, "");
toolkit.createLabel(listItemComposite, "Value:");
Composite textboxComposite = CompositeElements.createTextBoxFieldWithButton(toolkit, listItemComposite,
namespacedProperty);
Text valueText = (Text) textboxComposite.getData(CompositeElements.VALUE_TEXT_BOX);
Expand Down

0 comments on commit c93bd73

Please sign in to comment.