First Designer project

I am trying to start a new designer project with a node in the project panel that will open a workspace. I follow the instruction in the programming pdf but this first section doesn’t compile for me and the javadoc is talking about a manager factory.

 long newId = designerContext.getLockManager().newResourceId();

As shown above I cannot access the newRessourceId from my startup function

[code]public class DesignerHook extends AbstractDesignerModuleHook {

public void startup(DesignerContext context, LicenseState activationState) throws Exception {
	long newID = context.getLockManager()


Can you suggest a solution or a new documentation on getting started with coding the designer.