Revision: 5273
          http://sourceforge.net/p/jump-pilot/code/5273
Author:   michaudm
Date:     2016-12-21 18:59:28 +0000 (Wed, 21 Dec 2016)
Log Message:
-----------
Make mainComponent and currentPanel protected to be able to extend the 
MultiInputDialog from outside the package.

Modified Paths:
--------------
    core/trunk/src/com/vividsolutions/jump/workbench/ui/MultiInputDialog.java

Modified: 
core/trunk/src/com/vividsolutions/jump/workbench/ui/MultiInputDialog.java
===================================================================
--- core/trunk/src/com/vividsolutions/jump/workbench/ui/MultiInputDialog.java   
2016-12-19 10:04:31 UTC (rev 5272)
+++ core/trunk/src/com/vividsolutions/jump/workbench/ui/MultiInputDialog.java   
2016-12-21 18:59:28 UTC (rev 5273)
@@ -97,8 +97,8 @@
         // imagePanel contains an image and a description
         final private MultiInputDialogInfoPanel infoPanel = new 
MultiInputDialogInfoPanel();
         // mainComponent contains all the components for user inputs
-        Container mainComponent;
-        JPanel currentPanel;
+        protected Container mainComponent;
+        protected JPanel currentPanel;
         // consolePanel can show warnings or comments to help the user
         final private MultiInputDialogConsole console = new 
MultiInputDialogConsole();
     // This panel just contains the OK and the Cancel Buttons
@@ -114,6 +114,10 @@
         );
         currentPanel.setBorder(mainComponentBorder);
     }
+
+    public void setMainComponent(Container container) {
+        this.mainComponent = container;
+    }
     
     /**
      * @return the JPanel where new Rows are added


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to