コード例 #1
0
 public String getDeployFolder() {
   return ServerUtil.makeGlobal(
           getServer().getRuntime(), new Path(getAttribute(DEPLOY_DIRECTORY, "")))
       .toString(); //$NON-NLS-1$
 }
コード例 #2
0
 public String openBrowseDialog(IServerAttributes server, String original) {
   DirectoryDialog d = new DirectoryDialog(new Shell());
   String filterPath = ServerUtil.makeGlobal(server.getRuntime(), new Path(original)).toString();
   d.setFilterPath(filterPath);
   return d.open();
 }