geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r1203020 [10/29] - in /geronimo/devtools/eclipse-plugin/branches/3.0-beta-1: eclipse/ plugins/org.apache.geronimo.j2ee.v11.jaxbmodel/ plugins/org.apache.geronimo.j2ee.v11.jaxbmodel/src/test/resources/application/ plugins/org.apache.geronimo...
Date Thu, 17 Nov 2011 02:19:27 GMT
Modified: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/GeronimoProjectRenameParticipant.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/GeronimoProjectRenameParticipant.java?rev=1203020&r1=1203019&r2=1203020&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/GeronimoProjectRenameParticipant.java (original)
+++ geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/GeronimoProjectRenameParticipant.java Thu Nov 17 02:19:12 2011
@@ -1,170 +1,170 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing, software
- *  distributed under the License is distributed on an "AS IS" BASIS,
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  See the License for the specific language governing permissions and
- *  limitations under the License.
- */
-package org.apache.geronimo.st.ui.refactoring;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IWorkspaceRoot;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.OperationCanceledException;
-import org.eclipse.jst.j2ee.project.JavaEEProjectUtilities;
-import org.eclipse.ltk.core.refactoring.Change;
-import org.eclipse.ltk.core.refactoring.CompositeChange;
-import org.eclipse.ltk.core.refactoring.RefactoringStatus;
-import org.eclipse.ltk.core.refactoring.participants.CheckConditionsContext;
-import org.eclipse.ltk.core.refactoring.participants.RenameParticipant;
-import org.eclipse.text.edits.MultiTextEdit;
-import org.eclipse.text.edits.ReplaceEdit;
-import org.eclipse.wst.common.componentcore.ComponentCore;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-
-public class GeronimoProjectRenameParticipant extends RenameParticipant {
-	protected IProject project;
-	protected IFile deploymentPlanFile;
-	protected String deploymentPlanName;
-
-	public RefactoringStatus checkConditions(IProgressMonitor pm,
-			CheckConditionsContext context) throws OperationCanceledException {
-		return new RefactoringStatus();
-	}
-
-	protected boolean initialize(Object element) {
-		// if not a project, then stop this refactoring
-		if (!(element instanceof IProject)) {
-			return false;
-		}
-
-		project = (IProject) element;
-
-		// if not a javaee object, then stop this refactoring
-		if (JavaEEProjectUtilities.isDynamicWebProject(project)) {
-			deploymentPlanName = "WEB-INF/geronimo-web.xml";
-		} else if (JavaEEProjectUtilities.isEJBProject(project)) {
-			deploymentPlanName = "META-INF/openejb-jar.xml";
-		} else if (JavaEEProjectUtilities.isJCAProject(project)) {
-			deploymentPlanName = "META-INF/geronimo-ra.xml";
-		} else if (JavaEEProjectUtilities.isEARProject(project)) {
-			deploymentPlanName = "META-INF/geronimo-application.xml";
-		} else {
-			return false;
-		}
-
-		// sure that project is DynamicWebProject
-		deploymentPlanFile = getDeploymentPlanFile(project);
-
-		// if no deployment plan file, then stop this refactoring
-		if (deploymentPlanFile == null) {
-			return false;
-		}
-
-		return true;
-	}
-
-	public Change createChange(IProgressMonitor pm) throws CoreException,
-			OperationCanceledException {
-		CompositeChange result = new CompositeChange(getName());
-		try {
-			pm
-					.beginTask(
-							"beging create change for context-root and artifactId",
-							100);
-			String oldName = project.getName();
-			String underProjectFilePath = getDeploymentPlanFileUnderProjectPath(project);
-			String projectRelativeFilePath = deploymentPlanFile.getFullPath()
-					.toString();
-			String absoluteWorkspacePath = project.getParent().getLocation()
-					.toString();
-			String absoluteFilePath = absoluteWorkspacePath
-					+ projectRelativeFilePath;
-
-			DeploymentPlanEditHelper editHelper = new DeploymentPlanEditHelper(
-					new DeploymentPlanHandler(absoluteFilePath));
-
-			// Before this change being applied, the project has been
-			// renamed. So, use a MovedTextFileChange instead of TextFileChange
-			String newName = this.getArguments().getNewName();
-			IProject newProject = ((IWorkspaceRoot) deploymentPlanFile
-					.getProject().getParent()).getProject(newName);
-			IFile newFile = newProject.getFile(underProjectFilePath);
-
-			// if a web project, should create a context-root change if any
-			if (JavaEEProjectUtilities.isDynamicWebProject(project)) {
-				// create change for context-root
-				String oldName1 = editHelper
-						.getNodeValue(DeploymentPlanTextNode.CONTEXT_ROOT);
-				int offset1 = editHelper
-						.getNodeOffset(DeploymentPlanTextNode.CONTEXT_ROOT);
-				if (offset1 != -1 && oldName1 != null
-						&& oldName1.substring(1).equals(oldName)) {
-					MovedTextFileChange change1 = new MovedTextFileChange(
-							"Rename artifactId's value", newFile,
-							deploymentPlanFile);
-					MultiTextEdit rootEdit1 = new MultiTextEdit();
-					ReplaceEdit edit1 = new ReplaceEdit(offset1, oldName1
-							.length(), "/" + newName);
-					rootEdit1.addChild(edit1);
-					change1.setEdit(rootEdit1);
-					result.add(change1);
-				}
-			}
-
-			// create change for artifactId
-			String oldName2 = editHelper
-					.getNodeValue(DeploymentPlanTextNode.ARTIFACT_ID);
-			int offset2 = editHelper
-					.getNodeOffset(DeploymentPlanTextNode.ARTIFACT_ID);
-			if (offset2 != -1 && oldName2 != null && oldName2.equals(oldName)) {
-				MovedTextFileChange change2 = new MovedTextFileChange(
-						"Rename context-root's value", newFile,
-						deploymentPlanFile);
-				MultiTextEdit rootEdit2 = new MultiTextEdit();
-				ReplaceEdit edit2 = new ReplaceEdit(offset2, oldName2.length(),
-						newName);
-				rootEdit2.addChild(edit2);
-				change2.setEdit(rootEdit2);
-				result.add(change2);
-			}
-
-		} finally {
-			pm.done();
-		}
-		if (result.getChildren().length == 0)
-			return null;
-
-		return result;
-	}
-
-	public String getName() {
-		return "Rename project name related info in geronimo deployment plan";
-	}
-
-	protected IFile getDeploymentPlanFile(IProject project) {
-		IVirtualComponent comp = ComponentCore.createComponent(project);
-		IPath deployPlanPath = comp.getRootFolder().getUnderlyingFolder()
-				.getProjectRelativePath().append(deploymentPlanName);
-		return project.getFile(deployPlanPath);
-	}
-
-	protected String getDeploymentPlanFileUnderProjectPath(IProject project) {
-		IVirtualComponent comp = ComponentCore.createComponent(project);
-		IPath deployPlanPath = comp.getRootFolder().getUnderlyingFolder()
-				.getProjectRelativePath().append(deploymentPlanName);
-		return deployPlanPath.toString();
-	}
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.geronimo.st.ui.refactoring;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IWorkspaceRoot;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.OperationCanceledException;
+import org.eclipse.jst.j2ee.project.JavaEEProjectUtilities;
+import org.eclipse.ltk.core.refactoring.Change;
+import org.eclipse.ltk.core.refactoring.CompositeChange;
+import org.eclipse.ltk.core.refactoring.RefactoringStatus;
+import org.eclipse.ltk.core.refactoring.participants.CheckConditionsContext;
+import org.eclipse.ltk.core.refactoring.participants.RenameParticipant;
+import org.eclipse.text.edits.MultiTextEdit;
+import org.eclipse.text.edits.ReplaceEdit;
+import org.eclipse.wst.common.componentcore.ComponentCore;
+import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
+
+public class GeronimoProjectRenameParticipant extends RenameParticipant {
+	protected IProject project;
+	protected IFile deploymentPlanFile;
+	protected String deploymentPlanName;
+
+	public RefactoringStatus checkConditions(IProgressMonitor pm,
+			CheckConditionsContext context) throws OperationCanceledException {
+		return new RefactoringStatus();
+	}
+
+	protected boolean initialize(Object element) {
+		// if not a project, then stop this refactoring
+		if (!(element instanceof IProject)) {
+			return false;
+		}
+
+		project = (IProject) element;
+
+		// if not a javaee object, then stop this refactoring
+		if (JavaEEProjectUtilities.isDynamicWebProject(project)) {
+			deploymentPlanName = "WEB-INF/geronimo-web.xml";
+		} else if (JavaEEProjectUtilities.isEJBProject(project)) {
+			deploymentPlanName = "META-INF/openejb-jar.xml";
+		} else if (JavaEEProjectUtilities.isJCAProject(project)) {
+			deploymentPlanName = "META-INF/geronimo-ra.xml";
+		} else if (JavaEEProjectUtilities.isEARProject(project)) {
+			deploymentPlanName = "META-INF/geronimo-application.xml";
+		} else {
+			return false;
+		}
+
+		// sure that project is DynamicWebProject
+		deploymentPlanFile = getDeploymentPlanFile(project);
+
+		// if no deployment plan file, then stop this refactoring
+		if (deploymentPlanFile == null) {
+			return false;
+		}
+
+		return true;
+	}
+
+	public Change createChange(IProgressMonitor pm) throws CoreException,
+			OperationCanceledException {
+		CompositeChange result = new CompositeChange(getName());
+		try {
+			pm
+					.beginTask(
+							"beging create change for context-root and artifactId",
+							100);
+			String oldName = project.getName();
+			String underProjectFilePath = getDeploymentPlanFileUnderProjectPath(project);
+			String projectRelativeFilePath = deploymentPlanFile.getFullPath()
+					.toString();
+			String absoluteWorkspacePath = project.getParent().getLocation()
+					.toString();
+			String absoluteFilePath = absoluteWorkspacePath
+					+ projectRelativeFilePath;
+
+			DeploymentPlanEditHelper editHelper = new DeploymentPlanEditHelper(
+					new DeploymentPlanHandler(absoluteFilePath));
+
+			// Before this change being applied, the project has been
+			// renamed. So, use a MovedTextFileChange instead of TextFileChange
+			String newName = this.getArguments().getNewName();
+			IProject newProject = ((IWorkspaceRoot) deploymentPlanFile
+					.getProject().getParent()).getProject(newName);
+			IFile newFile = newProject.getFile(underProjectFilePath);
+
+			// if a web project, should create a context-root change if any
+			if (JavaEEProjectUtilities.isDynamicWebProject(project)) {
+				// create change for context-root
+				String oldName1 = editHelper
+						.getNodeValue(DeploymentPlanTextNode.CONTEXT_ROOT);
+				int offset1 = editHelper
+						.getNodeOffset(DeploymentPlanTextNode.CONTEXT_ROOT);
+				if (offset1 != -1 && oldName1 != null
+						&& oldName1.substring(1).equals(oldName)) {
+					MovedTextFileChange change1 = new MovedTextFileChange(
+							"Rename artifactId's value", newFile,
+							deploymentPlanFile);
+					MultiTextEdit rootEdit1 = new MultiTextEdit();
+					ReplaceEdit edit1 = new ReplaceEdit(offset1, oldName1
+							.length(), "/" + newName);
+					rootEdit1.addChild(edit1);
+					change1.setEdit(rootEdit1);
+					result.add(change1);
+				}
+			}
+
+			// create change for artifactId
+			String oldName2 = editHelper
+					.getNodeValue(DeploymentPlanTextNode.ARTIFACT_ID);
+			int offset2 = editHelper
+					.getNodeOffset(DeploymentPlanTextNode.ARTIFACT_ID);
+			if (offset2 != -1 && oldName2 != null && oldName2.equals(oldName)) {
+				MovedTextFileChange change2 = new MovedTextFileChange(
+						"Rename context-root's value", newFile,
+						deploymentPlanFile);
+				MultiTextEdit rootEdit2 = new MultiTextEdit();
+				ReplaceEdit edit2 = new ReplaceEdit(offset2, oldName2.length(),
+						newName);
+				rootEdit2.addChild(edit2);
+				change2.setEdit(rootEdit2);
+				result.add(change2);
+			}
+
+		} finally {
+			pm.done();
+		}
+		if (result.getChildren().length == 0)
+			return null;
+
+		return result;
+	}
+
+	public String getName() {
+		return "Rename project name related info in geronimo deployment plan";
+	}
+
+	protected IFile getDeploymentPlanFile(IProject project) {
+		IVirtualComponent comp = ComponentCore.createComponent(project);
+		IPath deployPlanPath = comp.getRootFolder().getUnderlyingFolder()
+				.getProjectRelativePath().append(deploymentPlanName);
+		return project.getFile(deployPlanPath);
+	}
+
+	protected String getDeploymentPlanFileUnderProjectPath(IProject project) {
+		IVirtualComponent comp = ComponentCore.createComponent(project);
+		IPath deployPlanPath = comp.getRootFolder().getUnderlyingFolder()
+				.getProjectRelativePath().append(deploymentPlanName);
+		return deployPlanPath.toString();
+	}
+}

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/GeronimoProjectRenameParticipant.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/GeronimoProjectRenameParticipant.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/GeronimoProjectRenameParticipant.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/MovedTextFileChange.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/MovedTextFileChange.java?rev=1203020&r1=1203019&r2=1203020&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/MovedTextFileChange.java (original)
+++ geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/MovedTextFileChange.java Thu Nov 17 02:19:12 2011
@@ -1,66 +1,66 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing, software
- *  distributed under the License is distributed on an "AS IS" BASIS,
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  See the License for the specific language governing permissions and
- *  limitations under the License.
- */
-package org.apache.geronimo.st.ui.refactoring;
-
-import org.eclipse.core.filebuffers.FileBuffers;
-import org.eclipse.core.filebuffers.ITextFileBuffer;
-import org.eclipse.core.filebuffers.ITextFileBufferManager;
-import org.eclipse.core.filebuffers.LocationKind;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.jface.text.IDocument;
-import org.eclipse.ltk.core.refactoring.TextFileChange;
-
-public class MovedTextFileChange extends TextFileChange {
-
-	private IFile fCurrentFile;
-
-	public MovedTextFileChange(String name, IFile newFile, IFile currentFile) {
-		super(name, newFile);
-		fCurrentFile = currentFile;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * @see org.eclipse.ltk.core.refactoring.TextChange#getCurrentDocument(org.eclipse.core.runtime.IProgressMonitor)
-	 * 
-	 * Override getCurrentDocument to return the document of the fCurrentFile instead of the fFile.  Since fFile
-	 * does not exist, it creates problems when displaying preview information
-	 */
-	public IDocument getCurrentDocument(IProgressMonitor pm) throws CoreException {
-		if (pm == null)
-			pm = new NullProgressMonitor();
-		IDocument result = null;
-		pm.beginTask("", 2); //$NON-NLS-1$
-		ITextFileBufferManager manager = FileBuffers.getTextFileBufferManager();
-		try {
-			IPath path = fCurrentFile.getFullPath();
-			manager.connect(path, LocationKind.NORMALIZE, pm);
-			ITextFileBuffer buffer = manager.getTextFileBuffer(path, LocationKind.NORMALIZE);
-			result = buffer.getDocument();
-		} finally {
-			if (result != null)
-				manager.disconnect(fCurrentFile.getFullPath(), LocationKind.NORMALIZE, pm);
-		}
-		pm.done();
-		return result;
-	}
-
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.geronimo.st.ui.refactoring;
+
+import org.eclipse.core.filebuffers.FileBuffers;
+import org.eclipse.core.filebuffers.ITextFileBuffer;
+import org.eclipse.core.filebuffers.ITextFileBufferManager;
+import org.eclipse.core.filebuffers.LocationKind;
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.NullProgressMonitor;
+import org.eclipse.jface.text.IDocument;
+import org.eclipse.ltk.core.refactoring.TextFileChange;
+
+public class MovedTextFileChange extends TextFileChange {
+
+	private IFile fCurrentFile;
+
+	public MovedTextFileChange(String name, IFile newFile, IFile currentFile) {
+		super(name, newFile);
+		fCurrentFile = currentFile;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * @see org.eclipse.ltk.core.refactoring.TextChange#getCurrentDocument(org.eclipse.core.runtime.IProgressMonitor)
+	 * 
+	 * Override getCurrentDocument to return the document of the fCurrentFile instead of the fFile.  Since fFile
+	 * does not exist, it creates problems when displaying preview information
+	 */
+	public IDocument getCurrentDocument(IProgressMonitor pm) throws CoreException {
+		if (pm == null)
+			pm = new NullProgressMonitor();
+		IDocument result = null;
+		pm.beginTask("", 2); //$NON-NLS-1$
+		ITextFileBufferManager manager = FileBuffers.getTextFileBufferManager();
+		try {
+			IPath path = fCurrentFile.getFullPath();
+			manager.connect(path, LocationKind.NORMALIZE, pm);
+			ITextFileBuffer buffer = manager.getTextFileBuffer(path, LocationKind.NORMALIZE);
+			result = buffer.getDocument();
+		} finally {
+			if (result != null)
+				manager.disconnect(fCurrentFile.getFullPath(), LocationKind.NORMALIZE, pm);
+		}
+		pm.done();
+		return result;
+	}
+
+}

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/MovedTextFileChange.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/MovedTextFileChange.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/refactoring/MovedTextFileChange.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/wizards/ManageAccountWizard.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/wizards/ManageAccountWizard.java?rev=1203020&r1=1203019&r2=1203020&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/wizards/ManageAccountWizard.java (original)
+++ geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/wizards/ManageAccountWizard.java Thu Nov 17 02:19:12 2011
@@ -1,238 +1,238 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing, software
- *  distributed under the License is distributed on an "AS IS" BASIS,
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  See the License for the specific language governing permissions and
- *  limitations under the License.
- */
-package org.apache.geronimo.st.ui.wizards;
-
-import org.apache.geronimo.st.core.operations.GeronimoAccountManager;
-import org.apache.geronimo.st.ui.CommonMessages;
-import org.apache.geronimo.st.ui.internal.Messages;
-import org.eclipse.jface.dialogs.MessageDialog;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.SelectionAdapter;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Combo;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Text;
-
-public class ManageAccountWizard extends AbstractWizard {
-
-    protected Button addUser;
-    protected Button delUser;
-    protected Button editUser;
-    
-    protected Label userName;
-    protected Label groupName;
-    protected Label newPassword;
-    protected Label confirmPassword;
-    
-    protected Composite actioncomposite;
-    protected Text userNameText;
-    protected Combo userNameComobox;
-    protected Combo groupComobox;
-    protected Text newPasswordText;
-    protected Text confirmPasswordText;
-    
-    private String[] nameList;
-    private String[] groupList;
-    
-    private  GeronimoAccountManager manager;
-  
-    
-    public ManageAccountWizard(GeronimoAccountManager mgr) {
-        super();
-        manager = mgr;
-        nameList = manager.getUserList();
-        groupList = manager.getGroupList();
-    }
-    
-    
-    public class ManageAccountWizardPage extends AbstractWizardPage {
-
-        public ManageAccountWizardPage(String pageName) {
-            super(pageName);
-        }
-
-
-        protected Composite createComposite(Composite parent) {
-           Composite composite =super.createComposite(parent);
-           GridLayout layout = new GridLayout();
-           layout.numColumns = 3;
-         //  layout.makeColumnsEqualWidth=true;
-           composite.setLayout(layout);
-           return composite;
-        }
-        
-        @Override
-        protected String getWizardPageDescription() {
-           return CommonMessages.manageAccountDescription;
-        }
-
-        @Override
-        protected String getWizardPageTitle() {
-           return CommonMessages.manageAccount;
-        }
-
-        public void createControl(final Composite parent) {
-            final Composite composite = createComposite(parent);
-            addUser = this.createButton(composite, CommonMessages.addUser);
-            GridData data = new GridData();
-            data.horizontalSpan = 1;
-            data.grabExcessHorizontalSpace=true;
-            data.horizontalAlignment = GridData.CENTER;
-            addUser.setLayoutData(data);
-            addUser.addSelectionListener(new SelectionAdapter(){
-                public void widgetSelected(SelectionEvent arg0) {
-                   updateUIByAction(composite);
-                }
-            });
-            
-            delUser = this.createButton(composite, CommonMessages.delUser);
-            data = new GridData();
-            data.horizontalSpan = 1;
-            data.grabExcessHorizontalSpace=true;
-            data.horizontalAlignment = GridData.CENTER;
-            delUser.setLayoutData(data);
-            delUser.addSelectionListener(new SelectionAdapter(){
-               public void widgetSelected(SelectionEvent arg0) {
-                   updateUIByAction(composite);
-               }
-            });
-            
-            editUser = this.createButton(composite, CommonMessages.editUser);
-            data = new GridData();
-            data.horizontalSpan = 1;
-            data.grabExcessHorizontalSpace=true;
-            data.horizontalAlignment = GridData.CENTER;
-            editUser.setLayoutData(data);
-            editUser.addSelectionListener(new SelectionAdapter(){
-                public void widgetSelected(SelectionEvent arg0) {
-                    updateUIByAction(composite);
-                }
-             });            
-       
-         //   updateUIByAction(composite);
-            
-            setControl(composite);
-        }
-        
-        private void updateUIByAction(Composite composite){
-            if (actioncomposite!=null) actioncomposite.dispose();   
-            
-            actioncomposite = this.createComposite(composite);
-            GridLayout layout = new GridLayout();
-            layout.numColumns=2;
-            actioncomposite.setLayout(layout);
-            GridData data = new GridData(GridData.FILL, GridData.FILL,true,true);
-            data.horizontalSpan =3;
-            actioncomposite.setLayoutData(data);
-            
-            if (addUser.getSelection()){
-                userName = this.createLabel(actioncomposite, CommonMessages.username);
-                userNameText = this.createTextField(actioncomposite, "",false);
-                
-                groupName = this.createLabel(actioncomposite, CommonMessages.groupName);
-                groupComobox = this.createCombo(actioncomposite, groupList, false);
-                groupComobox.select(0);
-                
-                newPassword = this.createLabel(actioncomposite, CommonMessages.newPassword);
-                newPasswordText = this.createTextField(actioncomposite, "",true);
-                
-                confirmPassword = this.createLabel(actioncomposite, CommonMessages.confirmPassword);            
-                confirmPasswordText = this.createTextField(actioncomposite,"",true);
-            }else if (delUser.getSelection()){
-                userName = this.createLabel(actioncomposite, CommonMessages.username);
-                userNameComobox = this.createCombo(actioncomposite, nameList, false);
-                userNameComobox.select(0);
-                
-            }else{
-                userName = this.createLabel(actioncomposite, CommonMessages.username);
-                userNameComobox = this.createCombo(actioncomposite, nameList, true);
-                userNameComobox.select(0);
-                
-                newPassword = this.createLabel(actioncomposite, CommonMessages.newPassword);
-                newPasswordText = this.createTextField(actioncomposite, "",true);
-                
-                confirmPassword = this.createLabel(actioncomposite, CommonMessages.confirmPassword);            
-                confirmPasswordText = this.createTextField(actioncomposite,"",true);
-            }
-           
-            
-            composite.layout();
-        }
-        
-    }
-    
-   
-
-    @Override
-    protected String getAddWizardWindowTitle() {
-        return Messages.wizardTitle_ManageAccount;
-    }
-
-    @Override
-    protected String getEditWizardWindowTitle() {
-        return Messages.wizardTitle_ManageAccount;
-    }
-
-    @Override
-    public boolean performFinish() {
-        if (addUser.getSelection()){
-            String newPwd = newPasswordText.getText();
-            String confirmPwd = confirmPasswordText.getText();
-            if (!newPwd.equals(confirmPwd)){
-                MessageDialog.openError(Display.getDefault().getActiveShell(), CommonMessages.addUser , CommonMessages.passwordNotEqual);
-                return false;
-            }
-            
-            String name = userNameText.getText();
-            String groupName = groupComobox.getItem(groupComobox.getSelectionIndex());
-            manager.addUser(name, groupName, newPwd);
-        }else if (delUser.getSelection()){
-            String name = userNameComobox.getItem(userNameComobox.getSelectionIndex());
-            manager.delUser(name);
-        }else{
-            String newPwd = newPasswordText.getText();
-            String confirmPwd = confirmPasswordText.getText();
-            if (!newPwd.equals(confirmPwd)){
-                MessageDialog.openError(Display.getDefault().getActiveShell(), CommonMessages.editUser , CommonMessages.passwordNotEqual);
-                return false;
-            }
-            String groupName = groupComobox.getItem(groupComobox.getSelectionIndex());
-            String newName = userNameText.getText();
-            String oldName = userNameComobox.getItem(userNameComobox.getSelectionIndex());
-            
-            manager.modifyUser(oldName, newName, groupName, newPwd);
-        }
-        
-        try {
-            manager.persist();
-        } catch (Exception e) {
-            MessageDialog.openError(Display.getDefault().getActiveShell(), CommonMessages.manageAccount , CommonMessages.cannotSave);
-            return false;
-        }
-        return true;
-    }
-    
-    public void addPages() {
-        addPage(new ManageAccountWizardPage(CommonMessages.manageAccount));
-    }
-    
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.geronimo.st.ui.wizards;
+
+import org.apache.geronimo.st.core.operations.GeronimoAccountManager;
+import org.apache.geronimo.st.ui.CommonMessages;
+import org.apache.geronimo.st.ui.internal.Messages;
+import org.eclipse.jface.dialogs.MessageDialog;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.events.SelectionAdapter;
+import org.eclipse.swt.events.SelectionEvent;
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Button;
+import org.eclipse.swt.widgets.Combo;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Display;
+import org.eclipse.swt.widgets.Label;
+import org.eclipse.swt.widgets.Text;
+
+public class ManageAccountWizard extends AbstractWizard {
+
+    protected Button addUser;
+    protected Button delUser;
+    protected Button editUser;
+    
+    protected Label userName;
+    protected Label groupName;
+    protected Label newPassword;
+    protected Label confirmPassword;
+    
+    protected Composite actioncomposite;
+    protected Text userNameText;
+    protected Combo userNameComobox;
+    protected Combo groupComobox;
+    protected Text newPasswordText;
+    protected Text confirmPasswordText;
+    
+    private String[] nameList;
+    private String[] groupList;
+    
+    private  GeronimoAccountManager manager;
+  
+    
+    public ManageAccountWizard(GeronimoAccountManager mgr) {
+        super();
+        manager = mgr;
+        nameList = manager.getUserList();
+        groupList = manager.getGroupList();
+    }
+    
+    
+    public class ManageAccountWizardPage extends AbstractWizardPage {
+
+        public ManageAccountWizardPage(String pageName) {
+            super(pageName);
+        }
+
+
+        protected Composite createComposite(Composite parent) {
+           Composite composite =super.createComposite(parent);
+           GridLayout layout = new GridLayout();
+           layout.numColumns = 3;
+         //  layout.makeColumnsEqualWidth=true;
+           composite.setLayout(layout);
+           return composite;
+        }
+        
+        @Override
+        protected String getWizardPageDescription() {
+           return CommonMessages.manageAccountDescription;
+        }
+
+        @Override
+        protected String getWizardPageTitle() {
+           return CommonMessages.manageAccount;
+        }
+
+        public void createControl(final Composite parent) {
+            final Composite composite = createComposite(parent);
+            addUser = this.createButton(composite, CommonMessages.addUser);
+            GridData data = new GridData();
+            data.horizontalSpan = 1;
+            data.grabExcessHorizontalSpace=true;
+            data.horizontalAlignment = GridData.CENTER;
+            addUser.setLayoutData(data);
+            addUser.addSelectionListener(new SelectionAdapter(){
+                public void widgetSelected(SelectionEvent arg0) {
+                   updateUIByAction(composite);
+                }
+            });
+            
+            delUser = this.createButton(composite, CommonMessages.delUser);
+            data = new GridData();
+            data.horizontalSpan = 1;
+            data.grabExcessHorizontalSpace=true;
+            data.horizontalAlignment = GridData.CENTER;
+            delUser.setLayoutData(data);
+            delUser.addSelectionListener(new SelectionAdapter(){
+               public void widgetSelected(SelectionEvent arg0) {
+                   updateUIByAction(composite);
+               }
+            });
+            
+            editUser = this.createButton(composite, CommonMessages.editUser);
+            data = new GridData();
+            data.horizontalSpan = 1;
+            data.grabExcessHorizontalSpace=true;
+            data.horizontalAlignment = GridData.CENTER;
+            editUser.setLayoutData(data);
+            editUser.addSelectionListener(new SelectionAdapter(){
+                public void widgetSelected(SelectionEvent arg0) {
+                    updateUIByAction(composite);
+                }
+             });            
+       
+         //   updateUIByAction(composite);
+            
+            setControl(composite);
+        }
+        
+        private void updateUIByAction(Composite composite){
+            if (actioncomposite!=null) actioncomposite.dispose();   
+            
+            actioncomposite = this.createComposite(composite);
+            GridLayout layout = new GridLayout();
+            layout.numColumns=2;
+            actioncomposite.setLayout(layout);
+            GridData data = new GridData(GridData.FILL, GridData.FILL,true,true);
+            data.horizontalSpan =3;
+            actioncomposite.setLayoutData(data);
+            
+            if (addUser.getSelection()){
+                userName = this.createLabel(actioncomposite, CommonMessages.username);
+                userNameText = this.createTextField(actioncomposite, "",false);
+                
+                groupName = this.createLabel(actioncomposite, CommonMessages.groupName);
+                groupComobox = this.createCombo(actioncomposite, groupList, false);
+                groupComobox.select(0);
+                
+                newPassword = this.createLabel(actioncomposite, CommonMessages.newPassword);
+                newPasswordText = this.createTextField(actioncomposite, "",true);
+                
+                confirmPassword = this.createLabel(actioncomposite, CommonMessages.confirmPassword);            
+                confirmPasswordText = this.createTextField(actioncomposite,"",true);
+            }else if (delUser.getSelection()){
+                userName = this.createLabel(actioncomposite, CommonMessages.username);
+                userNameComobox = this.createCombo(actioncomposite, nameList, false);
+                userNameComobox.select(0);
+                
+            }else{
+                userName = this.createLabel(actioncomposite, CommonMessages.username);
+                userNameComobox = this.createCombo(actioncomposite, nameList, true);
+                userNameComobox.select(0);
+                
+                newPassword = this.createLabel(actioncomposite, CommonMessages.newPassword);
+                newPasswordText = this.createTextField(actioncomposite, "",true);
+                
+                confirmPassword = this.createLabel(actioncomposite, CommonMessages.confirmPassword);            
+                confirmPasswordText = this.createTextField(actioncomposite,"",true);
+            }
+           
+            
+            composite.layout();
+        }
+        
+    }
+    
+   
+
+    @Override
+    protected String getAddWizardWindowTitle() {
+        return Messages.wizardTitle_ManageAccount;
+    }
+
+    @Override
+    protected String getEditWizardWindowTitle() {
+        return Messages.wizardTitle_ManageAccount;
+    }
+
+    @Override
+    public boolean performFinish() {
+        if (addUser.getSelection()){
+            String newPwd = newPasswordText.getText();
+            String confirmPwd = confirmPasswordText.getText();
+            if (!newPwd.equals(confirmPwd)){
+                MessageDialog.openError(Display.getDefault().getActiveShell(), CommonMessages.addUser , CommonMessages.passwordNotEqual);
+                return false;
+            }
+            
+            String name = userNameText.getText();
+            String groupName = groupComobox.getItem(groupComobox.getSelectionIndex());
+            manager.addUser(name, groupName, newPwd);
+        }else if (delUser.getSelection()){
+            String name = userNameComobox.getItem(userNameComobox.getSelectionIndex());
+            manager.delUser(name);
+        }else{
+            String newPwd = newPasswordText.getText();
+            String confirmPwd = confirmPasswordText.getText();
+            if (!newPwd.equals(confirmPwd)){
+                MessageDialog.openError(Display.getDefault().getActiveShell(), CommonMessages.editUser , CommonMessages.passwordNotEqual);
+                return false;
+            }
+            String groupName = groupComobox.getItem(groupComobox.getSelectionIndex());
+            String newName = userNameText.getText();
+            String oldName = userNameComobox.getItem(userNameComobox.getSelectionIndex());
+            
+            manager.modifyUser(oldName, newName, groupName, newPwd);
+        }
+        
+        try {
+            manager.persist();
+        } catch (Exception e) {
+            MessageDialog.openError(Display.getDefault().getActiveShell(), CommonMessages.manageAccount , CommonMessages.cannotSave);
+            return false;
+        }
+        return true;
+    }
+    
+    public void addPages() {
+        addPage(new ManageAccountWizardPage(CommonMessages.manageAccount));
+    }
+    
+}

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/wizards/ManageAccountWizard.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/wizards/ManageAccountWizard.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/wizards/ManageAccountWizard.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/plugin.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/plugin.xml?rev=1203020&r1=1203019&r2=1203020&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/plugin.xml (original)
+++ geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/plugin.xml Thu Nov 17 02:19:12 2011
@@ -17,7 +17,7 @@
   ~ limitations under the License.
   -->
 
-<!-- $Rev: 522975 $ $Date: 2007-03-27 12:04:11 -0400 (Tue, 27 Mar 2007) $ -->
+<!-- $Rev$ $Date$ -->
 
 <plugin>
      <extension point="org.eclipse.wst.server.core.runtimeTypes">

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/plugin.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/plugin.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/plugin.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/pom.xml?rev=1203020&r1=1203019&r2=1203020&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/pom.xml (original)
+++ geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/pom.xml Thu Nov 17 02:19:12 2011
@@ -14,7 +14,7 @@
   ~ See the License for the specific language governing permissions and
   ~ limitations under the License.
   -->
-<!-- $Rev: 571684 $ $Date: 2007-09-01 00:15:36 -0400 (Sat, 01 Sep 2007) $ -->
+<!-- $Rev$ $Date$ -->
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
 
     <modelVersion>4.0.0</modelVersion>

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/src/main/java/org/apache/geronimo/st/v11/core/Activator.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/src/main/java/org/apache/geronimo/st/v11/core/Activator.java?rev=1203020&r1=1203019&r2=1203020&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/src/main/java/org/apache/geronimo/st/v11/core/Activator.java (original)
+++ geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/src/main/java/org/apache/geronimo/st/v11/core/Activator.java Thu Nov 17 02:19:12 2011
@@ -23,7 +23,7 @@ import org.osgi.framework.BundleContext;
 /**
  * The activator class controls the plug-in life cycle
  *
- * @version $Rev: 471551 $ $Date: 2006-11-05 17:47:11 -0500 (Sun, 05 Nov 2006) $
+ * @version $Rev$ $Date$
  */
 public class Activator extends Plugin {
 

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/src/main/java/org/apache/geronimo/st/v11/core/Activator.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/src/main/java/org/apache/geronimo/st/v11/core/Activator.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/src/main/java/org/apache/geronimo/st/v11/core/Activator.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/src/main/java/org/apache/geronimo/st/v11/core/GeronimoRuntime.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/src/main/java/org/apache/geronimo/st/v11/core/GeronimoRuntime.java?rev=1203020&r1=1203019&r2=1203020&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/src/main/java/org/apache/geronimo/st/v11/core/GeronimoRuntime.java (original)
+++ geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/src/main/java/org/apache/geronimo/st/v11/core/GeronimoRuntime.java Thu Nov 17 02:19:12 2011
@@ -19,7 +19,7 @@ package org.apache.geronimo.st.v11.core;
 import org.apache.geronimo.st.core.GeronimoRuntimeDelegate;
 
 /**
- * @version $Rev: 491874 $ $Date: 2007-01-02 13:03:16 -0500 (Tue, 02 Jan 2007) $
+ * @version $Rev$ $Date$
  */
 public class GeronimoRuntime extends GeronimoRuntimeDelegate {
 

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/src/main/java/org/apache/geronimo/st/v11/core/GeronimoRuntime.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/src/main/java/org/apache/geronimo/st/v11/core/GeronimoRuntime.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/src/main/java/org/apache/geronimo/st/v11/core/GeronimoRuntime.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/src/main/java/org/apache/geronimo/st/v11/core/GeronimoServer.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/src/main/java/org/apache/geronimo/st/v11/core/GeronimoServer.java?rev=1203020&r1=1203019&r2=1203020&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/src/main/java/org/apache/geronimo/st/v11/core/GeronimoServer.java (original)
+++ geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/src/main/java/org/apache/geronimo/st/v11/core/GeronimoServer.java Thu Nov 17 02:19:12 2011
@@ -30,7 +30,7 @@ import org.eclipse.wst.server.core.IModu
 import org.eclipse.wst.server.core.util.SocketUtil;
 
 /**
- * @version $Rev: 510504 $ $Date: 2007-02-22 08:38:06 -0500 (Thu, 22 Feb 2007) $
+ * @version $Rev$ $Date$
  */
 public class GeronimoServer extends GeronimoServerDelegate {
 

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/src/main/java/org/apache/geronimo/st/v11/core/GeronimoServer.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/src/main/java/org/apache/geronimo/st/v11/core/GeronimoServer.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/src/main/java/org/apache/geronimo/st/v11/core/GeronimoServer.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/src/main/java/org/apache/geronimo/st/v11/core/GeronimoServerBehaviour.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/src/main/java/org/apache/geronimo/st/v11/core/GeronimoServerBehaviour.java?rev=1203020&r1=1203019&r2=1203020&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/src/main/java/org/apache/geronimo/st/v11/core/GeronimoServerBehaviour.java (original)
+++ geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/src/main/java/org/apache/geronimo/st/v11/core/GeronimoServerBehaviour.java Thu Nov 17 02:19:12 2011
@@ -43,7 +43,7 @@ import org.eclipse.wst.server.core.IServ
 import org.eclipse.wst.server.core.internal.IModulePublishHelper;
 
 /**
- * @version $Rev: 509683 $ $Date: 2007-02-20 12:47:35 -0500 (Tue, 20 Feb 2007) $
+ * @version $Rev$ $Date$
  */
 public class GeronimoServerBehaviour extends GeronimoServerBehaviourDelegate implements IModulePublishHelper {
 

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/src/main/java/org/apache/geronimo/st/v11/core/GeronimoServerBehaviour.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/src/main/java/org/apache/geronimo/st/v11/core/GeronimoServerBehaviour.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/branches/3.0-beta-1/plugins/org.apache.geronimo.st.v11.core/src/main/java/org/apache/geronimo/st/v11/core/GeronimoServerBehaviour.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message