Revision 40717

View differences:

trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/resources-plugin/i18n/text.properties
1163 1163
_Layer_order_in_TOC=Orden de capas en el TOC
1164 1164
_Order=Orden
1165 1165
_Description=Descripci?n
1166
_Option_not_available_for_this_geometry_type=Opci?n no disponible para este tipo de geometr?a
trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/resources-plugin/i18n/text_en.properties
1084 1084
_Layer_order_in_TOC=Layer order in TOC
1085 1085
_Order=Sorting
1086 1086
_Description=Description
1087
_Option_not_available_for_this_geometry_type=Option not available for this geometry type
1087 1088

  
1088 1089

  
1089 1090

  
trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.labeling.app/org.gvsig.labeling.app.mainplugin/src/main/java/org/gvsig/labeling/gui/layerproperties/LabelClassProperties.java
691 691
			
692 692
			SingleStyleSelectorFilter filter =
693 693
					new SingleStyleSelectorFilter(ILabelStyle.class);
694
			StyleSelector stySel = new StyleSelector(myStyle, geotype, filter);
695

  
694
			StyleSelector stySel = null;
695
			
696
			try {
697
				stySel = new StyleSelector(myStyle, geotype, filter);
698
			} catch (IllegalArgumentException iae) {
699
				JOptionPane.showMessageDialog(this,
700
						Messages.getText("_Option_not_available_for_this_geometry_type"),
701
						getWindowInfo().getTitle(),
702
						JOptionPane.WARNING_MESSAGE);
703
				return;
704
			}
705
			
696 706
			ApplicationLocator.getManager().getUIManager().addWindow(stySel);
697 707
			ILabelStyle sty = (ILabelStyle) stySel.getSelectedObject();
698 708

  

Also available in: Unified diff