Class XPathUpdateSubscriber
- java.lang.Object
-
- net.sourceforge.pmd.util.fxdesigner.app.XPathUpdateSubscriber
-
- All Implemented Interfaces:
ApplicationComponent
public abstract class XPathUpdateSubscriber extends Object implements ApplicationComponent
-
-
Constructor Summary
Constructors Constructor Description XPathUpdateSubscriber(DesignerRoot root)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description org.reactfx.EventStream<?>additionalTicks()Additional refresh ticks.DesignerRootgetDesignerRoot()abstract voidhandleNoCompilationUnit()abstract voidhandleNoXPath()abstract voidhandleXPathError(Exception e)abstract voidhandleXPathSuccess(List<net.sourceforge.pmd.lang.ast.Node> results)org.reactfx.Subscriptioninit(ASTManager astManager)voidunsubscribe()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sourceforge.pmd.util.fxdesigner.app.ApplicationComponent
getDebugName, getLogCategory, getLogger, getMainStage, getService, globalLanguageProperty, isDeveloperMode, languageBindingsProperty, logInternalDebugInfo, logInternalDebugInfo, logInternalException, logUserException, raiseParsableSourceFlag, raiseParsableXPathFlag
-
-
-
-
Constructor Detail
-
XPathUpdateSubscriber
public XPathUpdateSubscriber(DesignerRoot root)
-
-
Method Detail
-
init
public org.reactfx.Subscription init(ASTManager astManager)
-
additionalTicks
public org.reactfx.EventStream<?> additionalTicks()
Additional refresh ticks. By default, the changes ofASTManager.compilationUnitProperty(), of the local XPath query (local as in scoped by aDesignerRoot), and of theASTManager.ruleProperties()are taken into account.
-
getDesignerRoot
public DesignerRoot getDesignerRoot()
- Specified by:
getDesignerRootin interfaceApplicationComponent
-
handleNoXPath
public abstract void handleNoXPath()
-
handleNoCompilationUnit
public abstract void handleNoCompilationUnit()
-
handleXPathSuccess
public abstract void handleXPathSuccess(List<net.sourceforge.pmd.lang.ast.Node> results)
-
handleXPathError
public abstract void handleXPathError(Exception e)
-
unsubscribe
public void unsubscribe()
-
-