Пример #1
0
 @Override
 public boolean isDirty() {
   for (IFormPage page : getPages()) {
     if (page.isDirty()) {
       return true;
     }
   }
   return false;
 }
Пример #2
0
  @Override
  public void doSave(IProgressMonitor monitor) {
    for (IFormPage page : getPages()) {
      if (page.isDirty()) {
        page.doSave(monitor);
      }
    }

    editorDirtyStateChanged();
  }