console
Class ProjectCommandOptionsService

java.lang.Object
  extended by console.ProjectCommandOptionsService
All Implemented Interfaces:
projectviewer.config.OptionsService

public class ProjectCommandOptionsService
extends java.lang.Object
implements projectviewer.config.OptionsService

Author:
Damien Radtke class ProjectCommandOptionsService OptionsService instance for providing configurable project commands

Constructor Summary
ProjectCommandOptionsService()
           
 
Method Summary
 org.gjt.sp.jedit.OptionGroup getOptionGroup(projectviewer.vpt.VPTProject proj)
          This should return an OptionGroup to be shown.
 org.gjt.sp.jedit.OptionPane getOptionPane(projectviewer.vpt.VPTProject proj)
          This method should return the option pane to be shown.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectCommandOptionsService

public ProjectCommandOptionsService()
Method Detail

getOptionPane

public org.gjt.sp.jedit.OptionPane getOptionPane(projectviewer.vpt.VPTProject proj)
This method should return the option pane to be shown. As with regular jEdit option panes, the label to be shown in the dialog should be defined by the "option.[pane_name].label" property.

Specified by:
getOptionPane in interface projectviewer.config.OptionsService
Parameters:
proj - The project that will be edited.
Returns:
An OptionPane instance, or null for no option pane.

getOptionGroup

public org.gjt.sp.jedit.OptionGroup getOptionGroup(projectviewer.vpt.VPTProject proj)
This should return an OptionGroup to be shown. As with regular jEdit option groups, the label to be shown in the dialog should be defined by the "option.[group_name].label" property.

Specified by:
getOptionGroup in interface projectviewer.config.OptionsService
Parameters:
proj - The project that will be edited.
Returns:
null for no option group.