pageChanged();
}
});
_btnBrowse = new Button(container, SWT.None);
_btnBrowse.setText("...");
_btnBrowse.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
handleBrowse();
}
});
Label lblBuild = new Label(container, SWT.None);
lblBuild.setText("Build:");
_txtBuild = new Text(container, SWT.BORDER);
_txtBuild.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
_txtBuild.setText(Integer.toString(getModel().getPluginBuild()));
_txtBuild.addModifyListener(new ModifyListener() {
public void modifyText(ModifyEvent e) {
pageChanged();
}
});
_txtBuild.addVerifyListener(new VerifyListener() {
public void verifyText(VerifyEvent e) {
if (!Character.isIdentifierIgnorable(e.character)) {
if (Character.isDigit(e.character)) {
e.doit = true;
} else {
e.doit = false;
}
}
}
});
new Label(container, SWT.None);
Group optFileNameGroup = new Group(container, SWT.None);
optFileNameGroup.setText("File name");
GridLayout groupLayout = new GridLayout();
groupLayout.numColumns = 1;
optFileNameGroup.setLayout(groupLayout);
GridData groupLayoutData = new GridData(GridData.FILL_HORIZONTAL);
groupLayoutData.horizontalSpan = 3;
optFileNameGroup.setLayoutData(groupLayoutData);
_optFileNameShort = new Button(optFileNameGroup, SWT.RADIO);
_optFileNameShort.setText("Short");
_optFileNameShort.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, true));
_optFileNameShort.setSelection(true);
_optFileNameShort.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
pageChanged();
}
});
_optFileNameFQ = new Button(optFileNameGroup, SWT.RADIO);
_optFileNameFQ.setText("Fully qualified");
_optFileNameFQ.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, true));
_optFileNameFQ.addSelectionListener(new SelectionAdapter() {
@Override