Esempio n. 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);
   }
 }
Esempio n. 2
0
 /*
  * (non-Javadoc)
  *
  * @see
  * org.eclipse.pde.internal.ua.core.icheatsheet.comp.ICompCSObject#getCompCS()
  */
 public ICompCS getCompCS() {
   return fModel.getCompCS();
 }
Esempio n. 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));
   }
 }