{
//First create the regex item
String regExItem ="";
for(int It=0;It<pattern.size();It++)
{
PatternItem item = pattern.get(It);
if(item.getType() == PatternItem.Type.LITTERAL)
regExItem += item.getValue();
if(item.getType() == PatternItem.Type.REFERENCE)
{
IParametersComponent component = componentsList.get(item.getValue());
if(component.isValid() == false)
{
JOptionPane.showMessageDialog(null,
Application.messages.getString("CREATION_PANEL_CHOOSE_PARAMETER_FIRST_TEXT") + "\n" + parametersDescription.get(item.getValue()),
Application.messages.getString("CREATION_PANEL_CHOOSE_PARAMETER_FIRST_TITLE"),
JOptionPane.INFORMATION_MESSAGE);
return;
}
regExItem += component.getValue();