1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-05 08:05:24 +02:00

launchbar: API to get text of the custom control for UI testing

Change-Id: I8824070c562dc830b6791e6e7670ed9ebf42b758
This commit is contained in:
Alena Laskavaia 2015-11-23 16:43:23 -05:00 committed by Gerrit Code Review @ Eclipse.org
parent 632980a73a
commit 1df3be627f

View file

@ -514,6 +514,16 @@ public abstract class CSelector extends Composite {
}
}
/**
* Returns the text currently visible in the selector
*/
public String getText() {
if (currentLabel != null) {
currentLabel.getText();
}
return "";
}
protected boolean hasActionArea() {
return false;
}