blob: c92d5995e5779c6d992c95aadc0061c2596732b5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
/*
* Copyright (c) 2010-2012, 2015 Eike Stepper (Berlin, Germany) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Martin Fluegge - initial API and implementation
*/
package org.eclipse.emf.cdo.dawn.notifications;
import org.eclipse.emf.cdo.transaction.CDOTransactionConflictEvent;
import org.eclipse.emf.cdo.view.CDOViewInvalidationEvent;
import org.eclipse.emf.cdo.view.CDOViewLocksChangedEvent;
import org.eclipse.net4j.util.event.IEvent;
import org.eclipse.net4j.util.event.IListener;
/**
* @author Martin Fluegge
* @since 1.0
*/
public interface IDawnListener extends IListener
{
/**
* allows to react an view invalidations
*/
public void handleViewInvalidationEvent(CDOViewInvalidationEvent event);
/**
* Allows to react on conflicts
*/
public void handleTransactionConflictEvent(CDOTransactionConflictEvent event);
/**
* Allows the user to react on lock change notifications:
*
* @since 2.0
*/
public void handleLocksChangedEvent(CDOViewLocksChangedEvent event);
/**
* This method typically will be called for unprocessed events.
*
* @since 2.0
*/
public void handleEvent(IEvent event);
}
|