Beispiel #1
0
 private void resetVisibleItems() {
   if (myVisibleItems != null) {
     ArrayList<I> theOldValue = null;
     theOldValue = new ArrayList<I>();
     theOldValue.addAll(myVisibleItems);
     myVisibleItems = null;
     myChanges.fireModelChange(ITEM_LIST_PROPERTY, theOldValue, myVisibleItems);
   }
 }
Beispiel #2
0
 /*
  * (non-Javadoc)
  * @seeorg.bonitasoft.console.client.model.BonitaDataSource#
  * removeModelChangeListener (java.lang.String,
  * org.bonitasoft.console.client.events.ModelChangeListener)
  */
 @Override
 public void removeModelChangeListener(String aPropertyName, ModelChangeListener aListener) {
   myChanges.removeModelChangeListener(aPropertyName, aListener);
 }