Community
Participate
Working Groups
builder.buildActions(this);
// include the workspace location in the title
// if it is NOT the default location and the command line
// if the command line option -showlocation is specified
// option -showlocation is specified
String[] args = Platform.getCommandLineArgs();
boolean show = false;
String location = null;
for (int i = 0; i < args.length; i++) {
if ("-showlocation".equals(args[i])) { //$NON-NLS-1$
show = true;
workspaceLocation = Platform.getLocation().toOSString();
} else if ("-data".equals(args[i])) { //$NON-NLS-1$
location = Platform.getLocation().toOSString();
}
if (show && location != null) {
workspaceLocation = location;
break;