if (tabs.getSelectedIndex() == 0)
{
attributeEditorPanel.setAllowAttributeCard(true);
attributeEditorPanel.setAllowDataSourceCard(false);
attributeEditorPanel.setAllowExpressionCard(false);
attributeEditorPanel.reset(activeContext.getSelectionModel());
}
else
{
attributeEditorPanel.setAllowAttributeCard(false);
attributeEditorPanel.setAllowDataSourceCard(true);