Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 355537

Summary: Add isDirty() and DirtyStateChangedEvents to CDOWorkspace
Product: [Modeling] EMF Reporter: Eike Stepper <stepper>
Component: cdo.coreAssignee: Eike Stepper <stepper>
Status: CLOSED FIXED QA Contact: Eike Stepper <stepper>
Severity: enhancement    
Priority: P3    
Version: 4.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: Power to the People
Attachments:
Description Flags
Patch v1 none

Description Eike Stepper CLA 2011-08-23 12:45:26 EDT
Proposal:

  public boolean isDirty();

  public interface DirtyStateChangedEvent extends IEvent
  {
    public boolean isDirty();
  }
Comment 1 Eike Stepper CLA 2011-08-23 12:46:49 EDT
Requires an extension interface:

public interface CDOWorkspaceBase2 extends CDOWorkspaceBase
{
  public boolean isEmpty();

  public boolean containsID(CDOID id);
}
Comment 2 Eike Stepper CLA 2011-08-23 12:47:11 EDT
Created attachment 202018 [details]
Patch v1
Comment 3 Eike Stepper CLA 2011-08-23 12:47:45 EDT
Committed revision 8943
Comment 4 Eike Stepper CLA 2012-09-21 07:17:02 EDT
Closing.