Re: [basedb-devel] How to extend and override BioAssaySetExporter and Base1PluginExecuter?

2007-08-21 Thread Johan Enell
I add this as a ticket. Can you specify the methods that you need  
acces to.

/Johan


17 aug 2007 kl. 16.18 skrev vegard nygaard:



 I want to export more than standard information in the base-file  
 sent to my
 plug-in. That is more sections describing the samples, hybs,  
 arrays and
 their relationships.  My first plan was to extend  
 BioAssaySetExporter and
 Base1PluginExecuter, and then override the methods where the  
 information is
 written to file (stdin.txt) adding my extra stuff. This approach  
 failed when
 I encountered lots of private methods in Base1PluginExecuter and
 BioAssaySetExporter, making them less useful for extension since I  
 have to
 override all the private parts I need even if I don't need to alter  
 them.
 Why are those methods private and not public? Is there a better way  
 to solve
 my problem?

 A more cumbersome approach is to copy both files (and others if  
 needed),
 rename them, do my modifications and it will work. This is what I  
 have done
 for years with BASE1, giving me an extra cut and paste job each  
 time base1
 was updated and I had to re-update my custom files. I hope BASE2  
 can do this
 in a more neat way.

 Best Regards

 Vegard Nygaard
 Software Engineer
 Department of Tumor Biology (Montebello)
 Rikshospitalet-Radiumhospitalet Medical Center 0310 Oslo
 Bioinformatics user support (NMC)
 Phone 0047 22935590



 -- 
 ---
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a  
 browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 ___
 basedb-devel mailing list
 basedb-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/basedb-devel


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
basedb-devel mailing list
basedb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/basedb-devel


Re: [basedb-devel] How to extend and override BioAssaySetExporter and Base1PluginExecuter?

2007-08-20 Thread Kjell Petersen


vegard nygaard wrote:

 Why are those methods private and not public? Is there a better way to solve
 my problem?
   

  I hope BASE2 can do this
 in a more neat way.

   
Coding them as protected would be better than public - making them 
accessible through inheritance and keep them private/unreachable for 
direct access.


Cheers,
Kjell

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
basedb-devel mailing list
basedb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/basedb-devel