jenkins.plugins.ui_samples
Class NavigationContextMenu

java.lang.Object
  extended by jenkins.plugins.ui_samples.UISample
      extended by jenkins.plugins.ui_samples.NavigationContextMenu
All Implemented Interfaces:
ExtensionPoint, Action, Describable<UISample>, ModelObject, ModelObjectWithContextMenu

@Extension
public class NavigationContextMenu
extends UISample
implements ModelObjectWithContextMenu

Author:
Kohsuke Kawaguchi

Nested Class Summary
static class NavigationContextMenu.DescriptorImpl
           
 
Nested classes/interfaces inherited from class jenkins.plugins.ui_samples.UISample
UISample.SourceFile
 
Nested classes/interfaces inherited from interface jenkins.model.ModelObjectWithContextMenu
ModelObjectWithContextMenu.ContextMenu, ModelObjectWithContextMenu.MenuItem
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
NavigationContextMenu()
           
 
Method Summary
 ModelObjectWithContextMenu.ContextMenu doContextMenu(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
          This method is called via AJAX to obtain the context menu for this model object.
 String getDescription()
          Returns a paragraph of natural text that describes this sample.
 
Methods inherited from class jenkins.plugins.ui_samples.UISample
all, doSourceFile, getDescriptor, getDisplayName, getIconFileName, getSourceFiles, getUrlName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hudson.model.ModelObject
getDisplayName
 

Constructor Detail

NavigationContextMenu

public NavigationContextMenu()
Method Detail

getDescription

public String getDescription()
Description copied from class: UISample
Returns a paragraph of natural text that describes this sample. Interpreted as HTML.

Specified by:
getDescription in class UISample

doContextMenu

public ModelObjectWithContextMenu.ContextMenu doContextMenu(org.kohsuke.stapler.StaplerRequest request,
                                                            org.kohsuke.stapler.StaplerResponse response)
                                                     throws Exception
This method is called via AJAX to obtain the context menu for this model object.

Specified by:
doContextMenu in interface ModelObjectWithContextMenu
Throws:
Exception


Copyright © 2004-2012. All Rights Reserved.