diff options
author | rbrooks | 2010-07-24 17:38:31 +0000 |
---|---|---|
committer | rbrooks | 2010-07-24 17:38:31 +0000 |
commit | 4081f04850d3eff9eb1bd7241763707bfbb43a45 (patch) | |
tree | 258620df94d4b24077ff103a6c4dea9cb78493fb /plugins/org.eclipse.osee.framework.ui.ws | |
parent | 4ed8bddc791fda93940f238c5135556a07041dc0 (diff) | |
download | org.eclipse.osee-4081f04850d3eff9eb1bd7241763707bfbb43a45.tar.gz org.eclipse.osee-4081f04850d3eff9eb1bd7241763707bfbb43a45.tar.xz org.eclipse.osee-4081f04850d3eff9eb1bd7241763707bfbb43a45.zip |
applied Eclipse source cleanup
Diffstat (limited to 'plugins/org.eclipse.osee.framework.ui.ws')
2 files changed, 7 insertions, 7 deletions
diff --git a/plugins/org.eclipse.osee.framework.ui.ws/src/org/eclipse/osee/framework/ui/ws/AJavaProject.java b/plugins/org.eclipse.osee.framework.ui.ws/src/org/eclipse/osee/framework/ui/ws/AJavaProject.java index 199a8a24416..99e8c045999 100644 --- a/plugins/org.eclipse.osee.framework.ui.ws/src/org/eclipse/osee/framework/ui/ws/AJavaProject.java +++ b/plugins/org.eclipse.osee.framework.ui.ws/src/org/eclipse/osee/framework/ui/ws/AJavaProject.java @@ -29,7 +29,7 @@ import org.eclipse.osee.framework.jdk.core.util.Lib; public final class AJavaProject { private static final Map<IJavaProject, IClasspathEntry[]> cachedPath = - new HashMap<IJavaProject, IClasspathEntry[]>(); + new HashMap<IJavaProject, IClasspathEntry[]>(); private static final Pattern JAVA_PACKAGE_PATTERN = Pattern.compile(".*?package\\s*(.*?);.*", Pattern.DOTALL); private static final Matcher JAVA_PACKAGE_MATCHER = JAVA_PACKAGE_PATTERN.matcher(""); @@ -87,7 +87,7 @@ public final class AJavaProject { } } else if (paths[i].getEntryKind() == IClasspathEntry.CPE_PROJECT) { urls.add(new File(AWorkspace.getWorkspacePath().concat( - paths[i].getPath().toFile().getPath().concat(File.separator + "bin" + File.separator)))); + paths[i].getPath().toFile().getPath().concat(File.separator + "bin" + File.separator)))); } else if (paths[i].getEntryKind() == IClasspathEntry.CPE_SOURCE) { File projectlocation = javaProject.getProject().getLocation().toFile(); File projecttricky = javaProject.getProject().getFullPath().toFile(); @@ -99,7 +99,7 @@ public final class AJavaProject { fileLocation = paths[i].getOutputLocation().toFile(); } String realLocation = - fileLocation.toString().replace(projecttricky.toString(), projectlocation.toString()); + fileLocation.toString().replace(projecttricky.toString(), projectlocation.toString()); urls.add(new File(realLocation)); } } diff --git a/plugins/org.eclipse.osee.framework.ui.ws/src/org/eclipse/osee/framework/ui/ws/AWorkspace.java b/plugins/org.eclipse.osee.framework.ui.ws/src/org/eclipse/osee/framework/ui/ws/AWorkspace.java index cd6dd151f20..9dc890b7426 100644 --- a/plugins/org.eclipse.osee.framework.ui.ws/src/org/eclipse/osee/framework/ui/ws/AWorkspace.java +++ b/plugins/org.eclipse.osee.framework.ui.ws/src/org/eclipse/osee/framework/ui/ws/AWorkspace.java @@ -105,7 +105,7 @@ public final class AWorkspace { IWorkbenchPage page = AWorkbench.getActivePage(); try { IViewPart viewPart = - page.showView("org.eclipse.ui.views.ResourceNavigator", null, IWorkbenchPage.VIEW_ACTIVATE); + page.showView("org.eclipse.ui.views.ResourceNavigator", null, IWorkbenchPage.VIEW_ACTIVATE); if (viewPart != null && viewPart instanceof ResourceNavigator) { ResourceNavigator resourceNavigator = (ResourceNavigator) viewPart; @@ -141,8 +141,8 @@ public final class AWorkspace { return false; } IViewPart p = - PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().findView( - "org.eclipse.jdt.ui.PackageExplorer"); + PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().findView( + "org.eclipse.jdt.ui.PackageExplorer"); if (p != null && p instanceof IPackagesViewPart) { StructuredSelection ss = new StructuredSelection(file); IPackagesViewPart rn = (IPackagesViewPart) p; @@ -157,7 +157,7 @@ public final class AWorkspace { parentResource.refreshLocal(IResource.DEPTH_INFINITE, null); } catch (org.eclipse.core.runtime.CoreException ex) { MessageDialog.openInformation(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(), - "Refresh Navigator", "Can't refresh \"" + resource.getName() + "\"\n\nYou must refresh Manually"); + "Refresh Navigator", "Can't refresh \"" + resource.getName() + "\"\n\nYou must refresh Manually"); return; } |