public class MergeDataImpl extends AdapterImpl implements IMergeData
Adapter.Internal
target
Constructor and Description |
---|
MergeDataImpl(boolean leftEditable,
boolean rightEditable)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isAdapterForType(Object type) |
boolean |
isLeftEditable()
Returns whether the left side of the comparison is editable.
|
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 |
setRightEditable(boolean rightEditable)
Set whether the right side of the comparison is editable.
|
getTarget, notifyChanged, setTarget, unsetTarget
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTarget, notifyChanged, setTarget
public MergeDataImpl(boolean leftEditable, boolean rightEditable)
leftEditable
- Left side editable.rightEditable
- Right side editable.public boolean isLeftEditable()
isLeftEditable
in interface IMergeData
IMergeData.isLeftEditable()
public boolean isRightEditable()
isRightEditable
in interface IMergeData
IMergeData.isRightEditable()
public boolean isAdapterForType(Object type)
isAdapterForType
in interface Adapter
isAdapterForType
in class AdapterImpl
public void setLeftEditable(boolean leftEditable)
setLeftEditable
in interface IMergeData
leftEditable
- whether the left side of the comparison is editable.IMergeData.setLeftEditable(boolean)
public void setRightEditable(boolean rightEditable)
setRightEditable
in interface IMergeData
rightEditable
- whether the right side of the comparison is editable.IMergeData.setRightEditable(boolean)
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.