Class ViewerModelEvent
- java.lang.Object
-
- net.sourceforge.pmd.util.viewer.model.ViewerModelEvent
-
@Deprecated public class ViewerModelEvent extends Object
Deprecated.The event which will be sent every time the model changes.Note: the instances will be immutable
- Author:
- Boris Gruschko ( boris at gruschko.org )
-
-
Field Summary
Fields Modifier and Type Field Description static intCODE_RECOMPILEDDeprecated.reason in the case of code recompilationstatic intNODE_SELECTEDDeprecated.reason in the case of node selectionstatic intPATH_EXPRESSION_APPENDEDDeprecated.reason in the case of path extensionstatic intPATH_EXPRESSION_EVALUATEDDeprecated.reason in the case of path expression evaluation
-
Constructor Summary
Constructors Constructor Description ViewerModelEvent(Object source, int reason)Deprecated.Creates an eventViewerModelEvent(Object source, int reason, Object parameter)Deprecated.Creates an event
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ObjectgetParameter()Deprecated.intgetReason()Deprecated.ObjectgetSource()Deprecated.
-
-
-
Field Detail
-
CODE_RECOMPILED
public static final int CODE_RECOMPILED
Deprecated.reason in the case of code recompilation- See Also:
- Constant Field Values
-
NODE_SELECTED
public static final int NODE_SELECTED
Deprecated.reason in the case of node selection- See Also:
- Constant Field Values
-
PATH_EXPRESSION_APPENDED
public static final int PATH_EXPRESSION_APPENDED
Deprecated.reason in the case of path extension- See Also:
- Constant Field Values
-
PATH_EXPRESSION_EVALUATED
public static final int PATH_EXPRESSION_EVALUATED
Deprecated.reason in the case of path expression evaluation- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ViewerModelEvent
public ViewerModelEvent(Object source, int reason)
Deprecated.Creates an event- Parameters:
source- event's sourcereason- event's reason
-
-