Changeset 220
- Timestamp:
- 11/10/02 00:29:56 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/j/src/org/armedbear/j/LocalTag.java
r2 r220 3 3 * 4 4 * Copyright (C) 1998-2002 Peter Graves 5 * $Id: LocalTag.java,v 1. 1.1.1 2002-09-24 16:09:11piso Exp $5 * $Id: LocalTag.java,v 1.2 2002-11-10 00:29:56 piso Exp $ 6 6 * 7 7 * This program is free software; you can redistribute it and/or … … 38 38 super(name, line.getText()); 39 39 pos = new Position(line, 0); 40 t his.type = TAG_METHOD;40 type = TAG_METHOD; 41 41 } 42 42 … … 45 45 super(name, pos.getLine().getText()); 46 46 this.pos = new Position(pos); 47 t his.type = TAG_METHOD;47 type = TAG_METHOD; 48 48 } 49 49 … … 126 126 ImageIcon base = null; 127 127 ImageIcon overlay = null; 128 129 128 switch (type) { 130 129 case TAG_INTERFACE: … … 141 140 break; 142 141 case TAG_METHOD: 142 default: 143 143 if (methodIcon == null) 144 144 methodIcon = Utilities.getIconFromFile("method.png"); … … 150 150 base = fieldIcon; 151 151 break; 152 default: 153 break; 154 } 155 152 } 156 153 if (isPublic()) { 157 154 if (publicIcon == null) … … 167 164 overlay = privateIcon; 168 165 } 169 170 166 return new OverlayIcon(base, overlay); 171 167 }
Note: See TracChangeset
for help on using the changeset viewer.