blob: 3c4574013a567ce9ae1ae8f128235ab8f943d7da (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/*******************************************************************************
* Copyright (c) 2011 Mia-Software
* 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:
* Emmanuelle Rouillé (Mia-Software) - Bug 352618 - To be able to use non derived facet structural features and save them values.
*******************************************************************************/
package org.eclipse.emf.facet.efacet.core.internal.serialization;
import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notifier;
import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
public class LinkToExtendedEObjectReferenceAdapterFactory extends AdapterFactoryImpl implements ILinkToExtendedEObjectReferenceAdapterFactory {
@Override
public boolean isFactoryForType(final Object type) {
return type == ILinkToExtendedEObjectReference.class;
}
@Override
public Adapter createAdapter(final Notifier target) {
return new LinkToExtendedEObjectReferenceAdapter();
}
}
|