Class AbstractWorkbenchEditorActivity

    • Field Detail

      • lockManagerProvider

        @Inject
        protected javax.enterprise.inject.Instance<LockManager> lockManagerProvider
      • path

        protected org.uberfire.backend.vfs.ObservablePath path
    • Constructor Detail

      • AbstractWorkbenchEditorActivity

        public AbstractWorkbenchEditorActivity​(PlaceManager placeManager)
    • Method Detail

      • onStartup

        public final void onStartup​(org.uberfire.mvp.PlaceRequest place)
        Overrides the default implementation by redirecting calls that are PathPlaceRequest instances to onStartup(ObservablePath, PlaceRequest). Non-path place requests are handed up to the super impl.
        Specified by:
        onStartup in interface Activity
        Overrides:
        onStartup in class AbstractActivity
        Parameters:
        place - The place that resolved to this activity
      • onStartup

        public void onStartup​(org.uberfire.backend.vfs.ObservablePath path,
                              org.uberfire.mvp.PlaceRequest place)
        Specified by:
        onStartup in interface WorkbenchEditorActivity
      • setupDefaultPessimisticLockManager

        protected void setupDefaultPessimisticLockManager()
      • onOpen

        public void onOpen()
        Description copied from class: AbstractActivity
        Tracks open/closed lifecycle. Subclasses should always call super.onOpen() in methods that override this one.
        Specified by:
        onOpen in interface Activity
        Overrides:
        onOpen in class AbstractActivity
      • onClose

        public void onClose()
        Description copied from class: AbstractActivity
        Tracks open/closed lifecycle. Subclasses should always call super.onClose() in methods that override this one.
        Specified by:
        onClose in interface Activity
        Overrides:
        onClose in class AbstractActivity
      • getLockingStrategy

        protected org.uberfire.client.annotations.WorkbenchEditor.LockingStrategy getLockingStrategy()
        Returns the locking strategy for this editor activity, defaulting to pessimistic. This method is overridden for generated activities returning the strategy configured at WorkbenchEditor.