KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > editors > text > IFoldingCommandIds


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  * Alex Weirig <alex.weirig@telewalfer.lu> - Collapse All (https://bugs.eclipse.org/bugs/show_bug.cgi?id=65268)
11  *******************************************************************************/

12 package org.eclipse.ui.editors.text;
13
14
15 /**
16  * Command IDs for folding commands.
17  * <p>
18  * This interface contains constants only; it is not intended to be
19  * implemented.
20  * </p>
21  *
22  * @since 3.0
23  */

24 public interface IFoldingCommandIds {
25
26     /**
27      * Identifier of the "collapse folded region" command.
28      * <p>
29      * Value: {@value}.</p>
30      */

31     String JavaDoc FOLDING_COLLAPSE= "org.eclipse.ui.edit.text.folding.collapse"; //$NON-NLS-1$
32

33     /**
34      * Identifier of the "expand folded region" command.
35      * <p>
36      * Value: {@value}.</p>
37      */

38     String JavaDoc FOLDING_EXPAND= "org.eclipse.ui.edit.text.folding.expand"; //$NON-NLS-1$
39

40     /**
41      * Identifier of the "expand all folded regions" command.
42      * <p>
43      * Value: {@value}.</p>
44      */

45     String JavaDoc FOLDING_EXPAND_ALL= "org.eclipse.ui.edit.text.folding.expand_all"; //$NON-NLS-1$
46

47     /**
48      * Identifier of the "toggle folding" command.
49      * <p>
50      * Value: {@value}.</p>
51      */

52     String JavaDoc FOLDING_TOGGLE= "org.eclipse.ui.edit.text.folding.toggle"; //$NON-NLS-1$
53

54     /**
55      * Identifier of the "collapse all folded regions" command.
56      * <p>
57      * Value: {@value}.</p>
58      *
59      * @since 3.2
60      */

61     String JavaDoc FOLDING_COLLAPSE_ALL = "org.eclipse.ui.edit.text.folding.collapse_all"; //$NON-NLS-1$
62

63     /**
64      * Identifier of the "restore folding structure" command.
65      * <p>
66      * Value: {@value}.</p>
67      *
68      * @since 3.2
69      */

70     String JavaDoc FOLDING_RESTORE= "org.eclipse.ui.edit.text.folding.restore"; //$NON-NLS-1$
71

72 }
73
Popular Tags