Method Summary |
|
public void | addDesignProjectListener(DesignProjectListener listener) |
public void | addPropertyChangeListener(PropertyChangeListener propChangeListener) Add a property change listener to the design project so that it could fire
events such as classloader changed. |
public URI | addResource(URL sourceUrl, URI targetUri) Copies a resource into this project, and converts the external URL into a local URI
(resource identifier string). |
public void | classPathChanged() Respond to changes in the project class path by updating the models. |
public DesignContext | createDesignContext(String className, Class baseClass, Map contextData) Creates a new DesignContext (backing file) in this project. |
public void | destroy() |
protected Collection | evalOrderModels(Collection modelsToOrder) |
public DesignContext | findDesignContext(String beanName) |
public DesignContext | findDesignContext(ManagedBean mb, boolean ignorePage) |
public DesignContext[] | findDesignContexts(String[] scopes) |
protected void | fireContextClosed(DesignContext context) |
protected void | fireContextOpened(DesignContext context) |
protected void | flushProjectData() |
public Collection | getBeanNamesToXRef(ManagedBean.Scope scope, FacesModel facesModel) |
public ClassLoader | getContextClassLoader() |
public String | getDescription() |
public DesignContext[] | getDesignContexts() |
public DesignProjectListener[] | getDesignProjectListeners() |
public String | getDisplayName() |
public FileObject | getDocumentDirectory() |
public FacesConfigModel | getFacesConfigModel() |
public FacesContainer | getFacesContainer() |
public FacesModel | getFacesModel(FileObject file) Get the FacesModel for a given FileObject iff the file is modeled. |
public FacesModel | getFacesModel(String beanName) Get the FacesModel for a given FileObject iff the file is modeled. |
public static FacesModel | getFacesModelIfAvailable(FileObject fileObject) |
public FacesModel[] | getFacesModels() |
public Object | getGlobalData(String key) |
public String | getHelpKey() |
public static FacesModelSet | getInstance(FileObject file) |
public static FacesModelSet | getInstance(Project project) |
public FileObject | getJavaFolderFor(FileObject other, boolean tryHard) Other can be a file in my web or java folder tree. |
public FileObject | getJavaRootFolder() |
public Image | getLargeIcon() |
public Model | getModel(FileObject file) |
public FileObject | getPageJavaRootFolder() |
public FileObject | getPageJspRootFolder() |
public Object | getProjectData(String key) |
public FileObject | getProjectDirectory() |
protected URI | getProjectDirectoryUri() |
public File | getResourceFile(URI resourceUri) Returns a File object containing the specified resource. |
public URI[] | getResources(URI folderUri, boolean recurseFolders) Returns the set of top-level resources in this project as an array of local resource
identifiers. |
public Image | getSmallIcon() |
public boolean | hasDesignProjectListeners() A small hack to prevent the creation of contexts objects if there are no listeners,
such as project open time. |
public URI | relativize(FileObject file) |
public URI | relativize(FileObject file, FileObject relativeTo) Return a URI which provides a path to get to file, from relativeTo. |
public void | removeBeanElReferences(String oldname) |
public boolean | removeDesignContext(DesignContext context) Removes an existing DesignContext (backing file) from this project. |
public void | removeDesignProjectListener(DesignProjectListener listener) |
public void | removeModel(Model model) |
public void | removePropertyChangeListener(PropertyChangeListener propChangeListener) Remove property change listener. |
public boolean | removeResource(URI resourceUri) Removes a resource from the project directory. |
protected boolean | removeUnits(SourceUnit[] units) |
protected FileObject | resolveToFileObject(URI uri) |
protected FileObject | resolveToFileObject(URL url) |
protected URI | resolveToUri(URI uri) |
protected URL | resolveToUrl(URI uri) |
public void | setGlobalData(String key, Object data) |
public void | setProjectData(String key, Object data) |
public static FacesModelSet | startModeling(FileObject file) |
public static FacesModelSet | startModeling(Project project) |
protected void | syncAll() |
public void | updateBeanElReferences(String oldname, String newname) |