|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.team.ui.synchronize.TeamStateDescription
public class TeamStateDescription
An implementation of ITeamStateDescription.
This class may be subclassed by clients.
| Constructor Summary | |
|---|---|
TeamStateDescription(int state)
Create a description with the given state. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Return whether this state description is equal the to given object. |
int |
getDirection()
Return the portion of the state flags that represent the direction associated with the element for which this description was generated. |
int |
getKind()
Return the portion of the state flags that represent the kind associated with the element for which this description was generated. |
java.lang.Object |
getProperty(java.lang.String property)
Return the value associated with the given property. |
java.lang.String[] |
getPropertyNames()
Return the properties names for all decorated properties associated with the element for which this description was generated. |
int |
getStateFlags()
Return the synchronization state flags for the element for which this state description was generated. |
void |
setProperty(java.lang.String property,
java.lang.Object value)
Set the given property to the given value |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TeamStateDescription(int state)
state - the state| Method Detail |
|---|
public int getStateFlags()
ITeamStateDescriptionstateMask used when obtaining this
description is returned.
getStateFlags in interface ITeamStateDescriptionIDiff,
IThreeWayDiff,
IResourceDiffpublic int getKind()
ITeamStateDescriptionIDiff.getKind() for a description of what this value represents.
getKind in interface ITeamStateDescriptionpublic int getDirection()
ITeamStateDescriptionIThreeWayDiff.getDirection() for a description of what this value
represents.
getDirection in interface ITeamStateDescriptionpublic java.lang.String[] getPropertyNames()
ITeamStateDescription
getPropertyNames in interface ITeamStateDescriptionpublic java.lang.Object getProperty(java.lang.String property)
ITeamStateDescriptionnull
is returned if the property has no value.
getProperty in interface ITeamStateDescriptionproperty - the property
null
public void setProperty(java.lang.String property,
java.lang.Object value)
property - the propertyvalue - the valuepublic boolean equals(java.lang.Object obj)
ITeamStateDescription
equals in interface ITeamStateDescriptionequals in class java.lang.Objectobj - the object
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.