91 |
import schmitzm.geotools.styling.StylingUtil; |
import schmitzm.geotools.styling.StylingUtil; |
92 |
import schmitzm.io.IOUtil; |
import schmitzm.io.IOUtil; |
93 |
import schmitzm.lang.LangUtil; |
import schmitzm.lang.LangUtil; |
94 |
|
import schmitzm.swing.ExceptionDialog; |
95 |
import schmitzm.swing.JPanel; |
import schmitzm.swing.JPanel; |
96 |
import schmitzm.swing.SwingUtil; |
import schmitzm.swing.SwingUtil; |
97 |
import skrueger.AttributeMetadataImpl; |
import skrueger.AttributeMetadataImpl; |
943 |
final SimpleFeatureType featureType, final int iconWidth, |
final SimpleFeatureType featureType, final int iconWidth, |
944 |
final int iconHeight) { |
final int iconHeight) { |
945 |
|
|
946 |
|
if (featureType == null) { |
947 |
|
ExceptionDialog.show(new IllegalStateException( |
948 |
|
"featureType is null!")); |
949 |
|
return new JPanel(); |
950 |
|
} |
951 |
|
|
952 |
final List<FeatureTypeStyle> list = style.featureTypeStyles(); |
final List<FeatureTypeStyle> list = style.featureTypeStyles(); |
953 |
|
|
954 |
final JPanel panel = new JPanel(new MigLayout("wrap 2", "[]:3:[]")); |
final JPanel panel = new JPanel(new MigLayout("wrap 2", "[]:3:[]")); |