projectviewer.config
Interface OptionsService

All Known Subinterfaces:
VersionControlService

public interface OptionsService

Defines the service for showing custom options panes when editing a project.

Since:
PV 3.0.0
Author:
Marcelo Vanzin

Method Summary
 org.gjt.sp.jedit.OptionGroup getOptionGroup(VPTProject proj)
          This should return an OptionGroup to be shown.
 org.gjt.sp.jedit.OptionPane getOptionPane(VPTProject proj)
          This method should return the option pane to be shown.
 

Method Detail

getOptionPane

org.gjt.sp.jedit.OptionPane getOptionPane(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.

Parameters:
proj - The project that will be edited.
Returns:
An OptionPane instance, or null for no option pane.

getOptionGroup

org.gjt.sp.jedit.OptionGroup getOptionGroup(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.

Parameters:
proj - The project that will be edited.
Returns:
An OptionGroup instance, or null for no option group.