|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.argouml.application.helpers.SettingsTabHelper
getTabPanel() into your class.
Helper object for Settings Tabs.
| Nested Class Summary |
| Nested classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
| Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
| Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface org.argouml.application.api.Pluggable |
PLUGIN_PREFIX, PLUGIN_TITLE, PLUGIN_VENDOR |
| Fields inherited from interface org.argouml.application.api.ArgoModule |
MODULEFILENAME, MODULEFILENAME_ALTERNATE |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
SettingsTabHelper()
Deprecated. Constructor. |
|
| Method Summary | |
protected JCheckBox |
createCheckBox(String key)
Deprecated. Create a localized JCheckBox. |
protected JLabel |
createLabel(String key)
Deprecated. Create a localized JLabel. |
protected JRadioButton |
createRadioButton(ButtonGroup bg,
String key,
boolean selected)
Deprecated. Create a localized JRadioButton. |
protected JTextField |
createTextField()
Deprecated. Create a JTextField. |
Vector |
getModulePopUpActions(Vector v,
Object o)
Deprecated. Calls all modules to let them add to a popup menu. |
SettingsTabPanel |
getSettingsTabPanel()
Deprecated. Returns the settings tab panel for the plugin. |
JPanel |
getTabPanel()
Deprecated. Gets the JPanel which implements the tab. |
boolean |
inContext(Object[] o)
Deprecated. A function which allows a plug-in to decide if it is available under a specific context. |
boolean |
initializeModule()
Deprecated. Method called when Argo is loading a module. |
boolean |
isModuleEnabled()
Deprecated. Allows determination if a module is enabled or disabled. |
String |
localize(String key)
Deprecated. Helper for localization, localizes using the bundle passed in the constructor. |
void |
setModuleEnabled(boolean v)
Deprecated. Called to enable or disable a module programmatically. |
boolean |
shutdownModule()
Deprecated. Method called when Argo is unloading a module. |
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.argouml.ui.GUISettingsTabInterface |
getTabKey, handleResetToDefault, handleSettingsTabCancel, handleSettingsTabRefresh, handleSettingsTabSave |
| Methods inherited from interface org.argouml.application.api.ArgoModule |
getModuleAuthor, getModuleDescription, getModuleKey, getModuleName, getModuleVersion |
| Constructor Detail |
public SettingsTabHelper()
| Method Detail |
public String localize(String key)
key - the key for the string to localize
protected JLabel createLabel(String key)
key - the key of the text for the label
protected JCheckBox createCheckBox(String key)
key - the key for the string to be localized
protected JRadioButton createRadioButton(ButtonGroup bg,
String key,
boolean selected)
bg - the buttongroupkey - the key for the string to be localizedselected - true if selected
protected JTextField createTextField()
public void setModuleEnabled(boolean v)
ArgoModule
setModuleEnabled in interface ArgoModulev - true to enable module, false to disableArgoModule.setModuleEnabled(boolean)public boolean initializeModule()
ArgoModule
initializeModule in interface ArgoModuleArgoModule.initializeModule()public boolean inContext(Object[] o)
Pluggable
inContext in interface Pluggableo - An identification of the context.
The interpretation of criteria is specific to
the plug-in type, but must be consistent
across that type. The plug-in must want
to be exposed to all contexts.
Pluggable.inContext(java.lang.Object[])public boolean isModuleEnabled()
ArgoModule
isModuleEnabled in interface ArgoModuleArgoModule.isModuleEnabled()
public Vector getModulePopUpActions(Vector v,
Object o)
ArgoModule
getModulePopUpActions in interface ArgoModulev - Vector of actionso - which the actions are valid for
ArgoModule.getModulePopUpActions(
java.util.Vector, java.lang.Object)public boolean shutdownModule()
ArgoModule
shutdownModule in interface ArgoModuleArgoModule.shutdownModule()public SettingsTabPanel getSettingsTabPanel()
PluggableSettingsTab
getSettingsTabPanel in interface PluggableSettingsTabPluggableSettingsTab.getSettingsTabPanel()public JPanel getTabPanel()
GUISettingsTabInterface
getTabPanel in interface GUISettingsTabInterfaceGUISettingsTabInterface.getTabPanel()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |