[udig-devel] Promblems in the SelectCommand???

Ángel Nevado angelluisnevado at gmail.com
Thu Nov 23 23:56:13 PST 2006


Hello! I'm a software developer and I'm working with uDig (v. 1.1 RC4).


I'm trying to show a layer feature selection from a filter using the
SelectCommand class.

But I have a problem! The layer feature selection doesn't appear. I
have had to create a
new filter using FIDFilter because the command fails using a
CompareFilter instance.

The code to get the feature selection is as shown:
			
			
			//The SelectCommand class use the setFilter method of the Layer interface
			command = SelectionCommandFactory.getInstance().createSelectCommand(layer,
filters);
			context.sendSyncCommand(command);

			
			

What's the problem?



Thank you.


More information about the udig-devel mailing list