PT 152579435 - Add hint message in quick in-place dialogue
This commit is contained in:
@@ -237,6 +237,8 @@ public class GotoSymbolDialog extends PopupDialog {
|
||||
// }
|
||||
// });
|
||||
pattern.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
|
||||
pattern.setMessage(model.getSearchBoxHintMessage());
|
||||
|
||||
SwtConnect.connect(pattern, model.getSearchBox());
|
||||
|
||||
TreeViewer viewer = new TreeViewer(dialogArea, SWT.SINGLE);
|
||||
|
||||
@@ -27,6 +27,7 @@ import com.google.common.collect.ImmutableSet;
|
||||
|
||||
public class GotoSymbolDialogModel {
|
||||
|
||||
private static final String SEARCH_BOX_HINT_MESSAGE = "@/ -> request mappings, @+ -> beans, @> -> functions, @ -> all spring elements";
|
||||
private static final boolean DEBUG = false;//(""+Platform.getLocation()).contains("kdvolder");
|
||||
private static void debug(String string) {
|
||||
if (DEBUG) {
|
||||
@@ -149,6 +150,10 @@ public class GotoSymbolDialogModel {
|
||||
public LiveVariable<String> getSearchBox() {
|
||||
return searchBox;
|
||||
}
|
||||
|
||||
public String getSearchBoxHintMessage() {
|
||||
return SEARCH_BOX_HINT_MESSAGE;
|
||||
}
|
||||
|
||||
public LiveExpression<String> getStatus() {
|
||||
return status;
|
||||
|
||||
Reference in New Issue
Block a user