org.eclipse.core.internal.resources
Class ProjectInfo

java.lang.Object
  extended by org.eclipse.core.internal.resources.ResourceInfo
      extended by org.eclipse.core.internal.resources.ProjectInfo
All Implemented Interfaces:
java.lang.Cloneable, ICoreConstants, IStringPoolParticipant, IElementTreeData

public class ProjectInfo
extends ResourceInfo


Field Summary
 
Fields inherited from interface org.eclipse.core.internal.resources.ICoreConstants
CRASH_DETECTED, EMPTY_FILE_STATES, EMPTY_PROJECT_ARRAY, EMPTY_RESOURCE_ARRAY, I_NULL_SYNC_INFO, K_BUILD_LIST, M_CHILDREN_UNKNOWN, M_CONTENT_CACHE, M_DEFAULT_CONTENT_DESCRIPTION, M_DERIVED, M_HIDDEN, M_LINK, M_LOCAL_EXISTS, M_MARKERS_SNAP_DIRTY, M_NO_CONTENT_DESCRIPTION, M_OPEN, M_PHANTOM, M_SYNCINFO_SNAP_DIRTY, M_TEAM_PRIVATE_MEMBER, M_TYPE, M_TYPE_START, M_USED, MINIMUM_FILE_SEGMENT_LENGTH, MINIMUM_FOLDER_SEGMENT_LENGTH, NULL_FLAG, PREF_VERSION, PREF_VERSION_KEY, PROJECT_SEGMENT_LENGTH, REFRESH_ON_STARTUP, WORKSPACE_TREE_VERSION_1, WORKSPACE_TREE_VERSION_2
 
Constructor Summary
ProjectInfo()
           
 
Method Summary
 void fixupAfterMove()
          Discards any stale state on this project after it has been moved.
 ProjectDescription getDescription()
          Returns the description associated with this info.
 org.eclipse.core.runtime.content.IContentTypeMatcher getMatcher()
          Returns the content type matcher associated with this info.
 IProjectNature getNature(java.lang.String natureId)
           
 java.lang.Object getPropertyStore()
          Returns the property store associated with this info.
 void setDescription(ProjectDescription value)
          Sets the description associated with this info.
 void setMatcher(org.eclipse.core.runtime.content.IContentTypeMatcher matcher)
          Sets the content type matcher to be associated with this info.
 void setNature(java.lang.String natureId, IProjectNature value)
           
 void setPropertyStore(java.lang.Object value)
          Sets the property store associated with this info.
 
Methods inherited from class org.eclipse.core.internal.resources.ResourceInfo
clear, clearModificationStamp, clearSessionProperties, clone, getCharsetGenerationCount, getContentId, getFileStoreRoot, getFlags, getLocalSyncInfo, getMarkerGenerationCount, getMarkers, getMarkers, getModificationStamp, getNodeId, getSessionProperties, getSessionProperty, getSyncInfo, getSyncInfo, getSyncInfoGenerationCount, getType, getType, incrementCharsetGenerationCount, incrementContentId, incrementMarkerGenerationCount, incrementModificationStamp, incrementSyncInfoGenerationCount, isSet, isSet, readFrom, set, setFileStoreRoot, setLocalSyncInfo, setMarkers, setModificationStamp, setNodeId, setSessionProperty, setSyncInfo, setType, shareStrings, writeTo
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectInfo

public ProjectInfo()
Method Detail

fixupAfterMove

public void fixupAfterMove()
Discards any stale state on this project after it has been moved. Builder instances must be cleared because they reference the old project handle.


getDescription

public ProjectDescription getDescription()
Returns the description associated with this info. The return value may be null.


getMatcher

public org.eclipse.core.runtime.content.IContentTypeMatcher getMatcher()
Returns the content type matcher associated with this info. The return value may be null.


getNature

public IProjectNature getNature(java.lang.String natureId)

getPropertyStore

public java.lang.Object getPropertyStore()
Returns the property store associated with this info. The return value may be null.

Overrides:
getPropertyStore in class ResourceInfo

setDescription

public void setDescription(ProjectDescription value)
Sets the description associated with this info. The value may be null.


setMatcher

public void setMatcher(org.eclipse.core.runtime.content.IContentTypeMatcher matcher)
Sets the content type matcher to be associated with this info. The value may be null.


setNature

public void setNature(java.lang.String natureId,
                      IProjectNature value)

setPropertyStore

public void setPropertyStore(java.lang.Object value)
Sets the property store associated with this info. The value may be null.

Overrides:
setPropertyStore in class ResourceInfo