public class MergeTextOption extends ConflictOption
ConflictOption.OptionType| Constructor and Description |
|---|
MergeTextOption()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(ConflictOption option)
Add options which should be merged.
|
String |
getFullOptionLabel()
Returns the complete option label.
|
String |
getMergedText()
Get merged text.
|
String |
getMyText()
Returns "my" text.
|
Set<AbstractOperation> |
getOperations()
Returns the operations, stored in this option.
|
String |
getTheirString()
Returns "their" text.
|
void |
setMergedText(String text)
Set resulted merged text.
|
addOperations, getDetailProvider, getOptionLabel, getStrippedOptionLabel, getType, hasExtraOptionAction, isDetailsProvider, optionChosen, setDetailProvider, setOptionLabelpublic void add(ConflictOption option)
option - other optionpublic String getFullOptionLabel()
getFullOptionLabel in class ConflictOptionpublic String getMyText()
public String getTheirString()
public Set<AbstractOperation> getOperations()
getOperations in class ConflictOptionpublic void setMergedText(String text)
text - textpublic String getMergedText()
Copyright © 2017. All rights reserved.