public class DeleteLineCommand extends CategoryLineCommand
category, lineNumber
commandUUID, comment
Constructor and Description |
---|
DeleteLineCommand() |
Modifier and Type | Method and Description |
---|---|
void |
doCommand(Project project,
AbstractDataContainer container)
Do command on project.
|
void |
fromStringRepresentation(String representation)
Init command from string representation.
|
String |
getDescription(Project project,
AbstractDataContainer container)
Return human readable string for ui display (used in selection replay,
and undo redo commands).
|
String |
getLogString(Project project,
AbstractDataContainer container)
Return human readable string for log output.
|
String |
toString() |
String |
toStringRepresentation()
Get command argument string representation.
|
void |
undoCommand(Project project,
AbstractDataContainer container)
Undo command on project.
|
getCategory, getLineNumber, setCategory, setLineNumber
getCommandUUID, getComment, setCommandUUID, setComment
public void doCommand(Project project, AbstractDataContainer container) throws CoserBusinessException
Command
doCommand
in class Command
project
- projectcontainer
- containerCoserBusinessException
public void undoCommand(Project project, AbstractDataContainer container) throws CoserBusinessException
Command
undoCommand
in class Command
project
- projectcontainer
- containerCoserBusinessException
public String toStringRepresentation()
Command
toStringRepresentation
in class Command
public void fromStringRepresentation(String representation)
Command
fromStringRepresentation
in class Command
representation
- string command representationpublic String getLogString(Project project, AbstractDataContainer container)
Command
getLogString
in class Command
project
- used to convert species codecontainer
- rarement utile, mais dans certains cas, sert a avoir les
vrais valeur de champs au lieu des noms techniquespublic String getDescription(Project project, AbstractDataContainer container)
Command
getDescription
in class Command
project
- used to convert species codecontainer
- rarement utile, mais dans certains cas, sert a avoir les
vrais valeur de champs au lieu des noms techniquesCopyright © 2010–2015 Ifremer. All rights reserved.