|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.tigerstripe.workbench.TigerstripeCore
public class TigerstripeCore
The entry point for all interactions with the Tigerstripe API This is a singleton class that acts as the factory class for any Tigerstripe Project. Throughout the Tigerstripe API, a set of patterns are used:
| Method Summary | |
|---|---|
static void |
addTigerstripeChangeListener(ITigerstripeChangeListener listener,
int changeLevel)
Register a new ITigerstripeChangeListener |
IAbstractTigerstripeProject[] |
allProjects()
Returns an array containing all Tigerstripe Projects present in the workspace |
static IAbstractTigerstripeProject |
createProject(IProjectDetails projectDetails,
IPath location,
java.lang.Class projectType,
java.util.Map<java.lang.String,java.lang.Object> properties,
IProgressMonitor monitor)
Creates a project of the given type at the given folder, and returns a handle on that project |
static IAbstractTigerstripeProject |
findProject(IPath path)
Returns a IAbstractTigerstripeProject corresponding to the given path. |
static IRuntimeDetails |
getRuntimeDetails()
Returns the runtime details for this install |
static java.util.Collection<java.lang.Class> |
getSupportedProjectTypes()
Returns a collection of Tigerstripe project types that are supported |
static IWorkbenchProfileSession |
getWorkbenchProfileSession()
Returns the default IWorkbenchProfileSession (Singleton) which provides access to the Active Profile and to the create/edit additional profiles programmatically. |
static IProjectDetails |
makeProjectDetails()
|
static void |
removeTigerstripeChangeListener(ITigerstripeChangeListener listener)
Un-Register a ITigerstripeChangeListener |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static IWorkbenchProfileSession getWorkbenchProfileSession()
public static final IRuntimeDetails getRuntimeDetails()
public static IAbstractTigerstripeProject findProject(IPath path)
throws TigerstripeException
path -
TigerstripeException
public IAbstractTigerstripeProject[] allProjects()
throws TigerstripeException
TigerstripeException
public static IAbstractTigerstripeProject createProject(IProjectDetails projectDetails,
IPath location,
java.lang.Class projectType,
java.util.Map<java.lang.String,java.lang.Object> properties,
IProgressMonitor monitor)
throws TigerstripeException
projectDetails - location - -
location for the project to create, if null the default
location is usedprojectType - -
one of the types as returned bymonitor - -
TigerstripeExceptionpublic static IProjectDetails makeProjectDetails()
public static java.util.Collection<java.lang.Class> getSupportedProjectTypes()
public static void addTigerstripeChangeListener(ITigerstripeChangeListener listener,
int changeLevel)
ITigerstripeChangeListener
listener - the listener to registerchangeLevel - valid values are ITigerstripeChangeListener.MODEL,
ITigerstripeChangeListener.PROJECT or
ITigerstripeChangeListener.ALLpublic static void removeTigerstripeChangeListener(ITigerstripeChangeListener listener)
ITigerstripeChangeListener
listener -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||