Class AbstractClientContext
java.lang.Object
com.inductiveautomation.ignition.client.model.AbstractClientContext
- All Implemented Interfaces:
- ClientContext,- CommonContext
- Direct Known Subclasses:
- ClientContextImpl,- DesignerContextImpl
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprotected class
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected PropertyChangeSupportprotected GlobalPropsprotected LoggerExprotected LoggingManagerImplprotected Projectprotected Stringprotected String
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedAbstractClientContext(LaunchContext launchContext, String projectName) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidaddPropertyChangeListener(String property, PropertyChangeListener pcl) protected abstract FunctionFactoryReturns the current project's user sourceReturns the current project's default datasource nameReturns the current project's default Tag providerReturns a list of currently available Edge editions (either licensed or in trial).com.google.common.eventbus.EventBusThis is a generic event bus that can be used by any part of Ignition within a single scope (jvm)Returns the core function factory used by expressions.protected <T> TgetOrDefault(ResourceType type, Supplier<T> defaultSupplier) Returns the progress manager, which allows the execution of long running or async tasks.The name of the project this client will be / is runningintReturns the rate at which Tags should be polled for updatescom.google.common.eventbus.EventBusThis event bus schedules event notification on the swing EDT.protected voidinitProject(Project project) protected voidinstallLegacyScriptLibrary(ProjectResource resource) protected ProjectResourceListenervoidvoidremovePropertyChangeListener(String property, PropertyChangeListener pcl) voidNull out theexpressionFunctionFactoryfield, causing the next call togetExpressionFunctionFactory()to first invokecreateExpressionFunctionFactory().protected voidsetGlobalProps(GlobalProps newGp) protected voidshutdown()protected voidstartup()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.inductiveautomation.ignition.client.model.ClientContextdeserialize, getExecutionManager, getLocalizationManager, getModules, getNamedQueryManager, getProject, getRootPaneContainer, getTagManagerMethods inherited from interface com.inductiveautomation.ignition.common.model.CommonContextcreateDeserializer, getLicenseState, getModule, getScriptManager
- 
Field Details- 
log
- 
changeSupport
- 
globalProps
- 
project
- 
loggingManager
- 
projectTitle
- 
projectDescription
 
- 
- 
Constructor Details- 
AbstractClientContext
 
- 
- 
Method Details- 
startupprotected void startup()
- 
shutdownprotected void shutdown()
- 
initProject
- 
getOrDefault
- 
newProjectResourceListener
- 
getProjectNameDescription copied from interface:ClientContextThe name of the project this client will be / is running- Specified by:
- getProjectNamein interface- ClientContext
 
- 
getProjectTitle
- 
getProjectDescription
- 
getExpressionFunctionFactoryDescription copied from interface:CommonContextReturns the core function factory used by expressions. Includes extension functions registered by modules.- Specified by:
- getExpressionFunctionFactoryin interface- CommonContext
 
- 
resetExpressionFunctionFactorypublic void resetExpressionFunctionFactory()Null out theexpressionFunctionFactoryfield, causing the next call togetExpressionFunctionFactory()to first invokecreateExpressionFunctionFactory().
- 
createExpressionFunctionFactory
- 
addPropertyChangeListener- Specified by:
- addPropertyChangeListenerin interface- ClientContext
 
- 
addPropertyChangeListener- Specified by:
- addPropertyChangeListenerin interface- ClientContext
 
- 
removePropertyChangeListener- Specified by:
- removePropertyChangeListenerin interface- ClientContext
 
- 
removePropertyChangeListener- Specified by:
- removePropertyChangeListenerin interface- ClientContext
 
- 
getLoggingManager- Specified by:
- getLoggingManagerin interface- CommonContext
 
- 
getDefaultDatasourceNameDescription copied from interface:ClientContextReturns the current project's default datasource name- Specified by:
- getDefaultDatasourceNamein interface- ClientContext
 
- 
getDefaultTagProviderNameDescription copied from interface:ClientContextReturns the current project's default Tag provider- Specified by:
- getDefaultTagProviderNamein interface- ClientContext
 
- 
getAuthProfileNameDescription copied from interface:ClientContextReturns the current project's user source- Specified by:
- getAuthProfileNamein interface- ClientContext
 
- 
getTagPollRatepublic int getTagPollRate()Description copied from interface:ClientContextReturns the rate at which Tags should be polled for updates- Specified by:
- getTagPollRatein interface- ClientContext
 
- 
getGlobalProps
- 
setGlobalProps
- 
installLegacyScriptLibrary
- 
getProgressManagerDescription copied from interface:ClientContextReturns the progress manager, which allows the execution of long running or async tasks.- Specified by:
- getProgressManagerin interface- ClientContext
 
- 
getLaunchContext- Specified by:
- getLaunchContextin interface- ClientContext
 
- 
getEdgeEditionsDescription copied from interface:CommonContextReturns a list of currently available Edge editions (either licensed or in trial). Does not check if any required modules are installed and running.- Specified by:
- getEdgeEditionsin interface- CommonContext
 
- 
getEventBuspublic com.google.common.eventbus.EventBus getEventBus()Description copied from interface:CommonContextThis is a generic event bus that can be used by any part of Ignition within a single scope (jvm)- Specified by:
- getEventBusin interface- CommonContext
 
- 
getUIEventBuspublic com.google.common.eventbus.EventBus getUIEventBus()Description copied from interface:ClientContextThis event bus schedules event notification on the swing EDT. This is opposed to the event bus found onCommonContext.getEventBus(), which schedules event notification on a background thread.- Specified by:
- getUIEventBusin interface- ClientContext
 
 
-