Lines 1241-1256
Link Here
|
1241 |
} |
1241 |
} |
1242 |
else if (name.equals(ISystemPropertyConstants.P_SHELL_CONTEXT)) |
1242 |
else if (name.equals(ISystemPropertyConstants.P_SHELL_CONTEXT)) |
1243 |
{ |
1243 |
{ |
1244 |
Object context = cmdShell.getContext(); |
1244 |
return cmdShell.getContextString(); |
1245 |
if (context instanceof IRemoteFile) |
|
|
1246 |
{ |
1247 |
IRemoteFile cwd = (IRemoteFile)context; |
1248 |
return cwd.getAbsolutePath(); |
1249 |
} |
1250 |
else |
1251 |
{ |
1252 |
return context; |
1253 |
} |
1254 |
} |
1245 |
} |
1255 |
} |
1246 |
} |
1256 |
return ""; //$NON-NLS-1$ |
1247 |
return ""; //$NON-NLS-1$ |