[
https://issues.jboss.org/browse/JBIDE-16005?page=com.atlassian.jira.plugi...
]
Fred Bricon edited comment on JBIDE-16005 at 2/4/14 5:49 AM:
-------------------------------------------------------------
Looking at JAXRSWSTestView2, I see the test is invoked on Ctrl+Return (which I find
totally non-intuitive, there's no visual aid to give any hint about it)
So if we replace
{code}
urlCombo.addKeyListener(new KeyListener() {
public void keyPressed(KeyEvent e) {
}
public void keyReleased(KeyEvent e) {
setControlsForSelectedURL();
getCurrentHistoryEntry().setUrl(urlCombo.getText());
getCurrentHistoryEntry().setAction(null);
if (e.keyCode == SWT.CR && e.stateMask == SWT.CTRL) {
handleTest(getCurrentTestType());
}
}
});
{code}
to :
{code}
urlCombo.addKeyListener(new KeyListener() {
public void keyPressed(KeyEvent e) {
}
public void keyReleased(KeyEvent e) {
setControlsForSelectedURL();
getCurrentHistoryEntry().setUrl(urlCombo.getText());
getCurrentHistoryEntry().setAction(null);
if (e.keyCode == SWT.CR) {
handleTest(getCurrentTestType());
}
}
});
{code}
[~xcoulon], [~bfitzpat] WDYT?
was (Author: fbricon):
Looking at JAXRSWSTestView2, I see the test is invoked on Ctrl+Return (which I find
totally non-intuitive, there's no visual aid to give any hint about it)
So if we replace
{code}
urlCombo.addKeyListener(new KeyListener() {
public void keyPressed(KeyEvent e) {
}
public void keyReleased(KeyEvent e) {
setControlsForSelectedURL();
getCurrentHistoryEntry().setUrl(urlCombo.getText());
getCurrentHistoryEntry().setAction(null);
if (e.keyCode == SWT.CR && e.stateMask == SWT.CTRL) {
handleTest(getCurrentTestType());
}
}
});
{code}
So we'd just have to change it to
{code}
urlCombo.addKeyListener(new KeyListener() {
public void keyPressed(KeyEvent e) {
}
public void keyReleased(KeyEvent e) {
setControlsForSelectedURL();
getCurrentHistoryEntry().setUrl(urlCombo.getText());
getCurrentHistoryEntry().setAction(null);
if (e.keyCode == SWT.CR) {
handleTest(getCurrentTestType());
}
}
});
{code}
[~xcoulon], [~bfitzpat] WDYT?
Web Service Tester : invoke test when hitting 'Return'
------------------------------------------------------
Key: JBIDE-16005
URL:
https://issues.jboss.org/browse/JBIDE-16005
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: webservices
Affects Versions: 4.1.1.Beta1
Reporter: Fred Bricon
Fix For: 4.2.0.Alpha1
I've been using the Web Service tester for my REST endpoints and I find it really
annoying that I need the mouse to click the Invoke button, after typing the url under
test.
Intuitively, I expect the test to be invoked as soon as I hit the "Enter" key,
similarly to a web browser.
Please make it happen :-)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira