25 |
// |
// |
26 |
///** |
///** |
27 |
// * A dialog to show the attribute table of a vector layer. This class implements |
// * A dialog to show the attribute table of a vector layer. This class implements |
28 |
// * a {@link PropertyChangeListener} which is connected to the {@link StyledMapInterface |
// * a {@link PropertyChangeListener} which is connected to the {@link StyledLayerInterface |
29 |
// * StyledMapInterface's} {@link StyledLayerSelectionModel} to keep the table selection |
// * StyledLayerInterface's} {@link StyledLayerSelectionModel} to keep the table selection |
30 |
// * synchronized to other component's selection (e.g. Map or chart). |
// * synchronized to other component's selection (e.g. Map or chart). |
31 |
// */ |
// */ |
32 |
//public class AttributeTableJDialog extends JDialog { |
//public class AttributeTableJDialog extends JDialog { |
43 |
// |
// |
44 |
// protected final MapLayer mapLayer; |
// protected final MapLayer mapLayer; |
45 |
// |
// |
46 |
// private final StyledMapInterface styledObj; |
// private final StyledLayerInterface styledObj; |
47 |
// |
// |
48 |
// private AttributeTableJDialog(Window owner, MapLayer mapLayer, |
// private AttributeTableJDialog(Window owner, MapLayer mapLayer, |
49 |
// final StyledMapInterface styledObj, LayerPanel layerPanel) { |
// final StyledLayerInterface styledObj, LayerPanel layerPanel) { |
50 |
// super(owner); |
// super(owner); |
51 |
// this.styledObj = styledObj; |
// this.styledObj = styledObj; |
52 |
//// setTitle(RES("AttributeTable.dialog.title", styledObj |
//// setTitle(RES("AttributeTable.dialog.title", styledObj |
132 |
// } |
// } |
133 |
// |
// |
134 |
// /** |
// /** |
135 |
// * This class manages itself, that there is always only one instance for any {@link StyledMapInterface} |
// * This class manages itself, that there is always only one instance for any {@link StyledLayerInterface} |
136 |
// * |
// * |
137 |
// * @param dpLayer |
// * @param dpLayer |
138 |
// * The source for the attribute table |
// * The source for the attribute table |
145 |
// * appear. |
// * appear. |
146 |
// */ |
// */ |
147 |
// public static AttributeTableJDialog getInstanceFor(Component comp, |
// public static AttributeTableJDialog getInstanceFor(Component comp, |
148 |
// MapLayer mapLayer, final StyledMapInterface<?> styledObj, |
// MapLayer mapLayer, final StyledLayerInterface<?> styledObj, |
149 |
// LayerPanel layerPanel) { |
// LayerPanel layerPanel) { |
150 |
// |
// |
151 |
// AttributeTableJDialog atlasAttributeTableJDialog = dialogCache |
// AttributeTableJDialog atlasAttributeTableJDialog = dialogCache |