net.sourceforge.plantuml.command
Class CommandMultilines2<S extends Diagram>

java.lang.Object
  extended by net.sourceforge.plantuml.command.CommandMultilines2<S>
All Implemented Interfaces:
Command<S>
Direct Known Subclasses:
CommandActivityLong3, CommandCreateClassMultilines, CommandCreateElementMultilines, CommandCreateEntityObjectMultilines, CommandLinkLongActivity, CommandLinkLongActivity2, CommandMouseOver, CommandMultilinesLegend, CommandNoteLong3

public abstract class CommandMultilines2<S extends Diagram>
extends java.lang.Object
implements Command<S>


Constructor Summary
CommandMultilines2(RegexConcat patternStart, MultilinesStrategy strategy)
           
 
Method Summary
protected  void actionIfCommandValid()
           
 CommandExecutionResult execute(S system, java.util.List<java.lang.String> lines)
           
abstract  CommandExecutionResult executeNow(S system, java.util.List<java.lang.String> lines)
           
 java.lang.String[] getDescription()
           
abstract  java.lang.String getPatternEnd()
           
protected  RegexConcat getStartingPattern()
           
protected  boolean isCommandForbidden()
           
 CommandControl isValid(java.util.List<java.lang.String> lines)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandMultilines2

public CommandMultilines2(RegexConcat patternStart,
                          MultilinesStrategy strategy)
Method Detail

getPatternEnd

public abstract java.lang.String getPatternEnd()

getDescription

public java.lang.String[] getDescription()
Specified by:
getDescription in interface Command<S extends Diagram>

isValid

public final CommandControl isValid(java.util.List<java.lang.String> lines)
Specified by:
isValid in interface Command<S extends Diagram>

execute

public final CommandExecutionResult execute(S system,
                                            java.util.List<java.lang.String> lines)
Specified by:
execute in interface Command<S extends Diagram>

executeNow

public abstract CommandExecutionResult executeNow(S system,
                                                  java.util.List<java.lang.String> lines)

isCommandForbidden

protected boolean isCommandForbidden()

actionIfCommandValid

protected void actionIfCommandValid()

getStartingPattern

protected final RegexConcat getStartingPattern()


Copyright © 2013. All Rights Reserved.