KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > core > commands > common > AbstractBitSetEvent


1 /*******************************************************************************
2  * Copyright (c) 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  ******************************************************************************/

11 package org.eclipse.core.commands.common;
12
13 /**
14  * <p>
15  * An event that carries with it two or more boolean values. This provides a
16  * single integer value which can then be used as a bit set.
17  * </p>
18  *
19  * @since 3.1
20  */

21 public abstract class AbstractBitSetEvent {
22
23     /**
24      * A collection of bits representing whether certain values have changed. A
25      * bit is set (i.e., <code>1</code>) if the corresponding property has
26      * changed. It can be assumed that this value will be correctly initialized
27      * by the superconstructor.
28      */

29     protected int changedValues = 0;
30 }
31
Popular Tags