public abstract class ModelItemDesktopPanel<T extends ModelItem> extends SBPanel implements DesktopPanel, java.beans.PropertyChangeListener
Base class for DesktopPanels
| Constructor and description |
|---|
ModelItemDesktopPanel(T modelItem) |
ModelItemDesktopPanel(T modelItem, ModelItem navigatorModelItem)Use this constructor in case the real model item differ from the model item linked to the editor. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public static javax.swing.JButton |
createActionButton(javax.swing.Action action, boolean enabled) |
|
public boolean |
dependsOn(ModelItem modelItem) |
|
public javax.swing.JComponent |
getComponent() |
|
public final java.lang.String |
getDescription() |
|
public javax.swing.Icon |
getIcon() |
|
public final T |
getModelItem() |
|
public final ModelItem |
getNavigatorModelItem() |
|
public java.lang.String |
getTitle() |
|
public boolean |
isDesktopPanelVisible() |
|
public void |
notifyPropertyChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue) |
|
public boolean |
onClose(boolean canCancel) |
|
public void |
propertyChange(java.beans.PropertyChangeEvent evt) |
|
public void |
setDesktopPanelVisible(boolean desktopPanelView) |
|
public void |
setTitle(java.lang.String title) |
Use this constructor in case the real model item differ from the model item linked to the editor. E.g. - JMS test step. It has own model item, but uses Rest or Wsdl request editors to display data. So, in this case model item will be instance of the Rest or Wsdl request, but navigator model item must be an instance of the Jms test step. Otherwise navigator will not be able to open proper editor on node selection.
modelItem - A model item representing a real data.navigatorModelItem - A model item acting as a link between Navigator and the editor.ReadyAPI functional (soapui) SDK 4.0.1