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
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.inductiveautomation.perspective.gateway.model.PageModel
PageModel.Handlers, PageModel.PageOperator, PageModel.SessionOperator, PageModel.ViewOperator -
Field Summary
Fields inherited from class com.inductiveautomation.perspective.gateway.model.PageModel
channel, created, gson, handlers, id, lastKeepalive, log, PAGE, props, roundtrip, session, syncManager, viewConfigLoader, views -
Constructor Summary
ConstructorsConstructorDescriptionDesignerPageModel(PerspectiveDesignSession parentContext, com.inductiveautomation.ignition.common.gson.Gson gson, LoggerEx log, String tabId) -
Method Summary
Modifier and TypeMethodDescriptionprotected PageModel.HandlerscreateHandlers(com.inductiveautomation.ignition.common.gson.Gson gson, LoggerEx log) createPropertyReference(String referencePath, Consumer<PropertyTreeChangeEvent> subscriber, Set<Origin> acceptableOrigins) Create aPropertyReferencewith thisPerspectiveElementas the target.protected Function<String,CompletableFuture<Optional<ViewConfig>>> voidinit(DesignerInitMsg initMsg) protected booleanisViewAuthorized(ViewInstanceId viewInstanceId, ViewConfig viewConfig) voidnewAuthChallengeInternal(AuthChallengeRequest authChallengeRequest) protected voidMethods inherited from class com.inductiveautomation.perspective.gateway.model.PageModel
briefReport, 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, updateModulesInfoMethods inherited from class com.inductiveautomation.ignition.common.lifecycle.AbstractLifecycle
isRunning, shutdown, startupMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.inductiveautomation.perspective.gateway.api.AuditingContext
auditMethods inherited from interface com.inductiveautomation.perspective.gateway.api.LoggingContext
mdc, mdcSetupTree, mdcTeardownTree, mdcWrapMethods inherited from interface com.inductiveautomation.perspective.gateway.api.PerspectiveElement
getAuditProfile, getQualifiedPath, isRunning
-
Constructor Details
-
DesignerPageModel
public DesignerPageModel(PerspectiveDesignSession parentContext, com.inductiveautomation.ignition.common.gson.Gson gson, LoggerEx log, String tabId)
-
-
Method Details
-
onShutdown
protected void onShutdown()- Overrides:
onShutdownin classPageModel
-
createHandlers
protected PageModel.Handlers createHandlers(com.inductiveautomation.ignition.common.gson.Gson gson, LoggerEx log) - Overrides:
createHandlersin classPageModel
-
createViewConfigLoader
- Overrides:
createViewConfigLoaderin classPageModel
-
init
-
isViewAuthorized
protected boolean isViewAuthorized(@Nonnull ViewInstanceId viewInstanceId, @Nonnull ViewConfig viewConfig) - Overrides:
isViewAuthorizedin classPageModel
-
createPropertyReference
@Nonnull public DesignerPropertyReference createPropertyReference(String referencePath, Consumer<PropertyTreeChangeEvent> subscriber, Set<Origin> acceptableOrigins) Description copied from interface:PerspectiveElementCreate aPropertyReferencewith thisPerspectiveElementas the target.- Specified by:
createPropertyReferencein interfacePerspectiveElement- Overrides:
createPropertyReferencein classPageModel- Parameters:
referencePath- the path to the propertysubscriber- the subscriber - aConsumerofPropertyTreeChangeEventsacceptableOrigins- theSetofOrigins in which the subscriber is interested- Returns:
- the
PropertyReference
-
newAuthChallengeInternal
- Overrides:
newAuthChallengeInternalin classPageModel- Throws:
Exception
-