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:
parent
632980a73a
commit
1df3be627f
1 changed files with 10 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue