blob: ff210bb6dd34217818294834c45bd1c6995309d4 (
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
|
/*******************************************************************************
* 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:
* Nicolas Bros (Mia-Software) - Bug 342548 - [Java Discovery] Illegal parameter initializer for ELEMENTS_TO_ANALYZE
*******************************************************************************/
package org.eclipse.papyrus.emf.facet.widgets.celleditors.internal.core.composite.factories;
import org.eclipse.core.resources.IProject;
import org.eclipse.papyrus.emf.facet.widgets.celleditors.AbstractCellEditorComposite;
import org.eclipse.papyrus.emf.facet.widgets.celleditors.ICompositeEditorFactory;
import org.eclipse.papyrus.emf.facet.widgets.celleditors.internal.core.composite.CoreIProjectComposite;
import org.eclipse.swt.widgets.Composite;
public class CoreIProjectCompositeFactory implements ICompositeEditorFactory<IProject> {
public Class<IProject> getHandledType() {
return IProject.class;
}
public AbstractCellEditorComposite<IProject> createCompositeEditor(final Composite parent, final int style) {
return new CoreIProjectComposite(parent, style);
}
}
|