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

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.ui.navigator
Class MenuInsertionPoint

java.lang.Object
  extended by 
org.eclipse.ui.navigator.MenuInsertionPoint

public final class MenuInsertionPoint
extends Object

A descriptive construct to relay information about a menu insertion point; including the name of the insertion point and whether the item should be rendered as a separator or group marker.

Since:
3.2

Constructor Summary
MenuInsertionPoint ( String aName, boolean toMakeASeparator)
           
 
Method Summary
  String getName ()
           
 boolean isSeparator ()
           
  String toString ()
           
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MenuInsertionPoint

public MenuInsertionPoint(
String aName,
                          boolean toMakeASeparator)
Parameters:
aName - The name that clients will refer to when inserting items into the menu at this point.
toMakeASeparator - A value of true will cause the point to be rendered as a org.eclipse.jface.action.Separator (a "bar" in the menu); false will cause the point to be rendered as a org.eclipse.jface.action.GroupMarker.
Method Detail

isSeparator

public boolean isSeparator()
Returns:
True if the point should be rendered as a org.eclipse.jface.action.Separator (a "bar" in the menu); or false if the point should be rendered as a org.eclipse.jface.action.GroupMarker.

getName

public 
String getName()
Returns:
The name that clients will refer to when inserting items into the menu at this point.

toString

public 
String toString()
Overrides:
toString in class Object

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