|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.team.ui.synchronize.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(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. |
Object |
getProperty(String property)
Return the value associated with the given property. |
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(String property,
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 stateMethod Detail |
public int getStateFlags()
ITeamStateDescription
stateMask
used when obtaining this
description is returned.
getStateFlags
in interface ITeamStateDescription
IDiff
,
IThreeWayDiff
,
IResourceDiff
public int getKind()
ITeamStateDescription
IDiff.getKind()
for a description of what this value represents.
getKind
in interface ITeamStateDescription
public int getDirection()
ITeamStateDescription
IThreeWayDiff.getDirection()
for a description of what this value
represents.
getDirection
in interface ITeamStateDescription
public String[] getPropertyNames()
ITeamStateDescription
getPropertyNames
in interface ITeamStateDescription
public Object getProperty(String property)
ITeamStateDescription
null
is returned if the property has no value.
getProperty
in interface ITeamStateDescription
property
- the property
null
public void setProperty(String property, Object value)
property
- the propertyvalue
- the valuepublic boolean equals(Object obj)
ITeamStateDescription
equals
in interface ITeamStateDescription
|
Eclipse Platform Release 3.3 |
|||||||||||
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, 2007. All rights reserved.