Revision: 4334
http://sourceforge.net/p/jump-pilot/code/4334
Author: ma15569
Date: 2015-03-11 18:10:41 +0000 (Wed, 11 Mar 2015)
Log Message:
-----------
Modified Paths:
--------------
core/trunk/src/org/openjump/core/rasterimage/RasterImageIOUtils.java
Modified: core/trunk/src/org/openjump/core/rasterimage/RasterImageIOUtils.java
===================================================================
--- core/trunk/src/org/openjump/core/rasterimage/RasterImageIOUtils.java
2015-03-11 18:06:13 UTC (rev 4333)
+++ core/trunk/src/org/openjump/core/rasterimage/RasterImageIOUtils.java
2015-03-11 18:10:41 UTC (rev 4334)
@@ -490,9 +490,11 @@
* file to load es D:/Openjump/test.tif
* @param PlugInContext
* Plugin Context
+ * @param Category
+ * . Name of the category to load the file
*/
- public static void loadTIF(File file, PlugInContext context)
+ public static void loadTIF(File file, PlugInContext context, String
catName)
throws NoninvertibleTransformException, TiffReadingException,
Exception {
@@ -511,7 +513,7 @@
RasterImageLayer ril = new RasterImageLayer(file.getName(), context
.getWorkbenchContext().getLayerManager(),
file.getAbsolutePath(), imageAndMetadata.getImage(), env);
- String catName = StandardCategoryNames.RESULT;
+ //String catName = StandardCategoryNames.RESULT;
try {
catName = ((Category) context.getLayerNamePanel()
.getSelectedCategories().toArray()[0]).getName();
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel