public class StyleProfileManager<M extends StyleManager<M,S>,S extends Style<S>> extends Object implements SelectAndEditProfileSettingsPage.ProfileManager<StyleProfile<S>>
| Constructor and Description |
|---|
StyleProfileManager(M styleManager,
M editingStyleManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply() |
void |
cancel() |
void |
delete(StyleProfile<S> profile) |
StyleProfile<S> |
duplicate(StyleProfile<S> profile)
Duplicate
profile with a new derived name and add it to user
profiles list. |
List<StyleProfile<S>> |
getProfiles() |
StyleProfile<S> |
getSelectedProfile() |
void |
rename(StyleProfile<S> profile,
String newName)
Try to set the name of
profile to newName. |
void |
select(StyleProfile<S> profile)
Select the active profile.
|
public List<StyleProfile<S>> getProfiles()
getProfiles in interface SelectAndEditProfileSettingsPage.ProfileManager<StyleProfile<S extends Style<S>>>public StyleProfile<S> getSelectedProfile()
getSelectedProfile in interface SelectAndEditProfileSettingsPage.ProfileManager<StyleProfile<S extends Style<S>>>public void select(StyleProfile<S> profile)
SelectAndEditProfileSettingsPage.ProfileManagerselect in interface SelectAndEditProfileSettingsPage.ProfileManager<StyleProfile<S extends Style<S>>>profile - the profile.public StyleProfile<S> duplicate(StyleProfile<S> profile)
SelectAndEditProfileSettingsPage.ProfileManagerprofile with a new derived name and add it to user
profiles list.duplicate in interface SelectAndEditProfileSettingsPage.ProfileManager<StyleProfile<S extends Style<S>>>profile - the profile.public void rename(StyleProfile<S> profile, String newName)
SelectAndEditProfileSettingsPage.ProfileManagerprofile to newName.rename in interface SelectAndEditProfileSettingsPage.ProfileManager<StyleProfile<S extends Style<S>>>profile - the profile.newName - the name to set.public void delete(StyleProfile<S> profile)
delete in interface SelectAndEditProfileSettingsPage.ProfileManager<StyleProfile<S extends Style<S>>>public void apply()
apply in interface SelectAndEditProfileSettingsPage.ProfileManager<StyleProfile<S extends Style<S>>>public void cancel()
cancel in interface SelectAndEditProfileSettingsPage.ProfileManager<StyleProfile<S extends Style<S>>>Copyright © 2012–2025 BigDataViewer. All rights reserved.