use of com.android.tools.adtui.LabelWithEditButton in project flutter-intellij by flutter.
the class FlutterSettingsStepFixture method enterPackageName.
@SuppressWarnings("Duplicates")
@NotNull
public FlutterSettingsStepFixture enterPackageName(@NotNull String text) {
LabelWithEditButton editLabel = robot().finder().findByType(target(), LabelWithEditButton.class);
JButton editButton = robot().finder().findByType(editLabel, JButton.class);
robot().click(editButton);
JTextComponent textField = findTextFieldWithLabel("Package name");
replaceText(textField, text);
// click "Done"
robot().click(editButton);
return this;
}
Aggregations