tbtmNewItem.setControl(composite_3);
composite_3.setLayout(new GridLayout(1, false));
tbtmNewItem.setText(server.getName() +" "+RedisClient.i18nFile.getText(I18nFile.PUBLISH));
tbtmNewItem.setImage(pubImage);
SashForm sashForm_2 = new SashForm(composite_3, SWT.NONE);
sashForm_2.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 1, 1));
Composite composite_4 = new Composite(sashForm_2, SWT.NONE);
composite_4.setLayout(new GridLayout(1, false));
Composite composite_5 = new Composite(composite_4, SWT.NONE);
composite_5.setLayout(new GridLayout(3, false));
composite_5.setLayoutData(new GridData(SWT.FILL, SWT.TOP, true, false, 1, 1));
label = new Label(composite_5, SWT.NONE);
label.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1));
label.setText(RedisClient.i18nFile.getText(I18nFile.CHANNEL));
final Text channel = new Text(composite_5, SWT.BORDER);
channel.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
channel.setBounds(0, 0, 73, 21);
channel.addControlListener(new ControlAdapter() {
@Override
public void controlResized(ControlEvent e) {
channel.setFocus();
}
});
Composite composite_6 = new Composite(composite_4, SWT.NONE);
composite_6.setLayout(new GridLayout(2, false));
composite_6.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 1, 1));
label1 = new Label(composite_6, SWT.NONE);
label1.setLayoutData(new GridData(SWT.LEFT, SWT.TOP, false, false, 1, 1));
label1.setText(RedisClient.i18nFile.getText(I18nFile.MESSAGE));
final Text message = new Text(composite_6, SWT.BORDER | SWT.WRAP | SWT.V_SCROLL | SWT.MULTI);
message.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 1, 1));
message.setBounds(0, 0, 73, 21);
final Table table = new Table(sashForm_2, SWT.BORDER | SWT.FULL_SELECTION);
table.setHeaderVisible(true);
table.setLinesVisible(true);
EditListener listener = new EditListener(table, false, true);
table.addListener(SWT.MouseDown, listener);
tblclmnNewColumn = new TableColumn(table, SWT.NONE);
tblclmnNewColumn.setWidth(100);
tblclmnNewColumn.setText(RedisClient.i18nFile.getText(I18nFile.TIME));
tblclmnNewColumn_1 = new TableColumn(table, SWT.NONE);
tblclmnNewColumn_1.setWidth(100);
tblclmnNewColumn_1.setText(RedisClient.i18nFile.getText(I18nFile.CHANNEL));
tblclmnNewColumn_2 = new TableColumn(table, SWT.NONE);
tblclmnNewColumn_2.setWidth(100);
tblclmnNewColumn_2.setText(RedisClient.i18nFile.getText(I18nFile.MESSAGE));
sashForm_2.setWeights(new int[] {1, 2});
btnNewButton = new Button(composite_5, SWT.NONE);
btnNewButton.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
btnNewButton.setBounds(0, 0, 75, 25);
btnNewButton.setText(RedisClient.i18nFile.getText(I18nFile.PUBLISH));