}
protected Consumer<Collection<?>> inputCallback(final Collection<Object> selectionContents, final ISessionContext sessionContext) {
- return new Consumer<Collection<?>>() {
+ return new Consumer<Collection<?>>() {
+ Collection<?> currentContribs =null;
@Override
public void accept(final Collection<?> contribs) {
- if (isDisposed())
+ if (isDisposed()) {
+ currentContribs = null;
return;
+ }
+ if (contribs != null && contribs.equals(currentContribs))
+ return;
+ currentContribs = contribs;
// if (contribs.isEmpty())
// return;
-
SimanticsUI.asyncExecSWT(TabbedPropertyTable.this, new Runnable() {
public void run() {