use of com.revolsys.swing.map.layer.record.style.panel.LayerStylePanel in project com.revolsys.open by revolsys.
the class GriddedElevationModelLayer method newPropertiesPanelStyle.
protected void newPropertiesPanelStyle(final TabbedValuePanel propertiesPanel) {
if (getRenderer() != null) {
final LayerStylePanel stylePanel = new LayerStylePanel(this);
propertiesPanel.addTab("Style", "palette", stylePanel);
}
}
use of com.revolsys.swing.map.layer.record.style.panel.LayerStylePanel in project com.revolsys.open by revolsys.
the class TiledGriddedElevationModelLayer method newPropertiesPanelStyle.
protected void newPropertiesPanelStyle(final TabbedValuePanel propertiesPanel) {
if (getRenderer() != null) {
final LayerStylePanel stylePanel = new LayerStylePanel(this);
propertiesPanel.addTab("Style", "palette", stylePanel);
}
}
use of com.revolsys.swing.map.layer.record.style.panel.LayerStylePanel in project com.revolsys.open by revolsys.
the class GridLayer method newPropertiesPanelStyle.
protected void newPropertiesPanelStyle(final TabbedValuePanel propertiesPanel) {
if (getRenderer() != null) {
final LayerStylePanel stylePanel = new LayerStylePanel(this);
propertiesPanel.addTab("Style", "palette", stylePanel);
}
}
use of com.revolsys.swing.map.layer.record.style.panel.LayerStylePanel in project com.revolsys.open by revolsys.
the class Layer method showRendererProperties.
default void showRendererProperties(final LayerRenderer<?> renderer) {
final MapPanel map = getMapPanel();
if (map != null && isExists() && checkShowProperties()) {
try {
final Window window = SwingUtilities.getWindowAncestor(map);
final TabbedValuePanel panel = newPropertiesPanel();
panel.setSelectdTab("Style");
final LayerStylePanel stylePanel = panel.getTab("Style");
if (stylePanel != null) {
stylePanel.setSelectedRenderer(renderer);
panel.showDialog(window);
}
refresh();
} finally {
removeProperty("INTERNAL_PROPERTIES_VISIBLE");
}
}
}
use of com.revolsys.swing.map.layer.record.style.panel.LayerStylePanel in project com.revolsys.open by revolsys.
the class AbstractRecordLayer method newPropertiesPanelStyle.
protected void newPropertiesPanelStyle(final TabbedValuePanel propertiesPanel) {
if (getRenderer() != null) {
final LayerStylePanel stylePanel = new LayerStylePanel(this);
propertiesPanel.addTab("Style", "palette", stylePanel);
}
}
Aggregations