01: /*******************************************************************************
02: * Copyright (c) 2007 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: * Tom Schindl <tom.schindl@bestsolution.at> - initial API and implementation
11: * fixes in bug: 178946
12: ******************************************************************************/package org.eclipse.jface.viewers;
13:
14: import java.util.EventObject;
15:
16: /**
17: * This event is fired when an editor deactivated
18: *
19: * @since 3.3
20: *
21: */
22: public class ColumnViewerEditorDeactivationEvent extends EventObject {
23:
24: /**
25: *
26: */
27: private static final long serialVersionUID = 1L;
28:
29: /**
30: * The event type
31: */
32: public int eventType;
33:
34: /**
35: * Event when editor is canceled
36: */
37: public static final int EDITOR_CANCELED = 1;
38:
39: /**
40: * Event when editor is saved
41: */
42: public static final int EDITOR_SAVED = 2;
43:
44: /**
45: * @param source
46: */
47: public ColumnViewerEditorDeactivationEvent(Object source) {
48: super(source);
49: }
50: }
|