Class XPathUpdateSubscriber
- java.lang.Object
-
- net.sourceforge.pmd.util.fxdesigner.app.XPathUpdateSubscriber
-
- All Implemented Interfaces:
ApplicationComponent
public abstract class XPathUpdateSubscriber extends java.lang.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.DesignerRoot
getDesignerRoot()
abstract void
handleNoCompilationUnit()
abstract void
handleNoXPath()
abstract void
handleXPathError(java.lang.Exception e)
abstract void
handleXPathSuccess(java.util.List<net.sourceforge.pmd.lang.ast.Node> results)
org.reactfx.Subscription
init(ASTManager astManager)
void
unsubscribe()
-
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, getGlobalLanguageVersion, 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:
getDesignerRoot
in interfaceApplicationComponent
-
handleNoXPath
public abstract void handleNoXPath()
-
handleNoCompilationUnit
public abstract void handleNoCompilationUnit()
-
handleXPathSuccess
public abstract void handleXPathSuccess(java.util.List<net.sourceforge.pmd.lang.ast.Node> results)
-
handleXPathError
public abstract void handleXPathError(java.lang.Exception e)
-
unsubscribe
public void unsubscribe()
-
-