| // ColorProviderAdapter.java |
| package org.eclipse.stem.ui.adapters.color; |
| |
| /******************************************************************************* |
| * Copyright (c) 2006 IBM Corporation 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: |
| * IBM Corporation - initial API and implementation |
| *******************************************************************************/ |
| |
| import org.eclipse.emf.common.notify.impl.AdapterImpl; |
| |
| /** |
| * This is an abstract class that any {@link ColorProvider} adapter should extend. |
| */ |
| public abstract class ColorProviderAdapter |
| extends AdapterImpl |
| implements ColorProvider { |
| |
| /** |
| * @see org.eclipse.emf.common.notify.impl.AdapterImpl#isAdapterForType(java.lang.Object) |
| */ |
| @Override |
| public boolean isAdapterForType(Object type) { |
| return type == ColorProvider.class; |
| } // isAdapterForType |
| |
| } // ColorProviderAdapter |