return myEditorInput != null && myEditorInput.getModel().isDirty();
return myModel != null && myModel.isDirty();
  public boolean isDirty() {    return myEditorInput != null && myEditorInput.getModel().isDirty();  }