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

<<attachment: layout_add_big.png>>

<<attachment: folder_add_big.png>>

<<attachment: disk_multiple_big.png>>

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to