blob: f987e1e3132a116943a103a26a32824089daa4dc [file] [log] [blame]
/******************************************************************************
* Copyright (c) 2005 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
****************************************************************************/
package org.eclipse.gmf.examples.runtime.diagram.logic.internal.views.factories;
import java.util.List;
import org.eclipse.gmf.runtime.diagram.ui.view.factories.ResizableCompartmentViewFactory;
import org.eclipse.gmf.runtime.notation.NotationFactory;
import org.eclipse.gmf.runtime.notation.View;
/**
* The LogicShapeCompartmentView Factory class
* @author mmostafa
*/
public class LogicShapeCompartmentViewFactory
extends ResizableCompartmentViewFactory {
/*
* (non-Javadoc)
* @see org.eclipse.gmf.runtime.diagram.ui.view.factories.AbstractViewFactory#createStyles(org.eclipse.gmf.runtime.notation.View)
*/
protected List createStyles(View view) {
List styles = super.createStyles(view);
styles.add(NotationFactory.eINSTANCE
.createCanonicalStyle());
return styles;
}
}