xy.reflect.ui.control.swing.customizer.CustomizationOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of custom-ui Show documentation
Show all versions of custom-ui Show documentation
Customizations editor for ReflectionUI
The newest version!
package xy.reflect.ui.control.swing.customizer;
/**
* This class holds global editing options for WYSIWYG UI customizations.
*
* @author olitank
*
*/
public class CustomizationOptions {
protected final SwingCustomizer swingCustomizer;
protected boolean inEditMode = true;
protected boolean fieldSharedTypeOptionsDisplayed = true;
public CustomizationOptions(SwingCustomizer swingCustomizer) {
this.swingCustomizer = swingCustomizer;
}
public boolean isInEditMode() {
return inEditMode;
}
public void setInEditMode(boolean inEditMode) {
this.inEditMode = inEditMode;
}
public boolean areFieldSharedTypeOptionsDisplayed() {
return fieldSharedTypeOptionsDisplayed;
}
public void setFieldSharedTypeOptionsDisplayed(boolean fieldSharedTypeOptionsDisplayed) {
this.fieldSharedTypeOptionsDisplayed = fieldSharedTypeOptionsDisplayed;
}
}