ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seanfi...@apache.org
Subject svn commit: r1733950 - in /ctakes/sandbox/dictionary-gui/src/main/java/org/apache/ctakes/dictionary/creator/gui: CreatorGui.java ctakes/DictionaryXmlWriter.java main/MainPanel.java
Date Mon, 07 Mar 2016 18:12:58 GMT
Author: seanfinan
Date: Mon Mar  7 18:12:58 2016
New Revision: 1733950

URL: http://svn.apache.org/viewvc?rev=1733950&view=rev
Log:
Fix for unwanted rareWordTable in <conceptFactories>
Changed placement of source vocabulary and tui lists on main panel 
Changed minimum frame size to 800x600

Modified:
    ctakes/sandbox/dictionary-gui/src/main/java/org/apache/ctakes/dictionary/creator/gui/CreatorGui.java
    ctakes/sandbox/dictionary-gui/src/main/java/org/apache/ctakes/dictionary/creator/gui/ctakes/DictionaryXmlWriter.java
    ctakes/sandbox/dictionary-gui/src/main/java/org/apache/ctakes/dictionary/creator/gui/main/MainPanel.java

Modified: ctakes/sandbox/dictionary-gui/src/main/java/org/apache/ctakes/dictionary/creator/gui/CreatorGui.java
URL: http://svn.apache.org/viewvc/ctakes/sandbox/dictionary-gui/src/main/java/org/apache/ctakes/dictionary/creator/gui/CreatorGui.java?rev=1733950&r1=1733949&r2=1733950&view=diff
==============================================================================
--- ctakes/sandbox/dictionary-gui/src/main/java/org/apache/ctakes/dictionary/creator/gui/CreatorGui.java
(original)
+++ ctakes/sandbox/dictionary-gui/src/main/java/org/apache/ctakes/dictionary/creator/gui/CreatorGui.java
Mon Mar  7 18:12:58 2016
@@ -27,7 +27,7 @@ public class CreatorGui {
       // iPhone 5 : 1136 x 640 (under 16:9, unique to Apple)
       // iPad 3&4 : 2048 x 1536 (4:3, QXGA)
       // iPad Mini: 1024 x 768 (4:3, XGA)
-      final Dimension size = new Dimension( 1024, 768 );
+      final Dimension size = new Dimension( 800, 600 );
       frame.setSize( size );
       frame.setMinimumSize( size );
       final JMenuBar menuBar = new JMenuBar();

Modified: ctakes/sandbox/dictionary-gui/src/main/java/org/apache/ctakes/dictionary/creator/gui/ctakes/DictionaryXmlWriter.java
URL: http://svn.apache.org/viewvc/ctakes/sandbox/dictionary-gui/src/main/java/org/apache/ctakes/dictionary/creator/gui/ctakes/DictionaryXmlWriter.java?rev=1733950&r1=1733949&r2=1733950&view=diff
==============================================================================
--- ctakes/sandbox/dictionary-gui/src/main/java/org/apache/ctakes/dictionary/creator/gui/ctakes/DictionaryXmlWriter.java
(original)
+++ ctakes/sandbox/dictionary-gui/src/main/java/org/apache/ctakes/dictionary/creator/gui/ctakes/DictionaryXmlWriter.java
Mon Mar  7 18:12:58 2016
@@ -74,7 +74,6 @@ public class DictionaryXmlWriter {
                "jdbc:hsqldb:file:resources/org/apache/ctakes/dictionary/lookup/fast/" + databaseName
+ "/" + databaseName ) );
          writer.write( createProperty( "jdbcUser", "sa" ) );
          writer.write( createProperty( "jdbcPass", "" ) );
-         writer.write( createProperty( "rareWordTable", "cui_terms" ) );
          writer.write( createProperty( "umlsUrl", "https://uts-ws.nlm.nih.gov/restful/isValidUMLSUser"
) );
          writer.write( createProperty( "umlsVendor", "NLM-6515182895" ) );
          writer.write( createProperty( "umlsUser", "CHANGE_ME" ) );

Modified: ctakes/sandbox/dictionary-gui/src/main/java/org/apache/ctakes/dictionary/creator/gui/main/MainPanel.java
URL: http://svn.apache.org/viewvc/ctakes/sandbox/dictionary-gui/src/main/java/org/apache/ctakes/dictionary/creator/gui/main/MainPanel.java?rev=1733950&r1=1733949&r2=1733950&view=diff
==============================================================================
--- ctakes/sandbox/dictionary-gui/src/main/java/org/apache/ctakes/dictionary/creator/gui/main/MainPanel.java
(original)
+++ ctakes/sandbox/dictionary-gui/src/main/java/org/apache/ctakes/dictionary/creator/gui/main/MainPanel.java
Mon Mar  7 18:12:58 2016
@@ -45,8 +45,12 @@ final public class MainPanel extends JPa
       sourceDirPanel.add( new DirChooser( "UMLS Installation:", _ctakesPath, new UmlsDirListener()
) );
       add( sourceDirPanel, BorderLayout.NORTH );
 
-      add( createTuiTable( _tuiModel ), BorderLayout.WEST );
-      add( createSourceTable( _sourceModel ), BorderLayout.EAST );
+      final JComponent centerPanel = new JPanel( new GridLayout( 1, 2 ) );
+      centerPanel.add( createSourceTable( _sourceModel ) );
+      centerPanel.add( createTuiTable( _tuiModel ) );
+//      add( createTuiTable( _tuiModel ), BorderLayout.WEST );
+//      add( createSourceTable( _sourceModel ), BorderLayout.EAST );
+      add( centerPanel, BorderLayout.CENTER );
       add( createGoPanel(), BorderLayout.SOUTH );
    }
 



Mime
View raw message