Class StorageValueRenamed

    • Constructor Detail

      • StorageValueRenamed

        public StorageValueRenamed()
    • Method Detail

      • globalInfo

        public String globalInfo()
        Returns a string describing the object.
        Returns:
        a description suitable for displaying in the gui
      • getStorageName

        protected StorageName getStorageName​(Actor actor)
        Extracts the variable name (the option) from the actor.
        Parameters:
        actor - the actor to get the variable name from
        Returns:
        the variable name, null if none found
      • applies

        public boolean applies​(Actor parent,
                               Actor oldActor,
                               Actor newActor)
        Checks whether this post processor scheme applies to the current situation.
        Specified by:
        applies in class AbstractEditPostProcessor
        Parameters:
        oldActor - the old actor
        newActor - the new, updated actor
        parent - the parent actor
        Returns:
        true if this post processor applies to the situation
      • doPostProcess

        protected boolean doPostProcess​(Tree tree,
                                        Actor parent,
                                        Actor oldActor,
                                        Actor newActor)
        Post-processes the tree.
        Specified by:
        doPostProcess in class AbstractEditPostProcessor
        Parameters:
        tree - the tree to post-process
        parent - the parent actor
        oldActor - the old actor
        newActor - the new, updated actor
        Returns:
        true if tree got modified