|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpl.edu.agh.cast.resources.BaseProjectUtil
public class BaseProjectUtil
Utility methods for operating on projects. Uses Eclipse Preferences mechanism to fetch project properties.
Field Summary | |
---|---|
static String |
PROJECT_DISPLAY_NAME_PROPERTY
Project display name property used. |
static String |
PROJECT_ID_PROPERTY
Project id property. |
Constructor Summary | |
---|---|
BaseProjectUtil()
|
Method Summary | |
---|---|
static String |
getProperty(org.eclipse.core.resources.IProject project,
String propertyId)
Reads projects properties using Eclipse Preferences mechanism. |
static void |
setProperty(org.eclipse.core.resources.IProject project,
String propertyId,
String value)
Sets property for given project. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PROJECT_DISPLAY_NAME_PROPERTY
public static final String PROJECT_ID_PROPERTY
Constructor Detail |
---|
public BaseProjectUtil()
Method Detail |
---|
public static String getProperty(org.eclipse.core.resources.IProject project, String propertyId)
project
- project which properties are readpropertyId
- id of property to read
public static void setProperty(org.eclipse.core.resources.IProject project, String propertyId, String value)
project
- project which property is to be setpropertyId
- property idvalue
- new value of property
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |