Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2012-07-19 08:22:04 +0000
committerEike Stepper2012-07-19 08:22:04 +0000
commit1460904fd3c193ffaf809913b2983a400fce9d94 (patch)
tree72f3a17b75fedba3ae1060df1d32c9c7889be954 /plugins/org.eclipse.emf.cdo.dawn.graphiti/src/org/eclipse/emf/cdo/dawn/graphiti/editors/DawnGraphitiEditorInput.java
parent5f360965ae87478e0681899bf310a210cafc2c44 (diff)
downloadcdo-1460904fd3c193ffaf809913b2983a400fce9d94.tar.gz
cdo-1460904fd3c193ffaf809913b2983a400fce9d94.tar.xz
cdo-1460904fd3c193ffaf809913b2983a400fce9d94.zip
Fix line endings in master (dos2unix)
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.dawn.graphiti/src/org/eclipse/emf/cdo/dawn/graphiti/editors/DawnGraphitiEditorInput.java')
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.graphiti/src/org/eclipse/emf/cdo/dawn/graphiti/editors/DawnGraphitiEditorInput.java134
1 files changed, 67 insertions, 67 deletions
diff --git a/plugins/org.eclipse.emf.cdo.dawn.graphiti/src/org/eclipse/emf/cdo/dawn/graphiti/editors/DawnGraphitiEditorInput.java b/plugins/org.eclipse.emf.cdo.dawn.graphiti/src/org/eclipse/emf/cdo/dawn/graphiti/editors/DawnGraphitiEditorInput.java
index a68b0a682f..09c50bc7c6 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.graphiti/src/org/eclipse/emf/cdo/dawn/graphiti/editors/DawnGraphitiEditorInput.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.graphiti/src/org/eclipse/emf/cdo/dawn/graphiti/editors/DawnGraphitiEditorInput.java
@@ -1,67 +1,67 @@
-/*
- * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) 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:
- * Martin Fluegge - initial API and implementation
- */
-package org.eclipse.emf.cdo.dawn.graphiti.editors;
-
-import org.eclipse.emf.cdo.dawn.ui.DawnEditorInput;
-import org.eclipse.emf.cdo.dawn.ui.IDawnEditorInput;
-import org.eclipse.emf.cdo.eresource.CDOResource;
-import org.eclipse.emf.cdo.view.CDOView;
-
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.resource.Resource;
-
-import org.eclipse.graphiti.ui.editor.DiagramEditorInput;
-
-/**
- * @author Martin Fluegge
- */
-public class DawnGraphitiEditorInput extends DiagramEditorInput implements IDawnEditorInput
-{
- private DawnEditorInput input;
-
- public DawnGraphitiEditorInput(URI uri, String providerId)
- {
- super(uri, providerId);
- input = new DawnEditorInput(uri);
- }
-
- public DawnGraphitiEditorInput(URI uri, String providerId, Resource resource)
- {
- this(uri, providerId);
- input.setResource((CDOResource)resource);
- }
-
- public CDOView getView()
- {
- return input.getView();
- }
-
- public boolean isViewOwned()
- {
- return input.isViewOwned();
- }
-
- public String getResourcePath()
- {
- return input.getResourcePath();
- }
-
- /**
- * This id is needed to provide the correct IElementFactory to the framework and allow to create a
- * DawnGraphitiEditorInput from the persisted state on restoring an editor. See extension point
- * org.eclipse.ui.elementFactories.
- */
- @Override
- public String getFactoryId()
- {
- return DawnGraphitiDiagramEditorInputFactory.class.getName();
- }
-}
+/*
+ * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) 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:
+ * Martin Fluegge - initial API and implementation
+ */
+package org.eclipse.emf.cdo.dawn.graphiti.editors;
+
+import org.eclipse.emf.cdo.dawn.ui.DawnEditorInput;
+import org.eclipse.emf.cdo.dawn.ui.IDawnEditorInput;
+import org.eclipse.emf.cdo.eresource.CDOResource;
+import org.eclipse.emf.cdo.view.CDOView;
+
+import org.eclipse.emf.common.util.URI;
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.graphiti.ui.editor.DiagramEditorInput;
+
+/**
+ * @author Martin Fluegge
+ */
+public class DawnGraphitiEditorInput extends DiagramEditorInput implements IDawnEditorInput
+{
+ private DawnEditorInput input;
+
+ public DawnGraphitiEditorInput(URI uri, String providerId)
+ {
+ super(uri, providerId);
+ input = new DawnEditorInput(uri);
+ }
+
+ public DawnGraphitiEditorInput(URI uri, String providerId, Resource resource)
+ {
+ this(uri, providerId);
+ input.setResource((CDOResource)resource);
+ }
+
+ public CDOView getView()
+ {
+ return input.getView();
+ }
+
+ public boolean isViewOwned()
+ {
+ return input.isViewOwned();
+ }
+
+ public String getResourcePath()
+ {
+ return input.getResourcePath();
+ }
+
+ /**
+ * This id is needed to provide the correct IElementFactory to the framework and allow to create a
+ * DawnGraphitiEditorInput from the persisted state on restoring an editor. See extension point
+ * org.eclipse.ui.elementFactories.
+ */
+ @Override
+ public String getFactoryId()
+ {
+ return DawnGraphitiDiagramEditorInputFactory.class.getName();
+ }
+}

Back to the top