Class DesignerPageModel
- java.lang.Object
- 
- com.inductiveautomation.ignition.common.lifecycle.AbstractLifecycle
- 
- com.inductiveautomation.perspective.gateway.model.PageModel
- 
- com.inductiveautomation.perspective.gateway.model.DesignerPageModel
 
 
 
- 
- All Implemented Interfaces:
- AuditingContext,- LoggingContext,- Page,- PerspectiveElement,- PropertyTreeOwner
 
 public class DesignerPageModel extends PageModel 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description protected classDesignerPageModel.DesignerHandlers- 
Nested classes/interfaces inherited from class com.inductiveautomation.perspective.gateway.model.PageModelPageModel.Handlers
 
- 
 - 
Field Summary- 
Fields inherited from class com.inductiveautomation.perspective.gateway.model.PageModelchannel, created, gson, handlers, id, lastKeepalive, log, PAGE, props, roundtrip, session, syncManager, viewConfigLoader, views
 
- 
 - 
Constructor SummaryConstructors Constructor Description DesignerPageModel(PerspectiveDesignSession parentContext, com.inductiveautomation.ignition.common.gson.Gson gson, LoggerEx log, java.lang.String tabId)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PageModel.HandlerscreateHandlers(com.inductiveautomation.ignition.common.gson.Gson gson, LoggerEx log)DesignerPropertyReferencecreatePropertyReference(java.lang.String referencePath, java.util.function.Consumer<PropertyTreeChangeEvent> subscriber, java.util.Set<Origin> acceptableOrigins)Create aPropertyReferencewith thisPerspectiveElementas the target.protected java.util.function.Function<java.lang.String,java.util.concurrent.CompletableFuture<java.util.Optional<ViewConfig>>>createViewConfigLoader()voidinit(DesignerInitMsg initMsg)protected booleanisViewAuthorized(ViewInstanceId viewInstanceId, ViewConfig viewConfig)voidnewAuthChallengeInternal(AuthChallengeRequest authChallengeRequest)protected voidonShutdown()- 
Methods inherited from class com.inductiveautomation.perspective.gateway.model.PageModelbriefReport, close, disconnect, getAuditSnapshot, getBindingCount, getComponentCount, getCreated, getId, getLogger, getMdcParent, getName, getPage, getPageEventBus, getPageEventManager, getPropertyTreeOf, getSession, getView, getViewCount, getViews, isConnected, mdcSetup, mdcTeardown, newAuthChallenge, notifyConnected, notifyDisconnected, notifyProjectUpdated, onKeepaliveReceived, onSessionPropertyChange, onStartup, receive, report, send, send, sendGatewayLastActiveTime, sendKeepalive, setPageTimeout, updateModulesInfo
 - 
Methods inherited from class com.inductiveautomation.ignition.common.lifecycle.AbstractLifecycleisRunning, shutdown, startup
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.inductiveautomation.perspective.gateway.api.AuditingContextaudit
 - 
Methods inherited from interface com.inductiveautomation.perspective.gateway.api.LoggingContextmdc, mdcSetupTree, mdcTeardownTree, mdcWrap
 - 
Methods inherited from interface com.inductiveautomation.perspective.gateway.api.PerspectiveElementgetAuditProfile, getQualifiedPath, isRunning
 
- 
 
- 
- 
- 
Constructor Detail- 
DesignerPageModelpublic DesignerPageModel(PerspectiveDesignSession parentContext, com.inductiveautomation.ignition.common.gson.Gson gson, LoggerEx log, java.lang.String tabId) 
 
- 
 - 
Method Detail- 
onShutdownprotected void onShutdown() - Overrides:
- onShutdownin class- PageModel
 
 - 
createHandlersprotected PageModel.Handlers createHandlers(com.inductiveautomation.ignition.common.gson.Gson gson, LoggerEx log) - Overrides:
- createHandlersin class- PageModel
 
 - 
createViewConfigLoaderprotected java.util.function.Function<java.lang.String,java.util.concurrent.CompletableFuture<java.util.Optional<ViewConfig>>> createViewConfigLoader() - Overrides:
- createViewConfigLoaderin class- PageModel
 
 - 
initpublic void init(DesignerInitMsg initMsg) 
 - 
isViewAuthorizedprotected boolean isViewAuthorized(@Nonnull ViewInstanceId viewInstanceId, @Nonnull ViewConfig viewConfig)- Overrides:
- isViewAuthorizedin class- PageModel
 
 - 
createPropertyReference@Nonnull public DesignerPropertyReference createPropertyReference(java.lang.String referencePath, java.util.function.Consumer<PropertyTreeChangeEvent> subscriber, java.util.Set<Origin> acceptableOrigins) Description copied from interface:PerspectiveElementCreate aPropertyReferencewith thisPerspectiveElementas the target.- Specified by:
- createPropertyReferencein interface- PerspectiveElement
- Overrides:
- createPropertyReferencein class- PageModel
- Parameters:
- referencePath- the path to the property
- subscriber- the subscriber - a- Consumerof- PropertyTreeChangeEvents
- acceptableOrigins- the- Setof- Origins in which the subscriber is interested
- Returns:
- the PropertyReference
 
 - 
newAuthChallengeInternalpublic void newAuthChallengeInternal(AuthChallengeRequest authChallengeRequest) throws java.lang.Exception - Overrides:
- newAuthChallengeInternalin class- PageModel
- Throws:
- java.lang.Exception
 
 
- 
 
-