|
org.netbeans.modules.jellytools.platform/3 3.13 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.jemmy.operators.Operator
org.netbeans.jemmy.operators.ComponentOperator
org.netbeans.jemmy.operators.ContainerOperator
org.netbeans.jemmy.operators.WindowOperator
org.netbeans.jemmy.operators.DialogOperator
org.netbeans.jemmy.operators.JDialogOperator
org.netbeans.jellytools.NbDialogOperator
org.netbeans.jellytools.PluginsOperator
public class PluginsOperator
Handle Plugins dialog which is opened from main menu "Tools|Plugins". This dialog shows list of installed plugins and also list of available plugins. Plugins can be installed, uninstalled, activated and deactivated.
Usage:
pluginsOper = PluginsOperator.invoke();
pluginsOper.install("My Plugin");
pluginsOper.close();
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.netbeans.jemmy.operators.JDialogOperator |
|---|
org.netbeans.jemmy.operators.JDialogOperator.JDialogFinder |
| Nested classes/interfaces inherited from class org.netbeans.jemmy.operators.DialogOperator |
|---|
org.netbeans.jemmy.operators.DialogOperator.DialogByTitleFinder, org.netbeans.jemmy.operators.DialogOperator.DialogFinder |
| Nested classes/interfaces inherited from class org.netbeans.jemmy.operators.ContainerOperator |
|---|
org.netbeans.jemmy.operators.ContainerOperator.ContainerFinder |
| Field Summary |
|---|
| Fields inherited from class org.netbeans.jemmy.operators.DialogOperator |
|---|
IS_MODAL_DPROP, IS_RESIZABLE_DPROP, TITLE_DPROP |
| Fields inherited from class org.netbeans.jemmy.operators.ComponentOperator |
|---|
HEIGHT_DPROP, IS_SHOWING_DPROP, IS_VISIBLE_DPROP, NAME_DPROP, WIDTH_DPROP, X_DPROP, Y_DPROP |
| Fields inherited from class org.netbeans.jemmy.operators.Operator |
|---|
CLASS_DPROP, TO_STRING_DPROP |
| Constructor Summary | |
|---|---|
PluginsOperator()
Waits for Plugins dialog and waits until initial refresh is finished. |
|
| Method Summary | |
|---|---|
void |
addPlugin(String nbmPath)
Adds plugin specified by its NBM path to the list at Downloaded tab. |
void |
addPlugins()
Switches to Downloaded tab and clicks "Add Plugins" button. |
org.netbeans.jemmy.operators.JButtonOperator |
btAddPlugins()
Tries to find "Add Plugins..." JButton in this dialog. |
org.netbeans.jemmy.operators.JButtonOperator |
btDeactivate()
Switches to Installed tab and finds "Deactivate" JButton. |
org.netbeans.jemmy.operators.JButtonOperator |
btInstall()
Tries to find "Install" JButton in this dialog. |
org.netbeans.jemmy.operators.JButtonOperator |
btReloadCatalog()
Tries to find "Reload Catalog" JButton in this dialog. |
org.netbeans.jemmy.operators.JButtonOperator |
btUninstall()
Switches to Installed tab and finds "Uninstall" JButton. |
org.netbeans.jemmy.operators.JButtonOperator |
btUpdate()
Switches to Updates tab and finds "Update" JButton. |
org.netbeans.jemmy.operators.JCheckBoxOperator |
cbShowDetails()
Switches to Installed tab and finds "Show details" JCheckBox. |
void |
deactivate()
Switches to Installed tab and clicks "Deactivate" button. |
void |
finishInstall()
Finish installation of selected plugins. |
void |
install()
Clicks "Install" button. |
void |
install(String pluginName)
Installs given plugin. |
void |
install(String[] pluginNames)
Installs given plugins. |
WizardOperator |
installer()
Waits for "NetBeans IDE Installer" dialog. |
static PluginsOperator |
invoke()
Invokes Plugins dialog from main menu "Tools|Plugins". |
void |
reloadCatalog()
Clicks "Reload Catalog" button and wait until tabbed pane is again enabled. |
void |
search(String text)
Type given text into search text field and waits until row count of table is changed. |
org.netbeans.jemmy.operators.JTabbedPaneOperator |
selectAvailablePlugins()
Changes current selected tab to "Available Plugins" |
org.netbeans.jemmy.operators.JTabbedPaneOperator |
selectDownloaded()
Changes current selected tab to "Downloaded" |
org.netbeans.jemmy.operators.JTabbedPaneOperator |
selectInstalled()
Changes current selected tab to "Installed" |
void |
selectPlugin(String pluginName)
Selects plugin in the table. |
void |
selectPlugins(String[] pluginNames)
Selects plugins in the table. |
org.netbeans.jemmy.operators.JTabbedPaneOperator |
selectSettings()
Changes current selected tab to "Settings" |
org.netbeans.jemmy.operators.JTabbedPaneOperator |
selectTab(String tabName)
Changes current selected tab to one specified in argument. |
org.netbeans.jemmy.operators.JTabbedPaneOperator |
selectUpdates()
Changes current selected tab to "Updates" |
org.netbeans.jemmy.operators.JTabbedPaneOperator |
tabbedPane()
Wait for JTabbedPane. |
org.netbeans.jemmy.operators.JTableOperator |
table()
Tries to find JTable in selected tab. |
org.netbeans.jemmy.operators.JTextFieldOperator |
txtSearch()
Finds search text field. |
void |
uninstall()
Switches to Installed tab and clicks "Uninstall" button. |
void |
update()
Switches to Updates tab and clicks "Update" button. |
void |
waitTabEnabled(String tabName)
Waits until specified tab is enabled. |
| Methods inherited from class org.netbeans.jellytools.NbDialogOperator |
|---|
btCancel, btClose, btHelp, btNo, btOK, btYes, cancel, closeByButton, help, no, ok, yes |
| Methods inherited from class org.netbeans.jemmy.operators.JDialogOperator |
|---|
findJDialog, findJDialog, findJDialog, findJDialog, findJDialog, findJDialog, findJDialog, findJDialog, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, getTopModalDialog, setContentPane, setDefaultCloseOperation, setGlassPane, setJMenuBar, setLayeredPane, setLocationRelativeTo, waitJDialog, waitJDialog, waitJDialog, waitJDialog, waitJDialog, waitJDialog, waitJDialog, waitJDialog, waitJDialog, waitJDialog, waitJDialog |
| Methods inherited from class org.netbeans.jemmy.operators.DialogOperator |
|---|
getDump, getTitle, isModal, isResizable, setModal, setResizable, setTitle, waitDialog, waitDialog, waitDialog, waitTitle |
| Methods inherited from class org.netbeans.jemmy.operators.WindowOperator |
|---|
activate, addWindowListener, applyResourceBundle, applyResourceBundle, close, copyEnvironment, dispose, findSubWindow, findSubWindow, findWindow, findWindow, findWindow, findWindow, getFocusOwner, getOutput, getOwnedWindows, getOwner, getWarningString, isActive, isFocused, move, pack, removeWindowListener, resize, setOutput, toBack, toFront, waitClosed, waitSubWindow, waitSubWindow, waitWindow, waitWindow, waitWindow, waitWindow, waitWindow, waitWindow, waitWindow |
| Methods inherited from class org.netbeans.jemmy.operators.ContainerOperator |
|---|
add, add, add, add, add, addContainerListener, createSubOperator, createSubOperator, findComponentAt, findComponentAt, findContainer, findContainer, findContainer, findContainer, findContainerUnder, findContainerUnder, findSubComponent, findSubComponent, getComponent, getComponentCount, getComponents, getInsets, getLayout, getTimeouts, isAncestorOf, paintComponents, printComponents, remove, remove, removeAll, removeContainerListener, setLayout, setTimeouts, waitContainer, waitContainer, waitContainer, waitContainer, waitSubComponent, waitSubComponent |
| Methods inherited from class org.netbeans.jemmy.operators.ComponentOperator |
|---|
activateWindow, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, checkImage, checkImage, clickForPopup, clickForPopup, clickForPopup, clickForPopup, clickMouse, clickMouse, clickMouse, clickMouse, clickMouse, clickMouse, clickMouse, contains, contains, createImage, createImage, dispatchEvent, doLayout, dragMouse, dragMouse, dragMouse, dragNDrop, dragNDrop, dragNDrop, enableInputMethods, enterMouse, exitMouse, findComponent, findComponent, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getCenterX, getCenterXForClick, getCenterY, getCenterYForClick, getColorModel, getComponentAt, getComponentAt, getComponentOrientation, getContainer, getContainers, getCursor, getDropTarget, getEventDispatcher, getFocus, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getSize, getSize, getSource, getToolkit, getTreeLock, getWidth, getWindow, getX, getY, hasFocus, imageUpdate, invalidate, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, list, list, list, list, list, makeComponentVisible, moveMouse, paint, paintAll, prepareImage, prepareImage, pressKey, pressKey, pressMouse, pressMouse, print, printAll, pushKey, pushKey, releaseKey, releaseKey, releaseMouse, releaseMouse, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFont, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, transferFocus, typeKey, typeKey, typeKey, update, validate, waitComponent, waitComponent, waitComponent, waitComponent, waitComponentEnabled, waitComponentShowing, waitComponentVisible, waitHasFocus, wtComponentEnabled |
| Methods inherited from class org.netbeans.jemmy.operators.Operator |
|---|
addOperatorPackage, addToDump, addToDump, createOperator, getCharBindingMap, getCharKey, getCharModifiers, getCharsKeys, getCharsKeys, getCharsModifiers, getCharsModifiers, getComparator, getDefaultComponentVisualizer, getDefaultMouseButton, getDefaultPathParser, getDefaultStringComparator, getDefaultVerification, getEnvironmentOperator, getParentPath, getParentPath, getPathParser, getPopupMouseButton, getProperties, getQueueTool, getVerification, getVisualizer, isCaptionEqual, isCaptionEqual, isCaptionEqual, lockQueue, parseString, parseString, printDump, produceNoBlocking, produceNoBlocking, produceTimeRestricted, produceTimeRestricted, runMapping, runMapping, runMapping, runMapping, runMapping, runMapping, runMapping, runMapping, runMapping, setCharBindingMap, setComparator, setDefaultComponentVisualizer, setDefaultPathParser, setDefaultStringComparator, setDefaultVerification, setPathParser, setProperties, setVerification, setVisualizer, toStringSource, unlockAndThrow, unlockQueue, waitState |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PluginsOperator()
| Method Detail |
|---|
public static PluginsOperator invoke()
public org.netbeans.jemmy.operators.JTabbedPaneOperator tabbedPane()
public org.netbeans.jemmy.operators.JTableOperator table()
public org.netbeans.jemmy.operators.JButtonOperator btUpdate()
public org.netbeans.jemmy.operators.JButtonOperator btInstall()
public org.netbeans.jemmy.operators.JButtonOperator btReloadCatalog()
public org.netbeans.jemmy.operators.JButtonOperator btAddPlugins()
public org.netbeans.jemmy.operators.JButtonOperator btDeactivate()
public org.netbeans.jemmy.operators.JButtonOperator btUninstall()
public org.netbeans.jemmy.operators.JCheckBoxOperator cbShowDetails()
public org.netbeans.jemmy.operators.JTextFieldOperator txtSearch()
public WizardOperator installer()
public org.netbeans.jemmy.operators.JTabbedPaneOperator selectUpdates()
public org.netbeans.jemmy.operators.JTabbedPaneOperator selectAvailablePlugins()
public org.netbeans.jemmy.operators.JTabbedPaneOperator selectDownloaded()
public org.netbeans.jemmy.operators.JTabbedPaneOperator selectInstalled()
public org.netbeans.jemmy.operators.JTabbedPaneOperator selectSettings()
public org.netbeans.jemmy.operators.JTabbedPaneOperator selectTab(String tabName)
public void waitTabEnabled(String tabName)
tabName - name of tabpublic void update()
public void install()
public void uninstall()
public void deactivate()
public void search(String text)
text - text to be searched forpublic void reloadCatalog()
public void addPlugins()
public void selectPlugin(String pluginName)
pluginName - name of plugin to be selectedpublic void selectPlugins(String[] pluginNames)
pluginNames - array of plugin names to be selectedpublic void addPlugin(String nbmPath)
nbmPath - absolute path to nbm filepublic void install(String pluginName)
pluginName - public void install(String[] pluginNames)
pluginNames - array of plugin names to be installedpublic void finishInstall()
|
org.netbeans.modules.jellytools.platform/3 3.13 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||