/*******************************************************************************
 * Copyright (c) 2010 Bolton University, UK.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the License
 * which accompanies this distribution in the file LICENSE.txt
 *******************************************************************************/
package uk.ac.bolton.archimate.canvas.templates.dialog;

import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Shell;

import uk.ac.bolton.archimate.templates.dialog.TemplateManagerDialog;
import uk.ac.bolton.archimate.templates.model.TemplateManager;


/**
 * Canvas Template Manager Dialog
 * 
 * @author Phillip Beauvoir
 */
public class CanvasTemplateManagerDialog extends TemplateManagerDialog {
    
    public CanvasTemplateManagerDialog(Shell parentShell, TemplateManager templateManager) {
        super(parentShell, templateManager);
    }

    @Override
    protected void configureShell(Shell shell) {
        super.configureShell(shell);
        shell.setText("My Canvasses");
    }

    @Override
    protected Control createDialogArea(Composite parent) {
        Control control = super.createDialogArea(parent);
        setTitle("Manage Canvas Templates");
        setMessage("Drag and drop Templates into Categories.");
        return control;
    }
    
}

@@ -873,16 +873,132 @@
 %0D%0A    %0D%0A
+    private static String HELP_ID = %22uk.ac.bolton.archimate.help.CanvasTemplateManagerDialog%22; //$NON-NLS-1$%0D%0A    %0D%0A
     publ
@@ -1573,11 +1573,94 @@
 %0D%0A    %0D%0A
+    @Override%0D%0A    protected String getHelpID() %7B%0D%0A        return HELP_ID;%0D%0A    %7D%0D%0A
 %7D%0D%0A

Use correct HELP_ID for Canvas Template Manager Dialog