Hi,

Let me check if I understand your problem :
you have a vector layer representing a grid where each cell contains a 
reference to an image which is on your hard disk.
You want to load that image when you select a cell in your grid.
Am I right ?

If this is your problem, you must add a listener to your LayerViewPanel
to know when the selection change
LayerViewPanel#addListener(new LayerViewPanelListener)
and in the selectionChange method of the listener, implement the raster 
loading,
taking example in the plugins in charge of opening raster layers

Michaël

> HI,
>
> I know how to zoom,but my question is link grid with raster images.iech grid 
> have number.so when i click the grid corresponging raster image should open.
>
> Thank You,
> Tintu Mary George
>
> ________________________________________
> From: jump-pilot-devel-requ...@lists.sourceforge.net
> Sent: Monday, June 24, 2013 11:45 AM
> To: jump-pilot-devel@lists.sourceforge.net
> Subject: Jump-pilot-devel Digest, Vol 85, Issue 18
>
> Send Jump-pilot-devel mailing list submissions to
>          jump-pilot-devel@lists.sourceforge.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
>          https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> or, via email, send a message with subject or body 'help' to
>          jump-pilot-devel-requ...@lists.sourceforge.net
>
> You can reach the person managing the list at
>          jump-pilot-devel-ow...@lists.sourceforge.net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Jump-pilot-devel digest..."
>
>
> Today's Topics:
>
>     1. How to remove the menus from nenu bar in openjump.
>        (Tintu mary George)
>     2. Re: How to remove the menus from nenu bar in openjump.
>        (Benjamin Gudehus)
>     3. Fwd: [Jts-topo-suite-user] JTSTestBuilder Problem on      Mac &
>        solution (Stefan Steiniger)
>     4. how to link raster images to grid (Tintu mary George)
>     5. Re: how to link raster images to grid (Stefan Steiniger)
>     6. Re: how to link raster images to grid (Rahkonen Jukka)
>     7. FW: how to link raster images to grid (Tintu mary George)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 21 Jun 2013 11:01:33 +0000
> From: Tintu mary George <tintu.geo...@rptechsoft.com>
> Subject: [JPP-Devel] How to remove the menus from nenu bar in
>          openjump.
> To: "jump-pilot-devel@lists.sourceforge.net"
>          <jump-pilot-devel@lists.sourceforge.net>
> Message-ID:
>          
> <807b7859d6634fc1b0e187157b1d1...@hkxpr06mb023.apcprd06.prod.outlook.com>
>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi,
>
> I need to remove some menus from menu bar.For that i edit the 
> JUMPConfiguration.java
> But still i have menus.I need to remove
> Edit,Customize  menus
> Please help me to remove the menu.
>
> Thank you
>
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 21 Jun 2013 15:32:28 +0200
> From: Benjamin Gudehus <hasteb...@gmail.com>
> Subject: Re: [JPP-Devel] How to remove the menus from nenu bar in
>          openjump.
> To: OpenJump develop and use <jump-pilot-devel@lists.sourceforge.net>
> Message-ID:
>          <CANdUZf_gDTaKZNUO_VVzLSJAkdyhjtBTiq=aYbd7pc=5ahn...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi!
>
> I need to remove some menus from menu bar.For that i edit the
>> JUMPConfiguration.java
>> But still i have menus.I need to remove
>> Edit,Customize  menus
>> Please help me to remove the menu.
>>
> The plugins are configuraed in
> com.vividsolutions.jump.workbench.JUMPConfiguration and
> org.openjump.OpenJumpConfiguration. Your might have a look into
> OpenJumpConfiguration to remove the menu items.
>
> You could also use your IDE's usage search to find the plugins. A list to
> find which menu item is which plugin is here:
> https://gist.github.com/hastebrot/1361280#file-oj-142-bin-workbench-txt
>
> --Benjamin
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 3
> Date: 21 Jun 2013 11:51:21 -0400
> From: "Stefan Steiniger" <sst...@geo.uzh.ch>
> Subject: [JPP-Devel] Fwd: [Jts-topo-suite-user] JTSTestBuilder Problem
>          on      Mac & solution
> To: "OpenJump develop and use"
>          <jump-pilot-devel@lists.sourceforge.net>
> Message-ID: <51c47679.6080...@geo.uzh.ch>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> FYI,
>
> see below.
> As I am not updating Java on my Mac since a while, I am not able to test
> if that affects OJ too?
>
> stefan
>
>
> -------- Original-Nachricht --------
> Betreff: [Jts-topo-suite-user] JTSTestBuilder Problem on Mac & solution
> Datum: Fri, 21 Jun 2013 15:33:06 +0200
> Von: Michael Kussmaul <kussmaul.l...@nix.ch>
> An: jts-topo-suite-u...@lists.sourceforge.net
> <jts-topo-suite-u...@lists.sourceforge.net>
>
> Hi
>
> Apple recently released a new java-update (1.6.0_51) which broke many
> swing-GUI apps - JTSTestBuilder seems also broken :-) The GUI just does
> not seem to accept any mouse-interaction anymore.
>
> Now, it seems this java update enforces a security convention which was
> tolerated in the past (so it might fail on other Oracle
> java-implementations as well, perhaps in the future?).
>
> The problem is: Setting the look-and-feel needs to be done on the
> Swing-Thread. So the fix is relatively easy, you should just wrap it to
> be called on the correct thread - you need to edit one file (see below).
>
> I just posted this if someone else experienced the same problem... feel
> free to include it in jts-repository if you like.
>
> kind regards
> Michael
>
>
> jtsapp/src/main/java/com/vividsolutions/jtstest/testbuilder/JTSTestBuilder.java:
> ===================================================================
> --- JTSTestBuilder.java (revision 831)
> +++ JTSTestBuilder.java (working copy)
> @@ -149,11 +149,20 @@
>
>          // set the look and feel, using user-defined LAF if present
>          // eg. Metal -
> -Dswing.defaultlaf=javax.swing.plaf.metal.MetalLookAndFeel
> -      String laf = System.getProperty("swing.defaultlaf");
> -      if (laf == null) {
> -        laf = UIManager.getSystemLookAndFeelClassName();
> -      }
> -      UIManager.setLookAndFeel(laf);
> +        javax.swing.SwingUtilities.invokeAndWait(new Runnable() {
> +        public void run() {
> +            try {
> +               String laf = System.getProperty("swing.defaultlaf");
> +                       if (laf == null) {
> +                                 laf = 
> UIManager.getSystemLookAndFeelClassName();
> +                       }
> +                javax.swing.UIManager.setLookAndFeel(laf);
> +            } catch (Exception e) {
> +                e.printStackTrace();
> +            }
> +                }
> +       });
> +
>
>          app = new JTSTestBuilder();
>          app.initFrame();
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Jts-topo-suite-user mailing list
> jts-topo-suite-u...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user
>
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Sat, 22 Jun 2013 10:26:11 +0000
> From: Tintu mary George <tintu.geo...@rptechsoft.com>
> Subject: [JPP-Devel] how to link raster images to grid
> To: "jump-pilot-devel@lists.sourceforge.net"
>          <jump-pilot-devel@lists.sourceforge.net>
> Message-ID:
>          
> <62749c6b780d412fb4674cf1ac620...@hkxpr06mb023.apcprd06.prod.outlook.com>
>
> Content-Type: text/plain; charset="us-ascii"
>
>
>
> Hi stefan,
>
> I have one question ,
>
> I have one grids layer.each grid related to each raster images.My question 
> is, When i select  one grid,the corressponding raster image should be zoomed 
> out. PLease tell me how to link the raster with this grid and open raster.
>
> Thanks in advance.
>
>
>
>
>
>
>
>
>
> ------------------------------
>
> Message: 5
> Date: 22 Jun 2013 12:34:43 -0400
> From: "Stefan Steiniger" <sst...@geo.uzh.ch>
> Subject: Re: [JPP-Devel] how to link raster images to grid
> To: jump-pilot-devel@lists.sourceforge.net
> Message-ID: <51c5d223.9040...@geo.uzh.ch>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi Tintu,
>
> I am not understanding your question.
> What do you mean with "grid"?
>
> If you want to zoom out, you should check for the "grid"/image extents.
> As far as I know you are doing professional development for a company -
> so I would assume you are an advanced programmer? Anyway - my advise is
> to look at the function (and their plugin classes) that do something
> similar and learn by reading and re-assembling the code.
> In you case, how to access rasters can be gained from the profiling
> function or the convert raster to vector layer function. How to zooming
> to a layer is in the zoom to (vector) layer function (in the layer
> context menu).
>
> Another tip: you can find the associated plugins to functions by
> searching for the function name in the language file. Then, to each
> function name (string in the GUI), the key value for that string is
> containing the package and class name.
>
> best,
> stefan
>
> Am 22.06.13 06:26, schrieb Tintu mary George:
>>
>> Hi stefan,
>>
>> I have one question ,
>>
>> I have one grids layer.each grid related to each raster images.My question 
>> is, When i select  one grid,the corressponding raster image should be zoomed 
>> out. PLease tell me how to link the raster with this grid and open raster.
>>
>> Thanks in advance.
>>
>>
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by Windows:
>>
>> Build for Windows Store.
>>
>> http://p.sf.net/sfu/windows-dev2dev
>> _______________________________________________
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>
>
>
> ------------------------------
>
> Message: 6
> Date: Sat, 22 Jun 2013 16:58:53 +0000
> From: Rahkonen Jukka <jukka.rahko...@mmmtike.fi>
> Subject: Re: [JPP-Devel] how to link raster images to grid
> To: OpenJump develop and use <jump-pilot-devel@lists.sourceforge.net>
> Message-ID:
>          <84446def76453c439e9e97e438e13a63c16...@suutari.haapa.mmm.fi>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi,
>
> I do not quite understand the original question either, but if it has 
> something to do with building a continuous image coverage where one image 
> file presents the area of one grid cell, then perhaps the existing Image 
> Layer tool gives a starting point.
> http://latuviitta.org/documents/OpenJUMP_image_layer_tool.pdf
>
> -Jukka Rahkonen-
> ________________________________________
> Stefan Steiniger wrote:
>
>> Hi Tintu,
>> I am not understanding your question.
> What do you mean with "grid"?
>
>> If you want to zoom out, you should check for the "grid"/image extents.
> As far as I know you are doing professional development for a company -
> so I would assume you are an advanced programmer? Anyway - my advise is
> to look at the function (and their plugin classes) that do something
> similar and learn by reading and re-assembling the code.
> In you case, how to access rasters can be gained from the profiling
> function or the convert raster to vector layer function. How to zooming
> to a layer is in the zoom to (vector) layer function (in the layer
> context menu).
>
> Another tip: you can find the associated plugins to functions by
> searching for the function name in the language file. Then, to each
> function name (string in the GUI), the key value for that string is
> containing the package and class name.
>
> best,
> stefan
>
> Am 22.06.13 06:26, schrieb Tintu mary George:
>>
>> Hi stefan,
>>
>> I have one question ,
>>
>> I have one grids layer.each grid related to each raster images.My question 
>> is, When i select  one grid,the corressponding raster image should be zoomed 
>> out. PLease tell me how to link the raster with this grid and open raster.
>>
>> Thanks in advance.
>>
>>
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by Windows:
>>
>> Build for Windows Store.
>>
>> http://p.sf.net/sfu/windows-dev2dev
>> _______________________________________________
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>
>
> ------------------------------
>
> Message: 7
> Date: Mon, 24 Jun 2013 06:15:03 +0000
> From: Tintu mary George <tintu.geo...@rptechsoft.com>
> Subject: [JPP-Devel] FW: how to link raster images to grid
> To: "jump-pilot-devel@lists.sourceforge.net"
>          <jump-pilot-devel@lists.sourceforge.net>
> Message-ID:
>          
> <ef5a0b8f75544dec865553bab0988...@hkxpr06mb023.apcprd06.prod.outlook.com>
>
> Content-Type: text/plain; charset="us-ascii"
>
> Can you please reply for this??
>
> Thank You,
> Tintu Mary George
>
> ________________________________________
> From: Tintu mary George
> Sent: Saturday, June 22, 2013 3:56 PM
> To: jump-pilot-devel@lists.sourceforge.net
> Subject: how to link raster images to grid
>
> Hi stefan,
>
> I have one question ,
>
> I have one grids layer.each grid related to each raster images.My question 
> is, When i select  one grid,the corressponding raster image should be zoomed 
> out. PLease tell me how to link the raster with this grid and open raster.
>
> Thanks in advance.
>
>
>
>
>
>
>
>
>
> ------------------------------
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
>
> ------------------------------
>
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>
> End of Jump-pilot-devel Digest, Vol 85, Issue 18
> ************************************************
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to