-/*******************************************************************************\r
- * Copyright (c) 2013 Association for Decentralized Information Management in\r
- * Industry THTH ry.\r
- * All rights reserved. This program and the accompanying materials\r
- * are made available under the terms of the Eclipse Public License v1.0\r
- * which accompanies this distribution, and is available at\r
- * http://www.eclipse.org/legal/epl-v10.html\r
- *\r
- * Contributors:\r
- * Semantum Oy - initial API and implementation\r
- *******************************************************************************/\r
-package org.simantics.modeling.ui.componentTypeEditor;\r
-\r
-import java.util.Map;\r
-\r
-import org.eclipse.jface.dialogs.IDialogSettings;\r
-import org.eclipse.jface.resource.ImageDescriptor;\r
-import org.eclipse.jface.viewers.StructuredSelection;\r
-import org.eclipse.swt.widgets.Composite;\r
-import org.eclipse.swt.widgets.Control;\r
-import org.eclipse.swt.widgets.Shell;\r
-import org.simantics.db.Resource;\r
-import org.simantics.modeling.ui.Activator;\r
-import org.simantics.ui.workbench.dialogs.ResourceSelectionDialog3;\r
-import org.simantics.utils.datastructures.Pair;\r
-\r
-public class SetTypesDialog extends ResourceSelectionDialog3<Resource> {\r
-\r
- public SetTypesDialog(Shell shell,\r
- Map<Resource, Pair<String, ImageDescriptor>> parameter, String title) {\r
- super(shell, parameter, title);\r
- }\r
-\r
- @Override\r
- protected IDialogSettings getBaseDialogSettings() {\r
- return Activator.getDefault().getDialogSettings();\r
- }\r
-\r
- @Override\r
- protected Control createExtendedContentArea(Composite parent) {\r
- return super.createExtendedContentArea(parent);\r
- }\r
-\r
- @Override\r
- protected void handleSelected(StructuredSelection selection) {\r
- super.handleSelected(selection);\r
- validatePage(); \r
- }\r
-\r
- protected void validatePage() {\r
- }\r
-\r
+/*******************************************************************************
+ * Copyright (c) 2013 Association for Decentralized Information Management in
+ * Industry THTH ry.
+ * 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:
+ * Semantum Oy - initial API and implementation
+ *******************************************************************************/
+package org.simantics.modeling.ui.componentTypeEditor;
+
+import java.util.Map;
+
+import org.eclipse.jface.dialogs.IDialogSettings;
+import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.jface.viewers.StructuredSelection;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Control;
+import org.eclipse.swt.widgets.Shell;
+import org.simantics.db.Resource;
+import org.simantics.modeling.ui.Activator;
+import org.simantics.ui.workbench.dialogs.ResourceSelectionDialog3;
+import org.simantics.utils.datastructures.Pair;
+
+public class SetTypesDialog extends ResourceSelectionDialog3<Resource> {
+
+ public SetTypesDialog(Shell shell,
+ Map<Resource, Pair<String, ImageDescriptor>> parameter, String title) {
+ super(shell, parameter, title);
+ }
+
+ @Override
+ protected IDialogSettings getBaseDialogSettings() {
+ return Activator.getDefault().getDialogSettings();
+ }
+
+ @Override
+ protected Control createExtendedContentArea(Composite parent) {
+ return super.createExtendedContentArea(parent);
+ }
+
+ @Override
+ protected void handleSelected(StructuredSelection selection) {
+ super.handleSelected(selection);
+ validatePage();
+ }
+
+ protected void validatePage() {
+ }
+
}
\ No newline at end of file