|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISynchronizeModelElement
These are elements created to display synchronization state to the user. These elements are found in
the generated diff tree viewer created by a SubscriberParticipant
. Since it implements
ITypedElement
and ICompareInput
they can be used as input to compare components.
Clients typically use this class as is, but may subclass if required.
Field Summary | |
---|---|
static java.lang.String |
BUSY_PROPERTY
Property constant indicating that the element is currently being worked on by an operation. |
static java.lang.String |
PROPAGATED_CONFLICT_PROPERTY
Property constant indicating that the element has children that are conflicting. |
static java.lang.String |
PROPAGATED_ERROR_MARKER_PROPERTY
Property constant identifying that this element or one of its children has an error marker. |
static java.lang.String |
PROPAGATED_WARNING_MARKER_PROPERTY
Property constant indicating that this element or one of its children has a warning marker. |
Fields inherited from interface org.eclipse.compare.ITypedElement |
---|
FOLDER_TYPE, TEXT_TYPE, UNKNOWN_TYPE |
Method Summary | |
---|---|
void |
addPropertyChangeListener(IPropertyChangeListener listener)
Adds a listener for changes to properties of this synchronize element. |
ImageDescriptor |
getImageDescriptor(java.lang.Object element)
The image descriptor describing the given element. |
boolean |
getProperty(java.lang.String propertyName)
Return whether this element has the given property assigned. |
IResource |
getResource()
Returns the resource this element is showing synchronization information for or null
if the element does not have an associated local resource. |
void |
removePropertyChangeListener(IPropertyChangeListener listener)
Removes the given property change listener from this model element. |
void |
setProperty(java.lang.String propertyName,
boolean value)
Assigns the given property to this element. |
void |
setPropertyToRoot(java.lang.String propertyName,
boolean value)
Assigns the given property to this element and all it's parents. |
Methods inherited from interface org.eclipse.compare.structuremergeviewer.IDiffContainer |
---|
add, getChildren, hasChildren, removeToRoot |
Methods inherited from interface org.eclipse.compare.structuremergeviewer.IDiffElement |
---|
getKind, getParent, setParent |
Methods inherited from interface org.eclipse.compare.ITypedElement |
---|
getImage, getName, getType |
Methods inherited from interface org.eclipse.compare.structuremergeviewer.ICompareInput |
---|
addCompareInputChangeListener, copy, getAncestor, getImage, getKind, getLeft, getName, getRight, removeCompareInputChangeListener |
Field Detail |
---|
static final java.lang.String BUSY_PROPERTY
static final java.lang.String PROPAGATED_CONFLICT_PROPERTY
static final java.lang.String PROPAGATED_ERROR_MARKER_PROPERTY
static final java.lang.String PROPAGATED_WARNING_MARKER_PROPERTY
Method Detail |
---|
void addPropertyChangeListener(IPropertyChangeListener listener)
listener
- the listener to registervoid removePropertyChangeListener(IPropertyChangeListener listener)
listener
- the listener to removevoid setPropertyToRoot(java.lang.String propertyName, boolean value)
propertyName
- the property name to setvalue
- the value of the propertyvoid setProperty(java.lang.String propertyName, boolean value)
propertyName
- the property namevalue
- the value of the property.boolean getProperty(java.lang.String propertyName)
propertyName
- the property to test for
true
if the property is set and false
otherwise.ImageDescriptor getImageDescriptor(java.lang.Object element)
element
- the model element for which to return an image.
IResource getResource()
null
if the element does not have an associated local resource.
null
if the element does not have an associated local resource.
|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.