Class PlaceholderBean.PlaceholderActions

    • Constructor Detail

      • PlaceholderActions

        public PlaceholderActions()
    • Method Detail

      • modifyActiveGroups

        public void modifyActiveGroups​(PlaceholderModifyActiveGroupsEvent data)
        Changes the currently active placeholder groups.
        Parameters:
        data - Data indicating how to change the groups.
      • modifyLibrary

        public void modifyLibrary​(PlaceholderModifyLibraryEvent data)
        Modifies the available placeholders in the placeholder library, such as adding a set of available placeholders or removing one.
        Parameters:
        data - Data indicating how to modify the placeholder library.
      • placeholderContextChanged

        public void placeholderContextChanged​(PlaceholderContextChangedEvent data)
        Updates the available placeholders. Can be used when the context has changed to force an update.
        Parameters:
        data - Data with the new context.
      • projectContextChanged

        public void projectContextChanged​(PlaceholderProjectContextChangedEvent data)
        Should be called when the selected project has changed. Updates the placeholders so that it reflects the new project context.
        Parameters:
        data - Data with the newly selected project.