csalter | d5a99d4 | 2004-11-24 21:13:42 +0000 | [diff] [blame] | 1 | /******************************************************************************* |
| 2 | * Copyright (c) 2001, 2004 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.wst.xsd.ui.internal.graph.model; |
| 12 | |
| 13 | |
| 14 | |
| 15 | public interface ModelAdapter |
| 16 | { |
| 17 | public static final String CHILDREN_PROPERTY = "CHILDREN_PROPERTY"; |
| 18 | public static final String LABEL_PROPERTY = "LABEL_PROPERTY"; |
| 19 | public static final String IMAGE_PROPERTY = "IMAGE_PROPERTY"; |
| 20 | public static final String DETAIL_PROPERTY = "DETAIL_PROPERTY"; |
| 21 | |
| 22 | public void addListener(ModelAdapterListener l); |
| 23 | public void removeListener(ModelAdapterListener l); |
| 24 | public Object getProperty(Object modelObject, String propertyName); |
| 25 | public void firePropertyChanged(Object modelObject, String propertyName); |
| 26 | } |
| 27 | |