Changeset 87 for trunk/org.modelica.mdt
- Timestamp:
- 10/24/05 14:47:06 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/org.modelica.mdt/src/org/modelica/mdt/internal/core/ModelicaPackage.java
r81 r87 101 101 102 102 String retval = null; 103 retval = ModeqCommunicationImplementation.sendExpression("getPackages("+fullName+")"); 103 try 104 { 105 retval = ModeqCommunicationImplementation.sendExpression("getPackages("+fullName+")"); 106 } 107 catch(Exception e) 108 { 109 System.out.println(e.getMessage()); 110 return null; 111 } 104 112 105 113 String[] tokens = parseList(retval); … … 151 159 152 160 String retval = null; 153 retval = ModeqCommunicationImplementation.sendExpression("getClassNames("+fullName+")"); 161 try 162 { 163 retval = ModeqCommunicationImplementation.sendExpression("getClassNames("+fullName+")"); 164 } 165 catch(Exception e) 166 { 167 System.out.println(e.getMessage()); 168 return null; 169 } 154 170 155 171 … … 167 183 if(str.equals("")) 168 184 continue; 169 retval = ModeqCommunicationImplementation.sendExpression("isPackage("+fullName+"."+str+")"); 185 try 186 { 187 retval = ModeqCommunicationImplementation.sendExpression("isPackage("+fullName+"."+str+")"); 188 } 189 catch(Exception e) 190 { 191 System.out.println(e.getMessage()); 192 return null; 193 } 170 194 171 195 if(retval.contains("false"))
Note: See TracChangeset
for help on using the changeset viewer.