コード例 #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);
   }
 }
コード例 #2
0
 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));
   }
 }