All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.imunity.console.tprofile.ActionParameterComponent Maven / Gradle / Ivy

/*
 * Copyright (c) 2021 Bixbit - Krzysztof Benedyczak. All rights reserved.
 * See LICENCE.txt file for licensing information.
 */
package io.imunity.console.tprofile;

import pl.edu.icm.unity.base.message.MessageSource;

/**
 * Implementations are used to edit values of translation action parameters.
 * @author K. Benedyczak
 */
public interface ActionParameterComponent
{
	String getActionValue();
	String getCaption();
	void setActionValue(String value);
	boolean isValid();
	void setReadOnly(boolean readOnly);
	void addValueChangeCallback(Runnable callback);
	default String getActionValueRepresentation(MessageSource msg)
	{
		return getActionValue();
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy