import org.eclipse.ui.handlers.HandlerUtil;
/**
- * Create a new empty workspace in the current repository.
+ * Create a new empty workspace in a remote repository.
*/
public class CreateWorkspace extends AbstractHandler {
private static final Log log = LogFactory.getLog(CreateWorkspace.class);
.getActiveWorkbenchWindow(event).getShell(),
"Workspace name?",
"Choose a name for the workspace to create",
- prefix == null ? "" : prefix + "_", null);
+ prefix == null ? "" : prefix + "-", null);
int result = inputDialog.open();
String enteredName = inputDialog.getValue();
count++;
}
- if (log.isDebugEnabled())
- log.debug("Count " + count);
+ if (log.isTraceEnabled())
+ log.trace("Translated workspace name length: " + count
+ + " (name: " + enteredName + " )");
if (count > 60) {
ErrorFeedback.show("Workspace name '" + enteredName