Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickael ADAM2016-10-05 09:17:53 +0000
committerGerrit Code Review @ Eclipse.org2016-10-06 13:56:17 +0000
commit721ef7d021121732a8ec45f5df6daab3ee4abce7 (patch)
tree7ab854b9bd66aae72bfc762bc810d2e63588cb5d /plugins/infra/ui
parentc9fe1f3aca27974c66c4818306cf9ab104ebe45a (diff)
downloadorg.eclipse.papyrus-721ef7d021121732a8ec45f5df6daab3ee4abce7.tar.gz
org.eclipse.papyrus-721ef7d021121732a8ec45f5df6daab3ee4abce7.tar.xz
org.eclipse.papyrus-721ef7d021121732a8ec45f5df6daab3ee4abce7.zip
Bug 503038 - [Model Explorer] The validation of search field should be
improved. https://bugs.eclipse.org/bugs/show_bug.cgi?id=503038 - Add new Model explorer preference for filter field validation: -Live validataion -delay field(ms) -Some refactor to clean Model explorer Preferences. Change-Id: Icead28b694eaed6b5d7c7cad7caac94e9e6e9170 Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
Diffstat (limited to 'plugins/infra/ui')
-rw-r--r--plugins/infra/ui/org.eclipse.papyrus.infra.widgets/src/org/eclipse/papyrus/infra/widgets/editors/StringWithClearEditor.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/infra/ui/org.eclipse.papyrus.infra.widgets/src/org/eclipse/papyrus/infra/widgets/editors/StringWithClearEditor.java b/plugins/infra/ui/org.eclipse.papyrus.infra.widgets/src/org/eclipse/papyrus/infra/widgets/editors/StringWithClearEditor.java
index abb3851b81d..c30e8eea1dc 100644
--- a/plugins/infra/ui/org.eclipse.papyrus.infra.widgets/src/org/eclipse/papyrus/infra/widgets/editors/StringWithClearEditor.java
+++ b/plugins/infra/ui/org.eclipse.papyrus.infra.widgets/src/org/eclipse/papyrus/infra/widgets/editors/StringWithClearEditor.java
@@ -106,7 +106,7 @@ public class StringWithClearEditor extends AbstractValueEditor implements KeyLis
final Composite filterComposite = new Composite(this, style);
filterComposite.setBackground(parent.getDisplay().getSystemColor(SWT.COLOR_LIST_BACKGROUND));
- // Initialise the layout of the filter composite to display the widgets on 2 columns
+ // Initialize the layout of the filter composite to display the widgets on 2 columns
final GridLayout filterLayout = new GridLayout(2, false);
filterLayout.marginHeight = 0;
filterLayout.marginWidth = 0;
@@ -131,6 +131,7 @@ public class StringWithClearEditor extends AbstractValueEditor implements KeyLis
@Override
public void mouseUp(MouseEvent e) {
text.setText(EMPTY);
+ notifyChange();
}
});

Back to the top