Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: a876723927196c8539b588e1bd049f7b2f44970b (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/*****************************************************************************
 * Copyright (c) 2016 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:
 * 
 *  Mauricio Alferez (CEA LIST) mauricio.alferez@cea.fr - Initial API and implementation
 *  
 *****************************************************************************/
package org.eclipse.papyrus.bmm.diagram.ui;

import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.papyrus.bmm.diagram.common.commands.CreateBmmModelCommand;
import org.eclipse.papyrus.uml.diagram.wizards.CreateModelWizard;
import org.eclipse.ui.IWorkbench;

/**
 * Wizard to create a new Business Motivation (BMM) model
 *
 */
public class NewBmmModelWizard extends CreateModelWizard {

	/**
	 * @see org.eclipse.papyrus.wizards.CreateModelWizard#init(org.eclipse.ui.IWorkbench,
	 *      org.eclipse.jface.viewers.IStructuredSelection)
	 *
	 * @param workbench
	 * @param selection
	 */

	@Override
	public void init(IWorkbench workbench, IStructuredSelection selection) {
		super.init(workbench, selection);
		setWindowTitle("New BMM Model");
	}

	/**
	 * Instantiates a new new Proteus model wizard.
	 */
	public NewBmmModelWizard() {
		super();

	}

	@Override
	public String getModelKindName() {
		// TODO Auto-generated method stub

		return "BMM Model";
	}

	@Override
	protected String[] getDiagramCategoryIds() {
		return new String[] { CreateBmmModelCommand.COMMAND_ID };
	}

}

Back to the top