commandManager.addCommand("RepaintWorkspace", new RepaintCommand(this));
public DrawingSurface() {	instance = this;		setModified(false);	ViewState view = new ViewState();	view.setWidth(Constants.VIRTUAL_WIDTH);	view.setHeight(Constants.VIRTUAL_HEIGHT);	view.setScale(1.0);	ViewState.setInstance(view);	viewStack = new Stack();	templateStack = new Stack();	initializeNavigator(); 			currentCursor = defaultCursor = Cursor.getDefaultCursor();	handCursor = new Cursor(Cursor.HAND_CURSOR);	hourCursor = new Cursor(Cursor.WAIT_CURSOR);	MouseEventManager.getInstance().subscribe("WorkspacePanel", this);	CommandManager commandManager = CommandManager.getInstance();	DSGUIInterface guimenu = new DSGUIInterface(this);	commandManager.addCommand("GetVDBManager", new GetVDBManager(guimenu));	commandManager.addCommand("GetGUIMenuInterface", new GetGUIInterface(guimenu));	commandManager.addCommand("LinkCommand", new LinkCommand(this));	commandManager.addCommand("GetPrintableInterface", new GetPrintableInterface(this));}