|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.emf.emfstore.internal.client.model.changeTracking.merging.conflict.ConflictDescription
public class ConflictDescription
Container for the conflict description. The description contains placeholder marked through surrounding [ ]. The
values for the placeholders are stored in a hashmap. This separation is done in order to support formated text. Use
getResolvedDescription() in order to get a simple string.
| Constructor Summary | |
|---|---|
ConflictDescription(String description)
Default constructor. |
|
| Method Summary | |
|---|---|
void |
add(String key,
Object value)
Add a place holder. |
String |
getDescription()
Get description with placeholders unreplaced. |
String |
getImage()
Return name of image. |
String |
getResolvedDescription()
Resolves description, by replacing the placeholders with it's values. |
Map<String,Object> |
getValues()
Returns values for placeholders. |
void |
setDecisionManager(DecisionManager decisionManager)
Sets the decisionManager. |
void |
setDescription(String description)
Set description. |
void |
setImage(String name)
Set image. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConflictDescription(String description)
description - description| Method Detail |
|---|
public void add(String key,
Object value)
key - keyvalue - valuepublic String getDescription()
getResolvedDescription()public Map<String,Object> getValues()
public String getImage()
public void setImage(String name)
name - name of filepublic void setDescription(String description)
description - textpublic String getResolvedDescription()
public void setDecisionManager(DecisionManager decisionManager)
decisionManager - manager.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||