aQute.bnd.plugin
Class Central

java.lang.Object
  extended by aQute.bnd.plugin.Central
All Implemented Interfaces:
EventListener, org.eclipse.core.resources.IResourceChangeListener

public class Central
extends Object
implements org.eclipse.core.resources.IResourceChangeListener


Method Summary
 void addModelListener(ModelListener m)
           
 void changed(Project model)
           
 void close()
           
 org.eclipse.jdt.core.IJavaProject getJavaProject(Project model)
           
 Project getModel(org.eclipse.jdt.core.IJavaProject project)
           
static Workspace getWorkspace()
           
static void refresh(org.eclipse.core.runtime.IPath path)
           
 void refresh(Project p)
           
 void refreshFile(File f)
           
 void refreshPlugins()
           
 void removeModelListener(ModelListener m)
           
 void resourceChanged(org.eclipse.core.resources.IResourceChangeEvent event)
          Implementation of the resource changed interface.
static org.eclipse.core.runtime.IPath toPath(Project project, File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getModel

public Project getModel(org.eclipse.jdt.core.IJavaProject project)

resourceChanged

public void resourceChanged(org.eclipse.core.resources.IResourceChangeEvent event)
Implementation of the resource changed interface. We are checking in the POST_CHANGE phase if one of our tracked models needs to be updated.

Specified by:
resourceChanged in interface org.eclipse.core.resources.IResourceChangeListener

getWorkspace

public static Workspace getWorkspace()
                              throws Exception
Throws:
Exception

changed

public void changed(Project model)

addModelListener

public void addModelListener(ModelListener m)

removeModelListener

public void removeModelListener(ModelListener m)

getJavaProject

public org.eclipse.jdt.core.IJavaProject getJavaProject(Project model)

toPath

public static org.eclipse.core.runtime.IPath toPath(Project project,
                                                    File file)

refresh

public static void refresh(org.eclipse.core.runtime.IPath path)

refreshPlugins

public void refreshPlugins()
                    throws Exception
Throws:
Exception

refreshFile

public void refreshFile(File f)
                 throws Exception
Throws:
Exception

refresh

public void refresh(Project p)
             throws Exception
Throws:
Exception

close

public void close()


Copyright © 2010 aQute SARL. All Rights Reserved.