01: /*******************************************************************************
02: * Copyright (c) 2005, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.ui.internal.cheatsheets.composite.parser;
11:
12: /**
13: * Interface containing the constants used by the cheatsheet parser
14: * to identify the tags used in a composite cheatsheet file.
15: */
16:
17: public interface ICompositeCheatsheetTags {
18:
19: // Elements and attributes
20: public static final String COMPOSITE_CHEATSHEET = "compositeCheatsheet"; //$NON-NLS-1$
21: public static final String COMPOSITE_CHEATSHEET_STATE = "compositeCheatSheetState"; //$NON-NLS-1$
22: public static final String TASK = "task"; //$NON-NLS-1$
23: public static final String TASK_GROUP = "taskGroup"; //$NON-NLS-1$
24: public static final String EXPLORER = "explorer"; //$NON-NLS-1$
25: public static final String NAME = "name"; //$NON-NLS-1$
26: public static final String VALUE = "value"; //$NON-NLS-1$
27: public static final String KIND = "kind"; //$NON-NLS-1$
28: public static final String ON_COMPLETION = "onCompletion"; //$NON-NLS-1$
29: public static final String DEPENDS_ON = "dependsOn"; //$NON-NLS-1$
30: public static final String STATE = "state"; //$NON-NLS-1$
31:
32: // Attribute values
33: public static final String TREE = "tree"; //$NON-NLS-1$
34:
35: // Cheatsheet task parameters
36: public static final String CHEATSHEET_TASK_KIND = "cheatsheet"; //$NON-NLS-1$
37: public static final String CHEATSHEET_TASK_ID = "id"; //$NON-NLS-1$
38: public static final String CHEATSHEET_TASK_PATH = "path"; //$NON-NLS-1$
39: public static final String CHEATSHEET_TASK_SHOW_INTRO = "showIntro"; //$NON-NLS-1$
40:
41: // Tags used in Memento
42: public static final String TASK_DATA = "taskData"; //$NON-NLS-1$
43: public static final String CHEAT_SHEET_MANAGER = "cheatSheetManager"; //$NON-NLS-1$
44: public static final String KEY = "key"; //$NON-NLS-1$
45: public static final String TASK_ID = "id"; //$NON-NLS-1$
46: public static final String SELECTED_TASK = "selectedTask"; //$NON-NLS-1$
47: public static final String LAYOUT_DATA = "layout"; //$NON-NLS-1$
48:
49: }
|