if (!(modelItem instanceof WsdlProject) || ((WsdlProject) modelItem).isOpen()) {
selectedPropertyHolderTable = new PropertyHolderTable((TestPropertyHolder) modelItem);
if (modelItem instanceof WsdlProject) {
WsdlProject project = (WsdlProject) modelItem;
EnvironmentListener environmentListener = new EnvironmentListener() {
public void propertyValueChanged(Property property) {
selectedPropertyHolderTable.getPropertiesModel().fireTableDataChanged();
}
};
project.addEnvironmentListener(environmentListener);