Re: [JPP-Devel] oj startup duration

2011-11-22 Thread Stefan Steiniger
ok.. for the benchmarking

and yes, initializing Sextante takes time - I discovered that too during 
my programming.
Its also somehoe logic, because Sextante is like its own program and 
loads, as OJ, all the functions as a type of plugin.
I am not sure, but I just remember that when I programmed with it (1-2 
years ago) Sextante was loaded when I clicked on the Sextante menu item 
in OpenJUMP.. I had to wait then for some time until things have been 
there... or do I confuse that now with the way the Python plugin is loaded?

stefan

On 22/11/2011 2:23 AM, edgar.sol...@web.de wrote:
> On 22.11.2011 09:21, Giuseppe Aruta wrote:
>>> I'm quite sure the startup duration problem is due to Sextante
>>PlugIn, not JumpFillPattern.
>> > From a CORE installation, loading patterns or not makes about no
>>difference (between 5 and 7s)
>> > From PLUS installation I get about 12 s with FilPatterns and
>>without sextante and more than 30 with Sextante
>>
>>
>> It could be. AFAIR also Kosmo was a bit slower with the same configuration 
>> (Sextante set on, when Kosmo is loading)
> we should benchmark this some more i think .. will do so later.
>
> ede
>
> --
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] oj startup duration

2011-11-22 Thread edgar . soldin
On 22.11.2011 09:21, Giuseppe Aruta wrote:
>> I'm quite sure the startup duration problem is due to Sextante
>   PlugIn, not JumpFillPattern.
>>From a CORE installation, loading patterns or not makes about no
>   difference (between 5 and 7s) 
>>From PLUS installation I get about 12 s with FilPatterns and
>   without sextante and more than 30 with Sextante
> 
> 
> It could be. AFAIR also Kosmo was a bit slower with the same configuration 
> (Sextante set on, when Kosmo is loading)

we should benchmark this some more i think .. will do so later.

ede

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] OpenJUMP roadmap 1.5 - New Task, OpenWizard and Save icons on Toolbar

2011-11-22 Thread Giuseppe Aruta


Hi all,


going back to OpenJUMPO roadmap 
(http://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=OpenJUMP_Roadmap)
 
OJ 1.5 "Other UI Improvements"   size of toolbar icon is varying (3 first 
icons too small, Sextante icon very small...) 

I made some modifications to the icons and I found this solution.
I add to this mail the modified icons

This is the solution, I think, with less modifications in the OJ core

*   New Task  *
A) In the folder com.vividsolutions.jump.workbench.ui.images  add this icon 
'layout_add_big.png'

B) In JumpConfiguration.java
Modify

 frame.getToolBar().addPlugIn(NewTaskPlugIn.getIcon(),
            newTaskPlugIn,
            NewTaskPlugIn.createEnableCheck(workbenchContext),
                workbenchContext);    
To

 frame.getToolBar().addPlugIn(IconLoader.icon("layout_add_big.png"),
            newTaskPlugIn,
            NewTaskPlugIn.createEnableCheck(workbenchContext),
                workbenchContext);   

*   Open Wizard  *

a) In the folder org.openjump.core.ui.images 
add this icon 'folder_add_big.png'

b) On OpenWizardPlugin (org.openjump.core.ui.plugin.file)

Modify

  // Add tool-bar Icon
    WorkbenchToolBar toolBar = frame.getToolBar();
    toolBar.addPlugIn(1, this, icon, enableCheck, workbenchContext);

To

  // garuta 21.11.2011 Add tool-bar Icon 20x20
    WorkbenchToolBar toolBar = frame.getToolBar();
    toolBar.addPlugIn(1, this, IconLoader.icon("folder_add_big.png"), 
enableCheck, workbenchContext);


*   Save Datasets PlugIn  *

a) In the folder org.openjump.core.ui.images 
add this icon 'disk_multiple_big.png'

b) on SaveDatasetsPlugIn (org.openjump.core.ui.plugin.mousemenu)

modify the line

 // Add tool-bar Icon
    WorkbenchToolBar toolBar = frame.getToolBar();
    toolBar.addPlugIn(2, this, ICON, enableCheck, workbenchContext);

to

 // Add tool-bar Icon
  // garuta 21.11.2011 Add tool-bar Icon 20x20
    WorkbenchToolBar toolBar = frame.getToolBar();
    toolBar.addPlugIn(2, this, IconLoader.icon("disk_multiple_big.png"), 
enableCheck, workbenchContext);

***

With these modifications we are a little bit closer to OJ 1.5


regards


Peppe<><><>--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] oj startup duration

2011-11-22 Thread Giuseppe Aruta


Hi Michael,

thanks for the job

>I can also remove all images from FillPaterns but a dozen


I prefer, if other developers agree, to move either all images into another 
folder and not in FillPatterns one


>I'm quite sure the startup duration problem is due to Sextante
  PlugIn, not JumpFillPattern.
>From a CORE installation, loading patterns or not makes about no
  difference (between 5 and 7s) 
>From PLUS installation I get about 12 s with FilPatterns and
  without sextante and more than 30 with Sextante


It could be. AFAIR also Kosmo was a bit slower with the same configuration 
(Sextante set on, when Kosmo is loading)

regards

Giuseppe

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel