home *** CD-ROM | disk | FTP | other *** search
Java Source | 1998-10-25 | 1.4 KB | 63 lines |
- /*
- * Copyright 1998 Symantec Corporation, All Rights Reserved.
- */
-
- package com.symantec.itools.vcafe.openapi.pluginapi;
-
- import symantec.itools.vcafe.plugin.BasePluginOptionTab;
-
- /**
- * PluginOptionTab represents a tab (window). A tab can be added to the
- * Visual Cafe Environment Options and Project Options dialog box.
- *
- * @author Symantec Internet Tools Division
- * @version 1.0
- * @since VCafe 3.0
- */
- public class PluginOptionTab extends BasePluginOptionTab
- {
- /**
- * Construct an option tab with the given title
- *
- * @param title The title of the tab
- */
- public PluginOptionTab(String title)
- {
- super(title);
- }
-
- /**
- * Set the dirty flag. This will enable the 'Apply' button in the
- * dialog box.
- *
- * @param dirty flag on/off
- */
- public void setModified(boolean flag)
- {
- super.setModified(flag);
- }
-
- /**
- * Set the help id for this tab. Pressing F1 on an active plug in window will
- * invoke online help displaying the link specified by the given id.
- *
- * @param id the help id to use for this view
- */
- public void setHelpId(int id)
- {
- helpId = id;
- super.setHelpId(id);
- }
-
- /**
- * Get the help id used by this tab.
- *
- * @return the help id being used by this view
- */
- public int getHelpId()
- {
- return helpId;
- }
-
- private int helpId = 0;
- }