public void refreshLangUI(){ dataTabItem.setText(RedisClient.i18nFile.getText(dataTitle)); label.setText(RedisClient.i18nFile.getText(I18nFile.SERVER)); label_2.setText(RedisClient.i18nFile.getText(I18nFile.DATABASE)); lblKey.setText(RedisClient.i18nFile.getText(I18nFile.KEY)); ttlTabItem.setText(RedisClient.i18nFile.getText(I18nFile.TTL)); btnExpire.setText(RedisClient.i18nFile.getText(I18nFile.EXPIRE)); labelTTL.setText(RedisClient.i18nFile.getText(I18nFile.TTLS)); shell.pack(); }
@Override public void refreshLangUI() { tbtmNewItem.setText(server.getName() +" "+RedisClient.i18nFile.getText(I18nFile.SUBSCRIBE)); lblNewLabel.setText(RedisClient.i18nFile.getText(I18nFile.CHANNEL)); btnNewButton.setText(RedisClient.i18nFile.getText(I18nFile.SUBSCRIBE)); for(SubChannel subedChannel: subChannels){ subedChannel.refreshLangUI(); } composite_3.pack(); }
@Override public void refreshLangUI(){ tbtmNewItem.setText(server.getName() +" "+RedisClient.i18nFile.getText(I18nFile.PUBLISH)); btnNewButton.setText(RedisClient.i18nFile.getText(I18nFile.PUBLISH)); label.setText(RedisClient.i18nFile.getText(I18nFile.CHANNEL)); label1.setText(RedisClient.i18nFile.getText(I18nFile.MESSAGE)); tblclmnNewColumn.setText(RedisClient.i18nFile.getText(I18nFile.TIME)); tblclmnNewColumn_1.setText(RedisClient.i18nFile.getText(I18nFile.CHANNEL)); tblclmnNewColumn_2.setText(RedisClient.i18nFile.getText(I18nFile.MESSAGE)); composite_3.pack(); } @Override
@Override public void refreshLangUI() { tbtmNewItem.setText(server.getName() + " " + RedisClient.i18nFile.getText(I18nFile.CONSOLE)); tbtmNewItem_1.setText(RedisClient.i18nFile.getText(I18nFile.RESULT)); btnExecButton.setText(RedisClient.i18nFile.getText(I18nFile.RUNCURRENT)); btnExecButton.setToolTipText(RedisClient.i18nFile.getText(I18nFile.RUNCURRENTTIP)+"\tF7"); btnExecSelectButton.setText(RedisClient.i18nFile.getText(I18nFile.RUNSELECT)); btnExecSelectButton.setToolTipText(RedisClient.i18nFile.getText(I18nFile.RUNSELECTTIP)+"\tF8"); btnExecNextButton.setText(RedisClient.i18nFile.getText(I18nFile.RUNFOLLOW)); btnExecNextButton.setToolTipText(RedisClient.i18nFile.getText(I18nFile.RUNFOLLOWTIP)+"\tF9"); for(DataCommand dataCommand: dataCmds) dataCommand.refreshLangUI(); menu.dispose(); initMenu(); composite_4.pack(); }
wGeneralComp.setLayoutData( fdGeneralComp ); wGeneralComp.pack();
wErrorComp.setLayoutData( fdErrorComp ); wErrorComp.pack();
wErrorComp.setLayoutData( fdErrorComp ); wErrorComp.pack();
wResultFileNameField.setLayoutData( fdResultFileNameField ); wInputComposite.pack(); Rectangle bounds = wInputComposite.getBounds();
wResultFileNameField.setLayoutData( fdResultFileNameField ); wInputComposite.pack(); Rectangle bounds = wInputComposite.getBounds();
comp.setLayoutData( fdComp ); comp.pack(); Rectangle bounds = comp.getBounds();
wOutputFields.getTable().addListener( SWT.Resize, new ColumnsResizer( 0, 25, 25, 25, 25 ) ); wInputComposite.pack(); Rectangle bounds = wInputComposite.getBounds();
wFileComp.setLayoutData( fdFileComp ); wFileComp.pack(); Rectangle bounds = wFileComp.getBounds();
wFileComp.setLayoutData( fdFileComp ); wFileComp.pack(); Rectangle bounds = wFileComp.getBounds();
wOptionsComp.setLayoutData( fdOptionsComp ); wOptionsComp.pack(); Rectangle bounds = wOptionsComp.getBounds();
wResultRowsFields.getTable().addListener( SWT.Resize, new ColumnsResizer( 0, 25, 25, 25, 25 ) ); wInputComposite.pack(); Rectangle bounds = wInputComposite.getBounds();
jobHistoryComposite.pack(); jobHistoryTab.setControl( jobHistoryComposite ); jobGraph.extraViewTabFolder.setSelection( jobHistoryTab );
transHistoryComposite.pack(); transHistoryTab.setControl( transHistoryComposite ); transGraph.extraViewTabFolder.setSelection( transHistoryTab );
wInjectComp.setLayoutData( fdInjectComp ); wInjectComp.pack(); Rectangle bounds = wInjectComp.getBounds();
wJobExecutorParameters.optWidth( true ); wInputComposite.pack(); Rectangle bounds = wInputComposite.getBounds();
wTransExecutorParameters.optWidth( true ); wInputComposite.pack(); Rectangle bounds = wInputComposite.getBounds();