Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: ab88a4ae7daef2c5a0178b99f98b238b726afb6c (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
/*******************************************************************************
 * Copyright (c) 2013 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:
 *     Cedric Dumoulin - cedric.dumoulin@lifl.fr
 ******************************************************************************/
package org.eclipse.papyrus.layers.stackmodel.diagram;

import org.eclipse.papyrus.infra.core.services.ServicesRegistry;
import org.eclipse.papyrus.infra.emf.diagram.common.handler.CreateDiagramHandler;

public class CreateLayersTreeDiagramHandler extends CreateDiagramHandler {

	@Override
	protected void addNewDiagram(ServicesRegistry registry) {
		addNewDiagram("Layers Tree Editor", LayersTreeDiagramEditorFactory.EMF_DIAGRAM_TYPE, null, registry);
	}

	public void createDiagram(ServicesRegistry registry) {
		addNewDiagram(registry);
	}
}

Back to the top