You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by jo...@apache.org on 2009/06/17 09:59:00 UTC

svn commit: r785502 - /incubator/uima/uimaj/trunk/uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/ui/NlpPerspectiveFactory.java

Author: joern
Date: Wed Jun 17 07:59:00 2009
New Revision: 785502

URL: http://svn.apache.org/viewvc?rev=785502&view=rev
Log:
UIMA-1387

Modified:
    incubator/uima/uimaj/trunk/uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/ui/NlpPerspectiveFactory.java

Modified: incubator/uima/uimaj/trunk/uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/ui/NlpPerspectiveFactory.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/ui/NlpPerspectiveFactory.java?rev=785502&r1=785501&r2=785502&view=diff
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/ui/NlpPerspectiveFactory.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/ui/NlpPerspectiveFactory.java Wed Jun 17 07:59:00 2009
@@ -34,8 +34,8 @@
  * This <code>PerspectiveFactory</code> generates the initial layout
  * for the NLP perspective.
  */
-public class NlpPerspectiveFactory implements IPerspectiveFactory
-{
+public class NlpPerspectiveFactory implements IPerspectiveFactory {
+  
   /**
    * ID of the perspective factory. Use this ID for example in the plugin.xml
    * file.
@@ -45,14 +45,12 @@
   /**
    * Define the initial layout of the nlp perspective
    */
-  public void createInitialLayout(IPageLayout layout)
-  {
+  public void createInitialLayout(IPageLayout layout) {
     defineActions(layout);
     defineLayout(layout);
   }
 
-  private void defineActions(IPageLayout layout)
-  {
+  private void defineActions(IPageLayout layout) {
     // add "new wizards"
     layout.addNewWizardShortcut(NewNlpProjectWizard.ID);
     //        layout.addNewWizardShortcut(NewCorpusWizard.ID);
@@ -69,8 +67,7 @@
     layout.addPerspectiveShortcut(NlpPerspectiveFactory.ID);
   }
 
-  private void defineLayout(IPageLayout layout)
-  {
+  private void defineLayout(IPageLayout layout) {
     String editorArea = layout.getEditorArea();
 
     // left views
@@ -84,7 +81,6 @@
 
     right.addView(IPageLayout.ID_OUTLINE);
     right.addView(FeatureStructureBrowserView.ID);
-    right.addView("org.eclipse.pde.runtime.LogView");
 
     // bottom views
     IFolderLayout rightBottom = layout.createFolder("rightBottom",
@@ -98,3 +94,4 @@
     leftBottom.addView(EditView.ID_2);
   }
 }
+