Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2012-07-19 04:22:04 -0400
committerEike Stepper2012-07-19 04:22:04 -0400
commit1460904fd3c193ffaf809913b2983a400fce9d94 (patch)
tree72f3a17b75fedba3ae1060df1d32c9c7889be954 /plugins/org.eclipse.emf.cdo.releng.winexplorer
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.releng.winexplorer')
-rw-r--r--plugins/org.eclipse.emf.cdo.releng.winexplorer/.classpath14
-rw-r--r--plugins/org.eclipse.emf.cdo.releng.winexplorer/.project56
-rw-r--r--plugins/org.eclipse.emf.cdo.releng.winexplorer/.settings/org.eclipse.core.resources.prefs6
-rw-r--r--plugins/org.eclipse.emf.cdo.releng.winexplorer/about.properties62
-rw-r--r--plugins/org.eclipse.emf.cdo.releng.winexplorer/copyright.txt14
-rw-r--r--plugins/org.eclipse.emf.cdo.releng.winexplorer/plugin.properties22
-rw-r--r--plugins/org.eclipse.emf.cdo.releng.winexplorer/plugin.xml90
-rw-r--r--plugins/org.eclipse.emf.cdo.releng.winexplorer/src/org/eclipse/emf/cdo/releng/winexplorer/AbstractContainerAction.java134
-rw-r--r--plugins/org.eclipse.emf.cdo.releng.winexplorer/src/org/eclipse/emf/cdo/releng/winexplorer/Activator.java108
-rw-r--r--plugins/org.eclipse.emf.cdo.releng.winexplorer/src/org/eclipse/emf/cdo/releng/winexplorer/ExplorerAction.java64
-rw-r--r--plugins/org.eclipse.emf.cdo.releng.winexplorer/src/org/eclipse/emf/cdo/releng/winexplorer/PromptAction.java64
11 files changed, 317 insertions, 317 deletions
diff --git a/plugins/org.eclipse.emf.cdo.releng.winexplorer/.classpath b/plugins/org.eclipse.emf.cdo.releng.winexplorer/.classpath
index 2d1a4302f0..64c5e31b7a 100644
--- a/plugins/org.eclipse.emf.cdo.releng.winexplorer/.classpath
+++ b/plugins/org.eclipse.emf.cdo.releng.winexplorer/.classpath
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/plugins/org.eclipse.emf.cdo.releng.winexplorer/.project b/plugins/org.eclipse.emf.cdo.releng.winexplorer/.project
index 19d498289a..ece32abc29 100644
--- a/plugins/org.eclipse.emf.cdo.releng.winexplorer/.project
+++ b/plugins/org.eclipse.emf.cdo.releng.winexplorer/.project
@@ -1,28 +1,28 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.emf.cdo.releng.winexplorer</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.emf.cdo.releng.winexplorer</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
diff --git a/plugins/org.eclipse.emf.cdo.releng.winexplorer/.settings/org.eclipse.core.resources.prefs b/plugins/org.eclipse.emf.cdo.releng.winexplorer/.settings/org.eclipse.core.resources.prefs
index 93c8fd514e..b02ec790ac 100644
--- a/plugins/org.eclipse.emf.cdo.releng.winexplorer/.settings/org.eclipse.core.resources.prefs
+++ b/plugins/org.eclipse.emf.cdo.releng.winexplorer/.settings/org.eclipse.core.resources.prefs
@@ -1,3 +1,3 @@
-#Mon Jul 11 16:02:45 CEST 2011
-eclipse.preferences.version=1
-encoding//model/org.eclipse.emf.cdo.defs.ecorediag=UTF-8
+#Mon Jul 11 16:02:45 CEST 2011
+eclipse.preferences.version=1
+encoding//model/org.eclipse.emf.cdo.defs.ecorediag=UTF-8
diff --git a/plugins/org.eclipse.emf.cdo.releng.winexplorer/about.properties b/plugins/org.eclipse.emf.cdo.releng.winexplorer/about.properties
index 9e74fb3bbf..04a74215e2 100644
--- a/plugins/org.eclipse.emf.cdo.releng.winexplorer/about.properties
+++ b/plugins/org.eclipse.emf.cdo.releng.winexplorer/about.properties
@@ -1,31 +1,31 @@
-# 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:
-# Eike Stepper - initial API and implementation
-
-# NLS_MESSAGEFORMAT_VAR
-
-# ==============================================================================
-# Do not change the properties between this line and the last line containing:
-# %%% END OF TRANSLATED PROPERTIES %%%
-# Instead, either redefine an existing property, or create a new property,
-# append it to the end of the file, and change the code to use the new name.
-# ==============================================================================
-
-featureName = CDO Release Engineering Windows Explorer
-featureText = CDO Release Engineering Windows Explorer\n\
-Version: {featureVersion}\n\
-Build id: {0}\n\
-\n\
-Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others. All rights reserved.\n\
-\n\
-Visit http://www.eclipse.org/cdo
-
-# ==============================================================================
-# %%% END OF TRANSLATED PROPERTIES %%%
-# The above properties have been shipped for translation.
-# ==============================================================================
+# 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:
+# Eike Stepper - initial API and implementation
+
+# NLS_MESSAGEFORMAT_VAR
+
+# ==============================================================================
+# Do not change the properties between this line and the last line containing:
+# %%% END OF TRANSLATED PROPERTIES %%%
+# Instead, either redefine an existing property, or create a new property,
+# append it to the end of the file, and change the code to use the new name.
+# ==============================================================================
+
+featureName = CDO Release Engineering Windows Explorer
+featureText = CDO Release Engineering Windows Explorer\n\
+Version: {featureVersion}\n\
+Build id: {0}\n\
+\n\
+Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others. All rights reserved.\n\
+\n\
+Visit http://www.eclipse.org/cdo
+
+# ==============================================================================
+# %%% END OF TRANSLATED PROPERTIES %%%
+# The above properties have been shipped for translation.
+# ==============================================================================
diff --git a/plugins/org.eclipse.emf.cdo.releng.winexplorer/copyright.txt b/plugins/org.eclipse.emf.cdo.releng.winexplorer/copyright.txt
index 8f6328980e..0a0f67e6d7 100644
--- a/plugins/org.eclipse.emf.cdo.releng.winexplorer/copyright.txt
+++ b/plugins/org.eclipse.emf.cdo.releng.winexplorer/copyright.txt
@@ -1,8 +1,8 @@
-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:
+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:
Eike Stepper - initial API and implementation \ No newline at end of file
diff --git a/plugins/org.eclipse.emf.cdo.releng.winexplorer/plugin.properties b/plugins/org.eclipse.emf.cdo.releng.winexplorer/plugin.properties
index f13eca5b97..a08bc7ec02 100644
--- a/plugins/org.eclipse.emf.cdo.releng.winexplorer/plugin.properties
+++ b/plugins/org.eclipse.emf.cdo.releng.winexplorer/plugin.properties
@@ -1,11 +1,11 @@
-# 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:
-# Eike Stepper - initial API and implementation
-
-pluginName = CDO Release Engineering Windows Explorer
-providerName = Eclipse Modeling Project
+# 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:
+# Eike Stepper - initial API and implementation
+
+pluginName = CDO Release Engineering Windows Explorer
+providerName = Eclipse Modeling Project
diff --git a/plugins/org.eclipse.emf.cdo.releng.winexplorer/plugin.xml b/plugins/org.eclipse.emf.cdo.releng.winexplorer/plugin.xml
index 4d5324ebdd..98c353757b 100644
--- a/plugins/org.eclipse.emf.cdo.releng.winexplorer/plugin.xml
+++ b/plugins/org.eclipse.emf.cdo.releng.winexplorer/plugin.xml
@@ -1,45 +1,45 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.4"?>
-<!--
- 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:
- Eike Stepper - initial API and implementation
--->
-
-<plugin>
-
- <extension
- point="org.eclipse.ui.popupMenus">
- <objectContribution
- adaptable="true"
- id="org.eclipse.emf.cdo.releng.winexplorer.contribution"
- objectClass="org.eclipse.core.resources.IResource">
- <action
- class="org.eclipse.emf.cdo.releng.winexplorer.PromptAction"
- enablesFor="1"
- icon="prompt.gif"
- id="org.eclipse.emf.cdo.releng.PromptAction"
- label="Command Prompt"
- menubarPath="additions"
- state="true"
- style="push"
- tooltip="Open Command Prompt"/>
- <action
- class="org.eclipse.emf.cdo.releng.winexplorer.ExplorerAction"
- enablesFor="1"
- icon="explorer.gif"
- id="org.eclipse.emf.cdo.releng.ExplorerAction"
- label="Windows Explorer"
- menubarPath="additions"
- state="true"
- style="push"
- tooltip="Open Windows Explorer"/>
- </objectContribution>
- </extension>
-
-</plugin>
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<!--
+ 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:
+ Eike Stepper - initial API and implementation
+-->
+
+<plugin>
+
+ <extension
+ point="org.eclipse.ui.popupMenus">
+ <objectContribution
+ adaptable="true"
+ id="org.eclipse.emf.cdo.releng.winexplorer.contribution"
+ objectClass="org.eclipse.core.resources.IResource">
+ <action
+ class="org.eclipse.emf.cdo.releng.winexplorer.PromptAction"
+ enablesFor="1"
+ icon="prompt.gif"
+ id="org.eclipse.emf.cdo.releng.PromptAction"
+ label="Command Prompt"
+ menubarPath="additions"
+ state="true"
+ style="push"
+ tooltip="Open Command Prompt"/>
+ <action
+ class="org.eclipse.emf.cdo.releng.winexplorer.ExplorerAction"
+ enablesFor="1"
+ icon="explorer.gif"
+ id="org.eclipse.emf.cdo.releng.ExplorerAction"
+ label="Windows Explorer"
+ menubarPath="additions"
+ state="true"
+ style="push"
+ tooltip="Open Windows Explorer"/>
+ </objectContribution>
+ </extension>
+
+</plugin>
diff --git a/plugins/org.eclipse.emf.cdo.releng.winexplorer/src/org/eclipse/emf/cdo/releng/winexplorer/AbstractContainerAction.java b/plugins/org.eclipse.emf.cdo.releng.winexplorer/src/org/eclipse/emf/cdo/releng/winexplorer/AbstractContainerAction.java
index e3f20c297f..443a6eda08 100644
--- a/plugins/org.eclipse.emf.cdo.releng.winexplorer/src/org/eclipse/emf/cdo/releng/winexplorer/AbstractContainerAction.java
+++ b/plugins/org.eclipse.emf.cdo.releng.winexplorer/src/org/eclipse/emf/cdo/releng/winexplorer/AbstractContainerAction.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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.releng.winexplorer;
-
-import org.eclipse.core.resources.IContainer;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.jface.action.IAction;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.ui.IObjectActionDelegate;
-import org.eclipse.ui.IWorkbenchPart;
-
-/**
- * @author Eike Stepper
- */
-public abstract class AbstractContainerAction implements IObjectActionDelegate
-{
- private IContainer container;
-
- public AbstractContainerAction()
- {
- }
-
- public void setActivePart(IAction action, IWorkbenchPart targetPart)
- {
- }
-
- public void selectionChanged(IAction action, ISelection selection)
- {
- container = null;
- if (selection instanceof IStructuredSelection)
- {
- IStructuredSelection ssel = (IStructuredSelection)selection;
- Object element = ssel.getFirstElement();
- if (element instanceof IFile)
- {
- container = ((IFile)element).getParent();
- }
- else if (element instanceof IContainer)
- {
- container = (IContainer)element;
- }
- }
- }
-
- public void run(IAction action)
- {
- try
- {
- run(container);
- }
- catch (Exception ex)
- {
- ex.printStackTrace();
- }
- }
-
- protected abstract void run(IContainer container) throws Exception;
-}
+/*
+ * 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:
+ * Eike Stepper - initial API and implementation
+ */
+package org.eclipse.emf.cdo.releng.winexplorer;
+
+import org.eclipse.core.resources.IContainer;
+import org.eclipse.core.resources.IFile;
+import org.eclipse.jface.action.IAction;
+import org.eclipse.jface.viewers.ISelection;
+import org.eclipse.jface.viewers.IStructuredSelection;
+import org.eclipse.ui.IObjectActionDelegate;
+import org.eclipse.ui.IWorkbenchPart;
+
+/**
+ * @author Eike Stepper
+ */
+public abstract class AbstractContainerAction implements IObjectActionDelegate
+{
+ private IContainer container;
+
+ public AbstractContainerAction()
+ {
+ }
+
+ public void setActivePart(IAction action, IWorkbenchPart targetPart)
+ {
+ }
+
+ public void selectionChanged(IAction action, ISelection selection)
+ {
+ container = null;
+ if (selection instanceof IStructuredSelection)
+ {
+ IStructuredSelection ssel = (IStructuredSelection)selection;
+ Object element = ssel.getFirstElement();
+ if (element instanceof IFile)
+ {
+ container = ((IFile)element).getParent();
+ }
+ else if (element instanceof IContainer)
+ {
+ container = (IContainer)element;
+ }
+ }
+ }
+
+ public void run(IAction action)
+ {
+ try
+ {
+ run(container);
+ }
+ catch (Exception ex)
+ {
+ ex.printStackTrace();
+ }
+ }
+
+ protected abstract void run(IContainer container) throws Exception;
+}
diff --git a/plugins/org.eclipse.emf.cdo.releng.winexplorer/src/org/eclipse/emf/cdo/releng/winexplorer/Activator.java b/plugins/org.eclipse.emf.cdo.releng.winexplorer/src/org/eclipse/emf/cdo/releng/winexplorer/Activator.java
index 6a9ff10125..6538b985a4 100644
--- a/plugins/org.eclipse.emf.cdo.releng.winexplorer/src/org/eclipse/emf/cdo/releng/winexplorer/Activator.java
+++ b/plugins/org.eclipse.emf.cdo.releng.winexplorer/src/org/eclipse/emf/cdo/releng/winexplorer/Activator.java
@@ -1,54 +1,54 @@
-/*
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.releng.winexplorer;
-
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-
-import org.osgi.framework.BundleContext;
-
-/**
- * @author Eike Stepper
- */
-public class Activator extends AbstractUIPlugin
-{
- public static final String PLUGIN_ID = "org.eclipse.emf.cdo.releng.winexplorer";
-
- private static Activator plugin;
-
- public Activator()
- {
- }
-
- @Override
- public void start(BundleContext context) throws Exception
- {
- super.start(context);
- plugin = this;
- }
-
- @Override
- public void stop(BundleContext context) throws Exception
- {
- plugin = null;
- super.stop(context);
- }
-
- public static Activator getDefault()
- {
- return plugin;
- }
-
- public static ImageDescriptor getImageDescriptor(String path)
- {
- return imageDescriptorFromPlugin(PLUGIN_ID, path);
- }
-}
+/*
+ * 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:
+ * Eike Stepper - initial API and implementation
+ */
+package org.eclipse.emf.cdo.releng.winexplorer;
+
+import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+
+import org.osgi.framework.BundleContext;
+
+/**
+ * @author Eike Stepper
+ */
+public class Activator extends AbstractUIPlugin
+{
+ public static final String PLUGIN_ID = "org.eclipse.emf.cdo.releng.winexplorer";
+
+ private static Activator plugin;
+
+ public Activator()
+ {
+ }
+
+ @Override
+ public void start(BundleContext context) throws Exception
+ {
+ super.start(context);
+ plugin = this;
+ }
+
+ @Override
+ public void stop(BundleContext context) throws Exception
+ {
+ plugin = null;
+ super.stop(context);
+ }
+
+ public static Activator getDefault()
+ {
+ return plugin;
+ }
+
+ public static ImageDescriptor getImageDescriptor(String path)
+ {
+ return imageDescriptorFromPlugin(PLUGIN_ID, path);
+ }
+}
diff --git a/plugins/org.eclipse.emf.cdo.releng.winexplorer/src/org/eclipse/emf/cdo/releng/winexplorer/ExplorerAction.java b/plugins/org.eclipse.emf.cdo.releng.winexplorer/src/org/eclipse/emf/cdo/releng/winexplorer/ExplorerAction.java
index 9d15c09779..6160afbef9 100644
--- a/plugins/org.eclipse.emf.cdo.releng.winexplorer/src/org/eclipse/emf/cdo/releng/winexplorer/ExplorerAction.java
+++ b/plugins/org.eclipse.emf.cdo.releng.winexplorer/src/org/eclipse/emf/cdo/releng/winexplorer/ExplorerAction.java
@@ -1,32 +1,32 @@
-/*
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.releng.winexplorer;
-
-import org.eclipse.core.resources.IContainer;
-
-import java.io.File;
-
-/**
- * @author Eike Stepper
- */
-public class ExplorerAction extends AbstractContainerAction
-{
- public ExplorerAction()
- {
- }
-
- @Override
- protected void run(IContainer container) throws Exception
- {
- String location = container.getLocation().toString().replace('/', File.separatorChar);
- Runtime.getRuntime().exec("explorer.exe \"" + location + "\"");
- }
-}
+/*
+ * 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:
+ * Eike Stepper - initial API and implementation
+ */
+package org.eclipse.emf.cdo.releng.winexplorer;
+
+import org.eclipse.core.resources.IContainer;
+
+import java.io.File;
+
+/**
+ * @author Eike Stepper
+ */
+public class ExplorerAction extends AbstractContainerAction
+{
+ public ExplorerAction()
+ {
+ }
+
+ @Override
+ protected void run(IContainer container) throws Exception
+ {
+ String location = container.getLocation().toString().replace('/', File.separatorChar);
+ Runtime.getRuntime().exec("explorer.exe \"" + location + "\"");
+ }
+}
diff --git a/plugins/org.eclipse.emf.cdo.releng.winexplorer/src/org/eclipse/emf/cdo/releng/winexplorer/PromptAction.java b/plugins/org.eclipse.emf.cdo.releng.winexplorer/src/org/eclipse/emf/cdo/releng/winexplorer/PromptAction.java
index d7ec07bc04..46d7583bc6 100644
--- a/plugins/org.eclipse.emf.cdo.releng.winexplorer/src/org/eclipse/emf/cdo/releng/winexplorer/PromptAction.java
+++ b/plugins/org.eclipse.emf.cdo.releng.winexplorer/src/org/eclipse/emf/cdo/releng/winexplorer/PromptAction.java
@@ -1,32 +1,32 @@
-/*
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.releng.winexplorer;
-
-import org.eclipse.core.resources.IContainer;
-
-import java.io.File;
-
-/**
- * @author Eike Stepper
- */
-public class PromptAction extends AbstractContainerAction
-{
- public PromptAction()
- {
- }
-
- @Override
- protected void run(IContainer container) throws Exception
- {
- String location = container.getLocation().toString().replace('/', File.separatorChar);
- Runtime.getRuntime().exec("cmd /c cd \"" + location + "\" && start cmd.exe");
- }
-}
+/*
+ * 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:
+ * Eike Stepper - initial API and implementation
+ */
+package org.eclipse.emf.cdo.releng.winexplorer;
+
+import org.eclipse.core.resources.IContainer;
+
+import java.io.File;
+
+/**
+ * @author Eike Stepper
+ */
+public class PromptAction extends AbstractContainerAction
+{
+ public PromptAction()
+ {
+ }
+
+ @Override
+ protected void run(IContainer container) throws Exception
+ {
+ String location = container.getLocation().toString().replace('/', File.separatorChar);
+ Runtime.getRuntime().exec("cmd /c cd \"" + location + "\" && start cmd.exe");
+ }
+}

Back to the top