Package no.ugland.utransprod.model

Examples of no.ugland.utransprod.model.CommentType


     * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
     */
    public void actionPerformed(ActionEvent arg0) {
      String labelText;
      String heading;
      CommentType commentType;
      if (checkBoxClosed.isSelected()) {
        commentType = CommentTypeUtil.getCommentType("Lukking");
        labelText = "Skriv kommentar til lukking";
        heading = "Lukking";
      } else {
View Full Code Here


    public static CommentType getCommentType(String commentTypeName){
        initCommentTypes();
        return commentTypeMap.get(commentTypeName);
    }
    public static boolean hasCommentType(List<CommentType> commentTypes,String commentTypeName){
        CommentType commentType = getCommentType(commentTypeName);
        if(commentType!=null){
            return commentTypes.contains(commentType);
        }
        return false;
    }
View Full Code Here

TOP

Related Classes of no.ugland.utransprod.model.CommentType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.