KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > emf > edit > provider > IViewerNotification


1 /**
2  * <copyright>
3  *
4  * Copyright (c) 2004 IBM Corporation and others.
5  * All rights reserved. This program and the accompanying materials
6  * are made available under the terms of the Eclipse Public License v1.0
7  * which accompanies this distribution, and is available at
8  * http://www.eclipse.org/legal/epl-v10.html
9  *
10  * Contributors:
11  * IBM - Initial API and implementation
12  *
13  * </copyright>
14  *
15  * $Id: IViewerNotification.java,v 1.2 2005/06/08 06:17:05 nickb Exp $
16  */

17 package org.eclipse.emf.edit.provider;
18
19
20 import org.eclipse.emf.common.notify.Notification;
21
22
23 /**
24  * A description of viewer changes required by an EMF notification. The EMF change is described through the base
25  * <code>Notification</code> interface.
26  */

27 public interface IViewerNotification extends Notification
28 {
29   /**
30    * The element to update or from which to refresh. The whole viewer is indicated by the null value.
31    */

32   Object JavaDoc getElement();
33
34   /**
35    * Whether the content under the element should be structurally refreshed.
36    */

37   boolean isContentRefresh();
38
39   /**
40    * Whether the label and icon for the element should be updated.
41    */

42   boolean isLabelUpdate();
43 }
44
Popular Tags