Skip to content

Commit

Permalink
Merge pull request #163 from missedone/issue/91
Browse files Browse the repository at this point in the history
issue #91: add tooltip to 'serialization protocol'
  • Loading branch information
cbeust committed Aug 5, 2015
2 parents 06e2b5f + f2b4809 commit 4d432f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ TestNGMainTab.testng.loglevel=Log level (0-10)
TestNGMainTab.testng.verbose=Verbose
TestNGMainTab.testng.debug=Debug
TestNGMainTab.testng.protocol=Serilization Protocol
TestNGMainTab.testng.protocol.tooltip=Select the data serialization protocol for communicating between eclipse and TestNG runtime. Use "String Serialization" (though is deprecated, but still functional) as a workaround to bypass the socket "Broken pipe" issue https://github.com/cbeust/testng-eclipse/issues/91.
TestNGMainTab.testng.protocol.object=Object Serialization
TestNGMainTab.testng.protocol.string=String Serialization (Deprecated)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -518,8 +518,10 @@ public void widgetDefaultSelected(SelectionEvent e) {

Label label = new Label(group, SWT.NONE);
label.setText(ResourceUtil.getString("TestNGMainTab.testng.protocol"));
label.setToolTipText(ResourceUtil.getString("TestNGMainTab.testng.protocol.tooltip"));

m_protocolComboViewer = new ComboViewer(group, SWT.READ_ONLY);
m_protocolComboViewer.getControl().setToolTipText(ResourceUtil.getString("TestNGMainTab.testng.protocol.tooltip"));
GridDataFactory.fillDefaults().span(2, SWT.None).applyTo(m_protocolComboViewer.getCombo());
m_protocolComboViewer.addSelectionChangedListener(new ISelectionChangedListener() {
@Override
Expand Down

0 comments on commit 4d432f9

Please sign in to comment.