use of org.eclipse.titan.common.parsers.AddedParseTree in project titan.EclipsePlug-ins by eclipse.
the class IncludeSubPage method createNewIncludeSection.
private void createNewIncludeSection() {
if (includeSectionHandler == null) {
return;
}
ParserRuleContext sectionRoot = new ParserRuleContext();
includeSectionHandler.setLastSectionRoot(sectionRoot);
ParseTree header = new AddedParseTree("\n[INCLUDE]");
ConfigTreeNodeUtilities.addChild(sectionRoot, header);
ParserRuleContext root = editor.getParseTreeRoot();
if (root != null) {
root.addChild(sectionRoot);
}
}
use of org.eclipse.titan.common.parsers.AddedParseTree in project titan.EclipsePlug-ins by eclipse.
the class GeneralOptionsSubPage method createLogFileNumberNode.
private void createLogFileNumberNode(final LoggingSectionHandler.LoggerTreeElement lte, final LogParamEntry logentry, final String value) {
logentry.setLogfileNumberRoot(new ParserRuleContext());
logentry.setLogfileNumber(new AddedParseTree(value));
createNode(lte, logentry, value, "LogFileNumber", logentry.getLogfileNumberRoot(), logentry.getLogfileNumber());
}
use of org.eclipse.titan.common.parsers.AddedParseTree in project titan.EclipsePlug-ins by eclipse.
the class GeneralOptionsSubPage method createConsoleTimeStampFormatNode.
private void createConsoleTimeStampFormatNode(final LoggingSectionHandler.LoggerTreeElement lte, final LogParamEntry logentry, final String value) {
logentry.setConsoleTimestampFormatRoot(new ParserRuleContext());
logentry.setConsoleTimestampFormat(new AddedParseTree(value));
createNode(lte, logentry, value, "ConsoleTimeStampFormat", logentry.getConsoleTimestampFormatRoot(), logentry.getConsoleTimestampFormat());
}
use of org.eclipse.titan.common.parsers.AddedParseTree in project titan.EclipsePlug-ins by eclipse.
the class GeneralOptionsSubPage method createLogFileSizeNode.
private void createLogFileSizeNode(final LoggingSectionHandler.LoggerTreeElement lte, final LogParamEntry logentry, final String value) {
logentry.setLogfileSizeRoot(new ParserRuleContext());
logentry.setLogfileSize(new AddedParseTree(value));
createNode(lte, logentry, value, "LogFileSize", logentry.getLogfileSizeRoot(), logentry.getLogfileSize());
}
use of org.eclipse.titan.common.parsers.AddedParseTree in project titan.EclipsePlug-ins by eclipse.
the class GeneralOptionsSubPage method createLogEntityNameNode.
private void createLogEntityNameNode(final LoggingSectionHandler.LoggerTreeElement lte, final LogParamEntry logentry, final String value) {
logentry.setLogEntityNameRoot(new ParserRuleContext());
logentry.setLogEntityName(new AddedParseTree(value));
createNode(lte, logentry, value, "LogEntityName", logentry.getLogEntityNameRoot(), logentry.getLogEntityName());
}
Aggregations