Interface com.symantec.itools.vcafe.openapi.dtreflect.DTListener
All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Interface com.symantec.itools.vcafe.openapi.dtreflect.DTListener
  -  public interface DTListener
 
The listener interface for receiving notification when the DTClass information of
 a ProjectFile has been (re)parsed.
 To be notified when a file in a VisualProject is parsed, a plug-in implements this
 interface then calls VisualProject.addDTListener to place itself on the notification list.
 When a ProjectFile in the project is parsed, the listener is notified.
 
To be notified when a file in any VisualProject is parsed, use
 VisualCafe.addDTListener.
  -  Version:
  
 -  1.0
  
 -  Author:
  
 -  Symantec Internet Tools Division
  
 -  Since:
  
 -  VCafe 3.0
    
 -  See Also:
    
 -  addDTListener, removeDTListener, addDTListener, removeDTListener
 
  
  -  
	PARSE_ALL_PASSES
   -   Reason a file was parsed: a "parse all" was requested.
  
 -  
	PARSE_ON_ADD
   -   Reason a file was parsed: the file was added to the project (convenience mask that combines
 PARSE_ON_ADD_BY_USER and PARSE_ON_ADD_BY_PARSER).
  
 -  
	PARSE_ON_ADD_BY_PARSER
   -   Reason a file was parsed: parser added the file to the project.
  
 -  
	PARSE_ON_ADD_BY_USER
   -   Reason a file was parsed: user added the file to the project.
  
 -  
	PARSE_ON_START_RAD
   -   Reason a file was parsed: RAD was just enabled for the file.
  
 -  
	PARSE_ON_UPDATE
   -   Reason a file was parsed: the file was modified.
 
  
  -  
	classesParsed(VisualProject, ProjectFile, int)
   -   Notifies this listener that the parser has (re)parsed a 
ProjectFile's DTClass
 information.
 
  
PARSE_ALL_PASSES
public static final int PARSE_ALL_PASSES
  -  Reason a file was parsed: a "parse all" was requested.
 
 
    -  See Also:
    
 -  classesParsed
  
 
 
 
PARSE_ON_ADD
public static final int PARSE_ON_ADD
  -  Reason a file was parsed: the file was added to the project (convenience mask that combines
 PARSE_ON_ADD_BY_USER and PARSE_ON_ADD_BY_PARSER).
 
 
    -  See Also:
    
 -  classesParsed
  
 
 
 
PARSE_ON_ADD_BY_PARSER
public static final int PARSE_ON_ADD_BY_PARSER
  -  Reason a file was parsed: parser added the file to the project.
 
 
    -  See Also:
    
 -  classesParsed
  
 
 
 
PARSE_ON_ADD_BY_USER
public static final int PARSE_ON_ADD_BY_USER
  -  Reason a file was parsed: user added the file to the project.
 
 
    -  See Also:
    
 -  classesParsed
  
 
 
 
PARSE_ON_START_RAD
public static final int PARSE_ON_START_RAD
  -  Reason a file was parsed: RAD was just enabled for the file.
 
 
    -  See Also:
    
 -  classesParsed
  
 
 
 
PARSE_ON_UPDATE
public static final int PARSE_ON_UPDATE
  -  Reason a file was parsed: the file was modified.
 
 
    -  See Also:
    
 -  classesParsed
  
 
 
 
  
classesParsed
public abstract void classesParsed(VisualProject visualProject,
                                   ProjectFile projectFile,
                                   int reason)
  -  Notifies this listener that the parser has (re)parsed a 
ProjectFile's DTClass
 information.
 Changes to a class usually add/delete fields or methods and do not necessarily
 invalidate the class object, but may invalidate fields/methods/constructors of
 the class.
  
 
 
    -  Parameters:
    
 -  visualProject - the project the file belongs to.
    
-  projectFile - the file buffer that was parsed.
    
-  reason - why the parser parsed the file, is a mask containing any of:
 - PARSE_ON_ADD_BY_USER - user added the file to the project,
 
 - PARSE_ON_ADD_BY_PARSER - parser added the file to the project,
 
 - PARSE_ON_UPDATE - the file was modified,
 
 - PARSE_ALL_PASSES - a "parse all" was requested, or
 
 - PARSE_ON_START_RAD - RAD was just enabled for the file.
 
 
     
 
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index