Subversion Repository Public Repository

litesoft

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package com.temp.client.foundation.util;

public interface MessageUserSink {
    enum Priority {
        Error, Warning, Info;

        public boolean isLowerPriorityThan( Priority them ) {
            return (them != null) && (them.ordinal() < this.ordinal());
        }

        public static Priority deNull( Priority pPriority ) {
            return (pPriority != null) ? pPriority : Info;
        }
    }

    void clearMessage();

    void clearMessage( String pMessage );

    void setInfoMessage( String pMessage );

    void setWarningMessage( String pMessage );

    void setErrorMessage( String pMessage );

    void setErrorMessage( Throwable pThrowable, String pMessage );
}

Commits for litesoft/trunk/GWT_Sandbox/FormEngine/src/com/temp/client/foundation/util/MessageUserSink.java

Diff revisions: vs.
Revision Author Commited Message
948 Diff Diff GeorgeS picture GeorgeS Sat 07 Jun, 2014 23:42:39 +0000

Jusefuls Formatter Updated to New Code Format

626 GeorgeS picture GeorgeS Wed 11 Apr, 2012 19:39:41 +0000