]> gerrit.simantics Code Review - simantics/3d.git/blob - org.simantics.proconf.processeditor/src/org/simantics/processeditor/dialogs/PipelineComponentDialog.java
Set copyright texts for java files in the latest development branches.
[simantics/3d.git] / org.simantics.proconf.processeditor / src / org / simantics / processeditor / dialogs / PipelineComponentDialog.java
1 /*******************************************************************************\r
2  * Copyright (c) 2007- VTT Technical Research Centre of Finland.\r
3  * All rights reserved. This program and the accompanying materials\r
4  * are made available under the terms of the Eclipse Public License v1.0\r
5  * which accompanies this distribution, and is available at\r
6  * http://www.eclipse.org/legal/epl-v10.html\r
7  *\r
8  * Contributors:\r
9  *     VTT Technical Research Centre of Finland - initial API and implementation\r
10  *******************************************************************************/\r
11 package org.simantics.processeditor.dialogs;\r
12 \r
13 import java.util.Collection;\r
14 \r
15 import org.eclipse.swt.widgets.Shell;\r
16 import org.simantics.db.Resource;\r
17 import org.simantics.db.Session;\r
18 import org.simantics.processeditor.ProcessResource;\r
19 \r
20 \r
21 \r
22 \r
23 public class PipelineComponentDialog extends LibraryComponentDialog{\r
24 \r
25  \r
26         public PipelineComponentDialog(Shell parentShell, Collection<Resource> requiredTypes, Collection<Resource> filteredTypes, Session session) {\r
27             super(parentShell,session,ProcessResource.plant3Dresource.PipelineComponent,"Select Component");\r
28             if (requiredTypes != null)\r
29                 setRequired(requiredTypes);\r
30             if (filteredTypes != null)\r
31                 setFilter(filteredTypes);\r
32         }\r
33 \r
34 }\r