Package org.eclipse.team.ui.synchronize
Interface ISynchronizeModelElement
- All Superinterfaces:
- ICompareInput,- IDiffContainer,- IDiffElement,- ITypedElement
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 interface as is, but may implement it if required.
- Since:
- 3.0
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringProperty constant indicating that the element is currently being worked on by an operation.static final StringProperty constant indicating that the element has children that are conflicting.static final StringProperty constant identifying that this element or one of its children has an error marker.static final StringProperty constant indicating that this element or one of its children has a warning marker.Fields inherited from interface org.eclipse.compare.ITypedElementFOLDER_TYPE, TEXT_TYPE, UNKNOWN_TYPE
- 
Method SummaryModifier and TypeMethodDescriptionvoidAdds a listener for changes to properties of this synchronize element.getImageDescriptor(Object element) The image descriptor describing the given element.booleangetProperty(String propertyName) Return whether this element has the given property assigned.Returns the resource this element is showing synchronization information for ornullif the element does not have an associated local resource.voidRemoves the given property change listener from this model element.voidsetProperty(String propertyName, boolean value) Assigns the given property to this element.voidsetPropertyToRoot(String propertyName, boolean value) Assigns the given property to this element and all it's parents.Methods inherited from interface org.eclipse.compare.structuremergeviewer.ICompareInputaddCompareInputChangeListener, copy, getAncestor, getImage, getKind, getLeft, getName, getRight, removeCompareInputChangeListenerMethods inherited from interface org.eclipse.compare.structuremergeviewer.IDiffContaineradd, getChildren, hasChildren, removeToRootMethods inherited from interface org.eclipse.compare.structuremergeviewer.IDiffElementgetKind, getParent, setParentMethods inherited from interface org.eclipse.compare.ITypedElementgetImage, getName, getType
- 
Field Details- 
BUSY_PROPERTYProperty constant indicating that the element is currently being worked on by an operation.- See Also:
 
- 
PROPAGATED_CONFLICT_PROPERTYProperty constant indicating that the element has children that are conflicting.- See Also:
 
- 
PROPAGATED_ERROR_MARKER_PROPERTYProperty constant identifying that this element or one of its children has an error marker.- See Also:
 
- 
PROPAGATED_WARNING_MARKER_PROPERTYProperty constant indicating that this element or one of its children has a warning marker.- See Also:
 
 
- 
- 
Method Details- 
addPropertyChangeListenerAdds a listener for changes to properties of this synchronize element. Has no effect if an identical listener is already registered.- Parameters:
- listener- the listener to register
 
- 
removePropertyChangeListenerRemoves the given property change listener from this model element. Has no effect if the listener is not registered.- Parameters:
- listener- the listener to remove
 
- 
setPropertyToRootAssigns the given property to this element and all it's parents.- Parameters:
- propertyName- the property name to set
- value- the value of the property
 
- 
setPropertyAssigns the given property to this element.- Parameters:
- propertyName- the property name
- value- the value of the property.
 
- 
getPropertyReturn whether this element has the given property assigned.- Parameters:
- propertyName- the property to test for
- Returns:
- trueif the property is set and- falseotherwise.
 
- 
getImageDescriptorThe image descriptor describing the given element.- Parameters:
- element- the model element for which to return an image.
- Returns:
- the image descriptor for the given element.
 
- 
getResourceIResource getResource()Returns the resource this element is showing synchronization information for ornullif the element does not have an associated local resource.- Returns:
- the resource this element is showing synchronization information for or nullif the element does not have an associated local resource.
 
 
-