Coverage Report - org.argouml.application.events.ArgoEventTypes
 
Classes in this File Line Coverage Branch Coverage Complexity
ArgoEventTypes
N/A
N/A
0
 
 1  
 /* $Id: ArgoEventTypes.java 17749 2010-01-11 18:49:17Z linus $
 2  
  *******************************************************************************
 3  
  * Copyright (c) 2009 Contributors - see below
 4  
  * All rights reserved. This program and the accompanying materials
 5  
  * are made available under the terms of the Eclipse Public License v1.0
 6  
  * which accompanies this distribution, and is available at
 7  
  * http://www.eclipse.org/legal/epl-v10.html
 8  
  *
 9  
  * Contributors:
 10  
  *    mvw
 11  
  *******************************************************************************
 12  
  *
 13  
  * Some portions of this file was previously release using the BSD License:
 14  
  */
 15  
 
 16  
 // Copyright (c) 1996-2007 The Regents of the University of California. All
 17  
 // Rights Reserved. Permission to use, copy, modify, and distribute this
 18  
 // software and its documentation without fee, and without a written
 19  
 // agreement is hereby granted, provided that the above copyright notice
 20  
 // and this paragraph appear in all copies.  This software program and
 21  
 // documentation are copyrighted by The Regents of the University of
 22  
 // California. The software program and documentation are supplied "AS
 23  
 // IS", without any accompanying services from The Regents. The Regents
 24  
 // does not warrant that the operation of the program will be
 25  
 // uninterrupted or error-free. The end-user understands that the program
 26  
 // was developed for research purposes and is advised not to rely
 27  
 // exclusively on the program for any reason.  IN NO EVENT SHALL THE
 28  
 // UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
 29  
 // SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS,
 30  
 // ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
 31  
 // THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
 32  
 // SUCH DAMAGE. THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY
 33  
 // WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 34  
 // MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
 35  
 // PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
 36  
 // CALIFORNIA HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT,
 37  
 // UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 38  
 
 39  
 package org.argouml.application.events;
 40  
 
 41  
 /**
 42  
  * Definitions of Argo Event types.
 43  
  *
 44  
  * @author Thierry Lach
 45  
  * @since  ARGO0.9.4
 46  
  */
 47  
 public interface ArgoEventTypes {
 48  
 
 49  
     /**
 50  
      * Id which matches any event.
 51  
      */
 52  
     int ANY_EVENT                 =  1000;
 53  
 
 54  
     /**
 55  
      * Id which matches any module event.
 56  
      */
 57  
     int ANY_MODULE_EVENT          =  1100;
 58  
 
 59  
     /**
 60  
      * Id indicating a module was loaded.
 61  
      */
 62  
     int MODULE_LOADED             =  1101;
 63  
 
 64  
     /**
 65  
      * Id indicating a module was unloaded.
 66  
      */
 67  
     int MODULE_UNLOADED           =  1102;
 68  
 
 69  
     /**
 70  
      * Id indicating a module was enabled.
 71  
      */
 72  
     int MODULE_ENABLED            =  1103;
 73  
 
 74  
     /**
 75  
      * Id indicating a module was disabled.
 76  
      */
 77  
     int MODULE_DISABLED           =  1104;
 78  
 
 79  
     /**
 80  
      * Last module event.
 81  
      */
 82  
     int LAST_MODULE_EVENT         =  1199;
 83  
 
 84  
 
 85  
     /**
 86  
      * Id indicating any notation event.
 87  
      */
 88  
     int ANY_NOTATION_EVENT        =  1200;
 89  
 
 90  
     /**
 91  
      * Id indicating the default notation was changed.
 92  
      */
 93  
     int NOTATION_CHANGED          =  1201;
 94  
 
 95  
     /**
 96  
      * Id indicating a notation was added.
 97  
      */
 98  
     int NOTATION_ADDED            =  1202;
 99  
 
 100  
     /**
 101  
      * Id indicating a notation was removed.
 102  
      */
 103  
     int NOTATION_REMOVED          =  1203;
 104  
 
 105  
     /**
 106  
      * Id indicating a notation provider was added.
 107  
      */
 108  
     int NOTATION_PROVIDER_ADDED   =  1204;
 109  
 
 110  
     /**
 111  
      * Id indicating a notation provider was removed.
 112  
      */
 113  
     int NOTATION_PROVIDER_REMOVED =  1205;
 114  
 
 115  
     /**
 116  
      * Last module event.
 117  
      */
 118  
     int LAST_NOTATION_EVENT       =  1299;
 119  
 
 120  
 
 121  
     /**
 122  
      * Id indicating any GENERATION event.
 123  
      */
 124  
     int ANY_GENERATOR_EVENT        =  1300;
 125  
 
 126  
     /**
 127  
      * Id indicating the default GENERATION was changed.
 128  
      */
 129  
     int GENERATOR_CHANGED          =  1301;
 130  
 
 131  
     /**
 132  
      * Id indicating a GENERATION was added.
 133  
      */
 134  
     int GENERATOR_ADDED            =  1302;
 135  
 
 136  
     /**
 137  
      * Id indicating a GENERATION was removed.
 138  
      */
 139  
     int GENERATOR_REMOVED          =  1303;
 140  
 
 141  
     /**
 142  
      * Last generation event.
 143  
      */
 144  
     int LAST_GENERATOR_EVENT       =  1399;
 145  
 
 146  
 
 147  
     /**
 148  
      * Id indicating any HELP event.
 149  
      */
 150  
     int ANY_HELP_EVENT        =  1400;
 151  
 
 152  
     /**
 153  
      * Id indicating the help text was changed.
 154  
      */
 155  
     int HELP_CHANGED          =  1401;
 156  
 
 157  
     /**
 158  
      * Id indicating a help text was removed.
 159  
      */
 160  
     int HELP_REMOVED          =  1403;
 161  
 
 162  
     /**
 163  
      * Last help event.
 164  
      */
 165  
     int LAST_HELP_EVENT       =  1499;
 166  
 
 167  
 
 168  
     /**
 169  
      * Id indicating any STATUS event.
 170  
      */
 171  
     int ANY_STATUS_EVENT        =  1500;
 172  
 
 173  
     /**
 174  
      * Id indicating the status text was changed.
 175  
      */
 176  
     int STATUS_TEXT          =  1501;
 177  
 
 178  
     /**
 179  
      * Id indicating that there is no current status text.
 180  
      */
 181  
     int STATUS_CLEARED          =  1503;
 182  
 
 183  
     /**
 184  
      * Id indicating that a project was saved.
 185  
      */
 186  
     int STATUS_PROJECT_SAVED          =  1504;
 187  
 
 188  
     /**
 189  
      * Id indicating that a project was loaded.
 190  
      */
 191  
     int STATUS_PROJECT_LOADED         =  1505;
 192  
 
 193  
     /**
 194  
      * Id indicating that a project was modified.
 195  
      */
 196  
     int STATUS_PROJECT_MODIFIED        =  1506;
 197  
     
 198  
     /**
 199  
      * Last help event.
 200  
      */
 201  
     int LAST_STATUS_EVENT       =  1599;
 202  
 
 203  
     /**
 204  
      * Indicating any diagram appearance event.
 205  
      */
 206  
     int ANY_DIAGRAM_APPEARANCE_EVENT = 1600;
 207  
 
 208  
     /**
 209  
      * Indicating that appearance is changed.
 210  
      */
 211  
     int DIAGRAM_FONT_CHANGED = 1601;
 212  
 
 213  
     /**
 214  
      * Last diagram appearance event.
 215  
      */
 216  
     int LAST_DIAGRAM_APPEARANCE_EVENT = 1699;
 217  
 
 218  
     /**
 219  
      * Indicating any profile event.
 220  
      */
 221  
     int ANY_PROFILE_EVENT = 1700;
 222  
 
 223  
     /**
 224  
      * Indicating that a profile has been added.
 225  
      */
 226  
     int PROFILE_ADDED = 1701;
 227  
 
 228  
     /**
 229  
      * Indicating that a profile has been removed.
 230  
      */
 231  
     int PROFILE_REMOVED = 1702;
 232  
 
 233  
     /**
 234  
      * Last profile event.
 235  
      */
 236  
     int LAST_PROFILE_EVENT = 1799;
 237  
 
 238  
     /**
 239  
      * Id marker for the last Argo event.
 240  
      */
 241  
     int ARGO_EVENT_END            = 99999;
 242  
 }