예제 #1
0
 /**
  * @param object
  * @param property
  * @param oldValue
  * @param newValue
  */
 private void firePropertyChanged(
     ICompCSObject object, String property, Object oldValue, Object newValue) {
   if (fModel.isEditable()) {
     IModelChangeProvider provider = fModel;
     provider.fireModelObjectChanged(object, property, oldValue, newValue);
   }
 }
 protected void collectSuites() {
   if (this.extToInfo == null) {
     for (IModelChangeProvider provider : listentingTo) provider.removeModelChangedListener(this);
     listentingTo.clear();
     this.extToInfo = Maps.newHashMap();
     IPluginModelBase xpect = PluginRegistry.findModel("org.xpect");
     collectSuites(xpect, Sets.<String>newHashSet());
   }
 }
예제 #3
0
 /**
  * @param children
  * @param changeType
  */
 private void fireStructureChanged(ICompCSObject[] children, int changeType) {
   if (fModel.isEditable()) {
     IModelChangeProvider provider = fModel;
     provider.fireModelChanged(new ModelChangedEvent(provider, changeType, children, null));
   }
 }