/** * Copyright (c) 2011 committers of YAKINDU 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: * committers of YAKINDU - initial API and implementation * */ package org.yakindu.sct.ui.editor.factories; import org.eclipse.core.runtime.IAdaptable; import org.eclipse.gmf.runtime.diagram.ui.view.factories.AbstractShapeViewFactory; import org.eclipse.gmf.runtime.notation.View; import org.yakindu.sct.ui.editor.providers.SemanticHints; /** * * @author andreas muelder - Initial contribution and API * */ public class BorderItemLabelViewFactory extends AbstractShapeViewFactory { @Override protected void decorateView(View containerView, View view, IAdaptable semanticAdapter, String semanticHint, int index, boolean persisted) { super.decorateView(containerView, view, semanticAdapter, semanticHint, index, persisted); FactoryUtils.createLabel(view, SemanticHints.BORDER_ITEM_LABEL); } }