Class DesignerResourceEditManager
java.lang.Object
com.inductiveautomation.ignition.designer.concurrency.DesignerResourceEditManager
Receives open/close events from resource editors in order to track all open resources in this Designer.
 Sends these updates to the Gateway.
 Also tracks open resources of all other Designers within the same project.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanconfirmConcurrentEdit(JComponent parentComponent, ResourcePath resourcePath) Opens a dialog to confirm that the user wishes to continue when this resource is open in another DesignergetFirstUser(ResourcePath path) intgetSessionCount(ResourcePath path) booleanhasConflict(ResourcePath path) voidvoidvoidsetContext(DesignerContext context) Called when a project is loaded Designer-sidevoidshutdown()voidstartup()
- 
Constructor Details- 
DesignerResourceEditManagerpublic DesignerResourceEditManager()
 
- 
- 
Method Details- 
confirmConcurrentEditpublic boolean confirmConcurrentEdit(@Nullable JComponent parentComponent, ResourcePath resourcePath) Opens a dialog to confirm that the user wishes to continue when this resource is open in another Designer- Parameters:
- parentComponent- the component to open the dialog over
- resourcePath- the path to the resource that is being opened
- Returns:
- true if the resource is not being edited or if the user has confirmed it should be opened
 
- 
startuppublic void startup()
- 
onEditorChange
- 
setContextCalled when a project is loaded Designer-side
- 
shutdownpublic void shutdown()
- 
getOtherSessions
- 
getCurrentSessionInfo
- 
getCurrentResourceSession
- 
getSessionCount
- 
getFirstUser
- 
hasConflict
- 
onDesignerUpdateCompletepublic void onDesignerUpdateComplete()
 
-