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