mirror of
https://github.com/angryip/ipscan.git
synced 2025-10-26 11:18:17 +00:00
hide predefined combo until it is implemented
This commit is contained in:
parent
d40dc2d78d
commit
e13535a42d
@ -47,16 +47,16 @@ public class PortTextFetcherPrefs extends AbstractModalDialog implements Fetcher
|
||||
shell.setText(fetcher.getName());
|
||||
shell.setLayout(LayoutHelper.formLayout(10, 10, 5));
|
||||
|
||||
Combo predefinedCombo = new Combo(shell, SWT.DROP_DOWN | SWT.READ_ONLY);
|
||||
predefinedCombo.add(Labels.getLabel("fetcher.portText.custom"));
|
||||
//Combo predefinedCombo = new Combo(shell, SWT.DROP_DOWN | SWT.READ_ONLY);
|
||||
//predefinedCombo.add(Labels.getLabel("fetcher.portText.custom"));
|
||||
//predefinedCombo.add("Web detect");
|
||||
//predefinedCombo.add("SMTP detect");
|
||||
predefinedCombo.select(0);
|
||||
predefinedCombo.setLayoutData(LayoutHelper.formData(null, new FormAttachment(100), new FormAttachment(0), null));
|
||||
//predefinedCombo.select(0);
|
||||
//predefinedCombo.setLayoutData(LayoutHelper.formData(null, new FormAttachment(100), new FormAttachment(0), null));
|
||||
|
||||
Label sendLabel = new Label(shell, SWT.NONE);
|
||||
sendLabel.setText(Labels.getLabel("text.fetcher.portText.send"));
|
||||
sendLabel.setLayoutData(LayoutHelper.formData(new FormAttachment(0), null, null, new FormAttachment(predefinedCombo, 0, SWT.BOTTOM)));
|
||||
//sendLabel.setLayoutData(LayoutHelper.formData(new FormAttachment(0), null, null, new FormAttachment(predefinedCombo, 0, SWT.BOTTOM)));
|
||||
textToSend = new Text(shell, SWT.BORDER);
|
||||
textToSend.setText(toEditableText(fetcher.getTextToSend()));
|
||||
textToSend.setLayoutData(LayoutHelper.formData(new FormAttachment(0), new FormAttachment(100), new FormAttachment(sendLabel), null));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user