use of com.sldeditor.ui.attribute.DataSourceAttributePanel in project sldeditor by robward-scisys.
the class ExpressionSubPanel method setUpPropertyPanel.
/**
* Sets the up property panel.
*/
protected void setUpPropertyPanel() {
panelAttribute = new JPanel();
FlowLayout fl_panelAttribute = (FlowLayout) panelAttribute.getLayout();
fl_panelAttribute.setAlignment(FlowLayout.LEFT);
rdbtnAttribute = new JRadioButton(Localisation.getString(ExpressionPanelv2.class, "ExpressionPanelv2.attribute"));
rdbtnAttribute.setActionCommand(ATTRIBUTE);
buttonGroup.add(rdbtnAttribute);
panelAttribute.add(rdbtnAttribute);
dataSourceAttributePanel = new DataSourceAttributePanel(new SubPanelUpdatedInterface() {
@Override
public void updateSymbol() {
buttonGroup.setSelected(rdbtnAttribute.getModel(), true);
updateButtonState(true);
}
});
panelAttribute.add(dataSourceAttributePanel);
box.add(panelAttribute);
}
use of com.sldeditor.ui.attribute.DataSourceAttributePanel in project sldeditor by robward-scisys.
the class PropertyPanel method createUI.
/**
* Creates the ui.
*/
private void createUI() {
setLayout(new BorderLayout());
dataSourceAttributePanel = new DataSourceAttributePanel(new SubPanelUpdatedInterface() {
@Override
public void updateSymbol() {
updateButtonState(true);
}
});
add(dataSourceAttributePanel, BorderLayout.NORTH);
add(createApplyRevertPanel(), BorderLayout.CENTER);
}
use of com.sldeditor.ui.attribute.DataSourceAttributePanel in project sldeditor by robward-scisys.
the class EnvironmentVariablePanel method createUI.
/**
* Creates the ui.
*/
private void createUI() {
setLayout(new BorderLayout());
dataSourceAttributePanel = new DataSourceAttributePanel(new SubPanelUpdatedInterface() {
@Override
public void updateSymbol() {
updateButtonState(true);
}
});
add(dataSourceAttributePanel, BorderLayout.NORTH);
add(createApplyRevertPanel(), BorderLayout.CENTER);
}
Aggregations