Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » does WTP (dynamic web project) have ModelManager and ModelBase APIs ?(How do I get access to WebProject's model ?)
does WTP (dynamic web project) have ModelManager and ModelBase APIs ? [message #999076] Fri, 11 January 2013 04:30
Rahul Arora is currently offline Rahul Arora
Messages: 1
Registered: November 2012
Junior Member
Hi,

I am wondering if we have ModelManager and ModelBase APIs for Dynamic web projects, similar like we have for PDE (plugin) projects for example:

PDECore pdeCore = PDECore.getDefault();
PluginModelManager manager = pdeCore.getModelManager();
IPluginModelBase[]plugins = manager.getWorkspaceModels();

for(IPluginModelBase m : plugins)
{
libs = m.getPluginBase(true).getLibraries();

manifestFile = m.getUnderlyingResource();
pluginProject = manifestFile.getProject();

}

I need it to get access to Libraries resource in Dynamic Web Projects, grammatically. How can I achieve it ?

Thanks for your help
Rahul
Previous Topic:Adding Preemptive Basic Auth to Web Service Client
Next Topic:XML: Outline view does not show namespace when add
Goto Forum:
  


Current Time: Mon Apr 21 11:48:00 EDT 2014

Powered by FUDForum. Page generated in 0.01633 seconds