blob: cd231398b003c4dfd2b19afa4c80fa9d8382e793 [file] [log] [blame]
/*****************************************************************************
* Copyright (c) 2011 CEA LIST.
*
* 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:
*
* CEA LIST - Initial API and implementation
*
*****************************************************************************/
package org.eclipse.papyrus.gmf.diagram.common.factory;
import org.eclipse.gmf.runtime.diagram.ui.view.factories.ListCompartmentViewFactory;
import org.eclipse.gmf.runtime.notation.Node;
import org.eclipse.gmf.runtime.notation.NotationFactory;
/**
* Default compartment view Factory for custom list compartments.
*/
public class CompartmentListViewFactory extends ListCompartmentViewFactory {
/**
* {@inheritDoc}
*/
@Override
protected Node createNode() {
return NotationFactory.eINSTANCE.createListCompartment();
}
}