intellij-randomness / com.fwdekker.randomness / SchemesPanel / canDeleteScheme

canDeleteScheme

open fun canDeleteScheme(scheme: T): Boolean

Returns true if the given scheme can be deleted.

Because only the default scheme cannot be deleted, this method is equivalent to differsFromDefault.

Parameters

scheme - the scheme to check for deletability

Return
true if the given scheme can be deleted