chubbymaggie / synoptic

Automatically exported from code.google.com/p/synoptic
0 stars 0 forks source link

Allow example logs to input multiple reg exps #151

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently all example logs in the input panel contain only one single regular 
expression. It is possible that we use an example log that contains multiple 
regular expressions, and our current InputPanel and InputExample enum don't 
support that.

The basic modifications to achieve this will be:
1. The InputExample enum contains a single String field for a regular 
expression. Change that to be a List<String> field.
2. There is a method in InputPanel class called setInputs which can set all the 
inputs from the given parameters. Change the String reg exp parameter to be of 
type List<String>.
3. We'll need to edit the ExampleLinkHandler in the InputPanel to properly 
handle making a new input text area for each extra reg exp associated with the 
example log.

Original issue reported on code.google.com by kevin.a....@gmail.com on 15 Nov 2011 at 8:27

GoogleCodeExporter commented 9 years ago

Original comment by kevin.a....@gmail.com on 15 Nov 2011 at 8:28