public abstract class CommandMultilinesBracket<S extends Diagram> extends Object implements Command<S>
Constructor and Description |
---|
CommandMultilinesBracket(String patternStart) |
Modifier and Type | Method and Description |
---|---|
protected void |
actionIfCommandValid() |
String[] |
getDescription() |
protected Pattern2 |
getStartingPattern() |
protected boolean |
isCommandForbidden() |
protected abstract boolean |
isLineConsistent(String line,
int level) |
CommandControl |
isValid(BlocLines lines) |
public CommandMultilinesBracket(String patternStart)
protected boolean isCommandForbidden()
public String[] getDescription()
getDescription
in interface Command<S extends Diagram>
protected void actionIfCommandValid()
protected final Pattern2 getStartingPattern()
public final CommandControl isValid(BlocLines lines)
protected abstract boolean isLineConsistent(String line, int level)
Copyright © 2017. All Rights Reserved.