List of usage examples for org.aspectj.ajdt.internal.core.builder IStateListener IStateListener
IStateListener
From source file:org.eclipse.ajdt.core.builder.AJBuilder.java
License:Open Source License
public static void addStateListener() { if (isl == null) { // Uses secret API in state to get callbacks on useful events isl = new IStateListener() { public void detectedClassChangeInThisDir(File f) { }/* w ww. j a va 2 s . c om*/ public void aboutToCompareClasspaths(List oldClasspath, List newClasspath) { } public void pathChangeDetected() { } public void buildSuccessful(boolean wasFull) { AJLog.log(AJLog.COMPILER, "AspectJ reports build successful, build was: " + //$NON-NLS-1$ (wasFull ? "FULL" : "INCREMENTAL")); //$NON-NLS-1$ //$NON-NLS-2$ } public void detectedAspectDeleted(File f) { } public void recordDecision(String decision) { AJLog.log(AJLog.COMPILER, decision); } public void recordInformation(String info) { AJLog.log(AJLog.COMPILER, info); } }; } AjState.stateListener = isl; }