fLinkInput.setText(HTTP);
fLinkInput.setSelection(HTTP.length());
}
fLinkInput.setLayoutData(new GridData(SWT.FILL, SWT.BEGINNING, true, false));
fLinkInput.addModifyListener(new ModifyListener() {
public void modifyText(ModifyEvent e) {
validateInput();
}
});
Label l1 = new Label(container, SWT.NONE);
l1.setText("Name: ");
Composite nameContainer = new Composite(container, SWT.BORDER);
nameContainer.setLayoutData(new GridData(SWT.FILL, SWT.BEGINNING, true, false));
nameContainer.setLayout(LayoutUtils.createGridLayout(2, 0, 0));
nameContainer.setBackground(container.getDisplay().getSystemColor(SWT.COLOR_WHITE));
fNameInput = new Text(nameContainer, SWT.SINGLE);
fNameInput.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, true));
fNameInput.addModifyListener(new ModifyListener() {
public void modifyText(ModifyEvent e) {
validateInput();
}
});