Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.jface.action
Class GroupMarker


java.lang.Object
  extended by 

org.eclipse.jface.action.ContributionItem
      extended by 

org.eclipse.jface.action.AbstractGroupMarker
          extended by 
org.eclipse.jface.action.GroupMarker
All Implemented Interfaces:
IContributionItem
Direct Known Subclasses:
CoolItemGroupMarker

public class GroupMarker
extends AbstractGroupMarker

A group marker is a special kind of contribution item denoting the beginning of a group. These groups are used to structure the list of items. Unlike regular contribution items and separators, group markers have no visual representation. The name of the group is synonymous with the contribution item id.

This class may be instantiated; it is not intended to be subclassed outside the framework.

Restriction:
This class is not intended to be subclassed by clients.

Constructor Summary
GroupMarker ( String groupName)
          Create a new group marker with the given name.
 
Method Summary
 boolean isVisible ()
          The GroupMarker implementation of this method returns false since group markers are always invisible.
 
Methods inherited from class org.eclipse.jface.action. AbstractGroupMarker
getGroupName, isGroupMarker
 
Methods inherited from class org.eclipse.jface.action. ContributionItem
dispose, fill, fill, fill, fill, getId, getParent, isDirty, isDynamic, isEnabled, isSeparator, saveWidgetState, setId, setParent, setVisible, toString, update, update
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GroupMarker

public GroupMarker(
String groupName)
Create a new group marker with the given name. The group name must not be null or the empty string. The group name is also used as the item id.

Parameters:
groupName - the name of the group
Method Detail

isVisible

public boolean isVisible()
The GroupMarker implementation of this method returns false since group markers are always invisible.

Specified by:
isVisible in interface IContributionItem
Overrides:
isVisible in class ContributionItem
Returns:
true if this item is visible, and false otherwise

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire