T
- Actual scheme type derived from Scheme
public interface SchemesModel<T extends Scheme>
AbstractSchemesPanel
,
AbstractSchemeActions
Modifier and Type | Method and Description |
---|---|
boolean |
canDeleteScheme(T scheme) |
boolean |
canDuplicateScheme(T scheme) |
boolean |
canRenameScheme(T scheme) |
boolean |
canResetScheme(T scheme) |
boolean |
containsScheme(java.lang.String name,
boolean projectScheme) |
boolean |
differsFromDefault(T scheme) |
boolean |
isProjectScheme(T scheme) |
void |
removeScheme(T scheme) |
boolean canDuplicateScheme(T scheme)
scheme
- The scheme to check.boolean canResetScheme(T scheme)
scheme
- The scheme to check.differsFromDefault(Scheme)
boolean canDeleteScheme(T scheme)
scheme
- The scheme to check.boolean isProjectScheme(T scheme)
scheme
- The scheme to check.false
if project schemes are not supported.boolean canRenameScheme(T scheme)
scheme
- The scheme to check.boolean containsScheme(java.lang.String name, boolean projectScheme)
name
- The scheme to check.projectScheme
- Level of the scheme to check. If schemes model does not support project level schemes
then the parameter is always equal to false.boolean differsFromDefault(T scheme)
scheme
- The scheme to check.canResetScheme(Scheme)
returns true
.void removeScheme(T scheme)