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

canRenameScheme

open fun canRenameScheme(scheme: T): Boolean

Returns true if the given scheme can be renamed.

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

Parameters

scheme - the scheme to check for renamability

Return
true if the given scheme can be renamed