Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355537 - Add isDirty() and DirtyStateChangedEvents to CDOWorkspace
Summary: Add isDirty() and DirtyStateChangedEvents to CDOWorkspace
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.core (show other bugs)
Version: 4.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Eike Stepper CLA
QA Contact: Eike Stepper CLA
URL:
Whiteboard: Power to the People
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-23 12:45 EDT by Eike Stepper CLA
Modified: 2012-09-21 07:17 EDT (History)
0 users

See Also:


Attachments
Patch v1 (17.50 KB, patch)
2011-08-23 12:47 EDT, Eike Stepper CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.