Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] Promblems in the SelectCommand???

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.


Back to the top