KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > part > CoolItemGroupMarker


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  *******************************************************************************/

11 package org.eclipse.ui.part;
12
13 import org.eclipse.jface.action.GroupMarker;
14
15 /**
16  * A group marker used by EditorActionBars to delineate CoolItem groups.
17  * Use this marker when contributing to the ToolBar for the EditorActionBar.
18  * <p>
19  * This class may be instantiated; it is not intended to be subclassed.
20  * </p>
21  */

22 public class CoolItemGroupMarker extends GroupMarker {
23     /**
24      * Create a new group marker with the given name.
25      * The group name must not be <code>null</code> or the empty string.
26      * The group name is also used as the item id.
27      *
28      * Note that CoolItemGroupMarkers must have a group name and the name must
29      * be unique.
30      *
31      * @param groupName the name of the group
32      */

33     public CoolItemGroupMarker(String JavaDoc groupName) {
34         super(groupName);
35     }
36 }
37
Popular Tags