Revision 970 org.gvsig.attributeeditor/trunk/org.gvsig.attributeeditor/org.gvsig.attributeeditor.mapcontrol/src/main/java/org/gvsig/fmap/mapcontrol/tools/Listeners/AttributeEditorPointListener.java

View differences:

AttributeEditorPointListener.java
33 33

  
34 34
import javax.swing.JOptionPane;
35 35
import javax.swing.SwingUtilities;
36
import org.apache.commons.lang3.StringUtils;
36 37

  
37 38
import org.cresques.cts.IProjection;
38 39
import org.gvsig.expressionevaluator.GeometryExpressionBuilder;
......
181 182
                }
182 183
                if (this.form == null) {
183 184
                    this.form = getForm(query);
184
                    this.form.showForm(MODE.TOOL);
185
                    String title =  StringUtils.equalsIgnoreCase(layerName, featureStore.getName())?
186
                            layerName : layerName+"/"+featureStore.getName();
187
                    this.form.showForm(title, MODE.TOOL);
185 188
                } else {
186 189
                    this.form.setQuery(query);
187 190
                }

Also available in: Unified diff