text.setLayoutData(gridData);
text.setText(path);
text.setFont(UIDATA.FONT_8V);
text.setBackground(ColorCache.getInstance().getWhite());
ClientRM resource = new ClientRM("HTMLExplorer");
Label label = new Label(main, SWT.NONE);
gridData = new GridData(GridData.FILL_HORIZONTAL);
label.setText(resource.getLabel("invalid_path"));
label.setLayoutData(gridData);
label.setFont(UIDATA.FONT_9);
Composite bottom = new Composite(main, SWT.NONE);
gridData = new GridData(GridData.FILL_HORIZONTAL);
gridData.horizontalSpan = 3;
bottom.setLayoutData(gridData);
RowLayout rowLayout = new RowLayout();
bottom.setLayout(rowLayout);
rowLayout.justify = true;
Button button = new Button(bottom, SWT.PUSH);
button.setText(resource.getLabel("remove.path.yes_to_all"));
button.addSelectionListener(new SelectionAdapter(){
@SuppressWarnings("unused")
public void widgetSelected(SelectionEvent evt) {
type = YES_TO_ALL;
shell.dispose();
}
});
button.setFont(UIDATA.FONT_9);
button = new Button(bottom, SWT.PUSH);
button.setText(resource.getLabel("remove.path.yes"));
button.addSelectionListener(new SelectionAdapter(){
@SuppressWarnings("unused")
public void widgetSelected(SelectionEvent evt) {
type = YES;
shell.dispose();
}
});
button.setFont(UIDATA.FONT_9);
button = new Button(bottom, SWT.PUSH);
button.setText(resource.getLabel("remove.path.no"));
button.addSelectionListener(new SelectionAdapter(){
@SuppressWarnings("unused")
public void widgetSelected(SelectionEvent evt) {
type = NO;
shell.dispose();
}
});
button.setFont(UIDATA.FONT_9);
button = new Button(bottom, SWT.PUSH);
button.setText(resource.getLabel("remove.path.no_to_all"));
button.addSelectionListener(new SelectionAdapter(){
@SuppressWarnings("unused")
public void widgetSelected(SelectionEvent evt) {
type = NO_TO_ALL;
shell.dispose();