Class DisconnectChange<T>

    • Constructor Detail

      • DisconnectChange

        public DisconnectChange​(T target)
        Initiate.
        Parameters:
        target - Target to remove ConnectionModel instances.
    • Method Detail

      • apply

        public void apply()
        Description copied from interface: Change
        Applies this Change.
      • populateRemovedConnections

        protected abstract void populateRemovedConnections​(java.util.List<ConnectionModel> connList)
        Populates the removed ConnectionModel.
        Parameters:
        connList - List to populate with the removed ConnectionModel instances.
      • revert

        public void revert()
        Description copied from interface: Change

        Reverts this Change (after being applied).

        This enables do/undo functionality.