public class ComparisonScopeInput extends Object implements ICompareInput
Constructor and Description |
---|
ComparisonScopeInput(IComparisonScope scope,
AdapterFactory adapterFactory) |
Modifier and Type | Method and Description |
---|---|
void |
addCompareInputChangeListener(ICompareInputChangeListener listener) |
void |
copy(boolean leftToRight) |
protected void |
fireChange()
Fire a compare input change event.
|
ITypedElement |
getAncestor() |
IComparisonScope |
getComparisonScope() |
Image |
getImage() |
int |
getKind() |
ITypedElement |
getLeft() |
String |
getName() |
ITypedElement |
getRight() |
boolean |
isLeftEditable() |
boolean |
isRightEditable() |
void |
removeCompareInputChangeListener(ICompareInputChangeListener listener) |
void |
setLeftEditable(boolean leftEditable) |
void |
setRightEditable(boolean rightEditable) |
public ComparisonScopeInput(IComparisonScope scope, AdapterFactory adapterFactory)
public IComparisonScope getComparisonScope()
public String getName()
getName
in interface ICompareInput
ICompareInput.getName()
public Image getImage()
getImage
in interface ICompareInput
ICompareInput.getImage()
public int getKind()
getKind
in interface ICompareInput
ICompareInput.getKind()
public ITypedElement getAncestor()
getAncestor
in interface ICompareInput
ICompareInput.getAncestor()
public ITypedElement getLeft()
getLeft
in interface ICompareInput
ICompareInput.getLeft()
public ITypedElement getRight()
getRight
in interface ICompareInput
ICompareInput.getRight()
public void setLeftEditable(boolean leftEditable)
public void setRightEditable(boolean rightEditable)
public boolean isLeftEditable()
public boolean isRightEditable()
public void addCompareInputChangeListener(ICompareInputChangeListener listener)
public void removeCompareInputChangeListener(ICompareInputChangeListener listener)
protected void fireChange()
public void copy(boolean leftToRight)
copy
in interface ICompareInput
ICompareInput.copy(boolean)
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.