protected void onDelete ( ) throws IOException , IllegalArgumentException , IllegalAccessException , FileNotFoundException , IllegalStateException { endpoint . delete ( ) ; eventBus . post ( new ElementDeletedEvent <> ( endpoint ) ) ; }
Handler for deleting the element .