Class ConfiguratorVariableAdapter
- java.lang.Object
-
- com.e1c.g5.v8.dt.bsl.ui.templates.preferences.ConfiguratorVariableAdapter
-
public class ConfiguratorVariableAdapter extends Object
Class to adapt configurator pattern to the EDT
-
-
Constructor Summary
Constructors Constructor Description ConfiguratorVariableAdapter(IVariableFinder finder)
Creates new instance of this with given finder to find variables inside pattern
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
adaptPattern(String pattern)
Adapts pattern to the EDT representation.
-
-
-
Constructor Detail
-
ConfiguratorVariableAdapter
public ConfiguratorVariableAdapter(IVariableFinder finder)
Creates new instance of this with given finder to find variables inside pattern- Parameters:
finder
- The finder to find variables, cannot benull
-
-
Method Detail
-
adaptPattern
public String adaptPattern(String pattern) throws org.eclipse.text.edits.MalformedTreeException, org.eclipse.jface.text.BadLocationException
Adapts pattern to the EDT representation.- Parameters:
pattern
- The pattern to adapt, cannot benull
- Returns:
- The adapted pattern ,cannot be
null
- Throws:
org.eclipse.text.edits.MalformedTreeException
- andorg.eclipse.jface.text.BadLocationException
- if changes to adapt cannot be applied
-
-