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 int
CODE_RECOMPILED
Deprecated.reason in the case of code recompilationstatic int
NODE_SELECTED
Deprecated.reason in the case of node selectionstatic int
PATH_EXPRESSION_APPENDED
Deprecated.reason in the case of path extensionstatic int
PATH_EXPRESSION_EVALUATED
Deprecated.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 Object
getParameter()
Deprecated.int
getReason()
Deprecated.Object
getSource()
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
-
-