public code v1
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
package flintstones.valuation.ui;
|
||||
|
||||
import javax.inject.Inject;
|
||||
|
||||
import org.eclipse.e4.core.services.nls.Translation;
|
||||
|
||||
import flintstones.entity.extensionenum.ExtensionEnum;
|
||||
import flintstones.valuation.ui.messages.Messages;
|
||||
|
||||
/**
|
||||
* The Class ValuationUI.
|
||||
*/
|
||||
public class ValuationUI {
|
||||
|
||||
/** The messages. */
|
||||
@Inject
|
||||
@Translation
|
||||
private Messages messages;
|
||||
|
||||
/** The Constant EXTENSION_POINT. */
|
||||
public final static String EXTENSION_POINT = Messages.ValuationUI_extension;
|
||||
|
||||
/** The valuation. */
|
||||
private String _valuation;
|
||||
|
||||
/**
|
||||
* Instantiates a new valuation UI.
|
||||
*/
|
||||
public ValuationUI() {
|
||||
this._valuation = null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the valuation.
|
||||
*
|
||||
* @param valuation the new valuation
|
||||
*/
|
||||
public void setValuation(String valuation) {
|
||||
this._valuation = valuation;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the valuation.
|
||||
*
|
||||
* @return the valuation
|
||||
*/
|
||||
public String getValuation() {
|
||||
return this._valuation;
|
||||
}
|
||||
|
||||
/**
|
||||
* The Enum Fields.
|
||||
*/
|
||||
public enum Fields implements ExtensionEnum {
|
||||
|
||||
/** The id. */
|
||||
uid,
|
||||
/** The valuation. */
|
||||
valuation,
|
||||
/** The new domain dialog. */
|
||||
new_domain_dialog,
|
||||
/** The modify domain dialog. */
|
||||
modify_domain_dialog,
|
||||
/** The dialog. */
|
||||
dialog,
|
||||
/** The valuation panel. */
|
||||
valuation_panel,
|
||||
/** The panel. */
|
||||
panel;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user