public class MergeDataImpl extends AdapterImpl implements IMergeData
Adapter.Internaltarget| Constructor and Description |
|---|
MergeDataImpl(boolean leftEditable,
boolean rightEditable)
Constructor.
|
MergeDataImpl(boolean leftEditable,
boolean rightEditable,
boolean mirrored)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAdapterForType(Object type) |
boolean |
isLeftEditable()
Returns whether the left side of the comparison is editable.
|
boolean |
isMirrored()
Returns whether the left and right sides are swapped, i.e., mirrored.
|
boolean |
isRightEditable()
Returns whether the right side of the comparison is editable.
|
void |
setLeftEditable(boolean leftEditable)
Set whether the left side of the comparison is editable.
|
void |
setMirrored(boolean mirrored)
Sets whether the left and right sides are swapped, i.e., mirrored.
|
void |
setRightEditable(boolean rightEditable)
Set whether the right side of the comparison is editable.
|
getTarget, notifyChanged, setTarget, unsetTargetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTarget, notifyChanged, setTargetpublic MergeDataImpl(boolean leftEditable,
boolean rightEditable)
leftEditable - Left side editable.rightEditable - Right side editable.public MergeDataImpl(boolean leftEditable,
boolean rightEditable,
boolean mirrored)
leftEditable - Left side editable.rightEditable - Right side editable.mirrored - Left and right side are swapped, i.e., mirrored.public boolean isLeftEditable()
isLeftEditable in interface IMergeDataIMergeData.isLeftEditable()public boolean isRightEditable()
isRightEditable in interface IMergeDataIMergeData.isRightEditable()public boolean isAdapterForType(Object type)
isAdapterForType in interface AdapterisAdapterForType in class AdapterImplpublic void setLeftEditable(boolean leftEditable)
setLeftEditable in interface IMergeDataleftEditable - whether the left side of the comparison is editable.IMergeData.setLeftEditable(boolean)public void setRightEditable(boolean rightEditable)
setRightEditable in interface IMergeDatarightEditable - whether the right side of the comparison is editable.IMergeData.setRightEditable(boolean)public boolean isMirrored()
isMirrored in interface IMergeDataIMergeData.isMirrored()public void setMirrored(boolean mirrored)
setMirrored in interface IMergeDatamirrored - whether the left and right sides are swapped, i.e., mirrored, false otherwise.IMergeData.setMirrored(boolean)
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.