Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

oracle.jdeveloper.vcs.util
Class VCSComponents

java.lang.Object
  extended by oracle.jdeveloper.vcs.util.VCSComponents

public final class VCSComponents
extends java.lang.Object

Utility components class for common VCS client UI.

Since:
9.0.5

Method Summary
static CheckBoxListModel createCheckBoxListModel(java.lang.Object[] userObjects, boolean checkedList)
          Creates a check box list model for use in a list control.
static DetailDialog createDetailDialog(java.awt.Component parent, java.lang.String title, java.lang.Object message, java.util.Collection<java.lang.String> detail, java.lang.String helpTopicId)
          Creates an alert dialog optionally containing a detail area.
static DetailDialog createDetailDialog(java.awt.Component parent, java.lang.String title, java.lang.Object message, java.lang.Object detail, java.lang.String helpTopicId)
          Creates an alert dialog optionally containing a detail area.
static VersionOperationPanel createFileListerComponent(java.util.Collection<?> nodes)
          Creates a lister component to represent the given node selection.
static VersionOperationPanel createFileListerComponent(java.util.Collection<?> nodes, javax.swing.table.TableCellRenderer renderer)
          Creates a lister component to represent the given node selection.
static MutableVersionOperationModel createFileListerModel(java.util.Collection<?> nodes, DisplayProperty[] extraProperties)
          Creates a model for the version operation panel with the default properties and some additional properties.
static MutableVersionOperationModel createFileListerModel(java.util.Collection<?> nodes, DisplayProperty locationProperty, DisplayProperty[] extraProperties)
          Creates a model for the version operation panel with the default properties and some additional properties.
static oracle.bali.ewt.dialog.JEWTDialog createOperationDetailDialog(java.awt.Component parent, java.lang.String title, java.lang.String hint, java.awt.Component center, java.awt.Component south, java.lang.String helpTopicId, java.awt.Component initialFocus, java.awt.Component detail)
          Shows a dialog that might be used in a version control operation.
static oracle.bali.ewt.dialog.JEWTDialog createOperationDialog(java.awt.Component parent, java.lang.String title, java.lang.String hint, java.awt.Component center, java.awt.Component south, java.lang.String helpTopicId)
          Shows a dialog that might be used in a version control operation.
static oracle.bali.ewt.dialog.JEWTDialog createOperationDialog(java.awt.Component parent, java.lang.String title, java.lang.String hint, java.awt.Component center, java.awt.Component south, java.lang.String helpTopicId, java.awt.Component initialFocus)
          Shows a dialog that might be used in a version control operation.
static oracle.bali.ewt.wizard.WizardDialog createWizardDialog(FSMWizard wizard, java.awt.Component parent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createWizardDialog

public static oracle.bali.ewt.wizard.WizardDialog createWizardDialog(FSMWizard wizard,
                                                                     java.awt.Component parent)

createCheckBoxListModel

public static final CheckBoxListModel createCheckBoxListModel(java.lang.Object[] userObjects,
                                                              boolean checkedList)
Creates a check box list model for use in a list control.

Parameters:
userObjects - the user object contents.
checkedList - a decision on whether the model supports checking.
Returns:
the check box list model instance.

createFileListerModel

public static final MutableVersionOperationModel createFileListerModel(java.util.Collection<?> nodes,
                                                                       DisplayProperty[] extraProperties)
Creates a model for the version operation panel with the default properties and some additional properties. This can be used to hook custom properties into the file lister. You should create a new instance of oracle.jdeveloper.vcs.vop.VersionOperationPanel using the returned model, and call the installModel() to plug the model into the panel.

Parameters:
nodes - the nodes to populate the model with
extraProperties - additional properties to add to the model. May be null.
Returns:
a model that can be plugged into a VersionOperationPanel.

createFileListerModel

public static final MutableVersionOperationModel createFileListerModel(java.util.Collection<?> nodes,
                                                                       DisplayProperty locationProperty,
                                                                       DisplayProperty[] extraProperties)
Creates a model for the version operation panel with the default properties and some additional properties. This can be used to hook custom properties into the file lister. You should create a new instance of oracle.jdeveloper.vcs.vop.VersionOperationPanel using the returned model, and call the installModel() to plug the model into the panel.

Parameters:
locationProperty - the property for the file location.
nodes - the nodes to populate the model with
extraProperties - additional properties to add to the model. May be null.
Returns:
a model that can be plugged into a VersionOperationPanel.

createFileListerComponent

public static final VersionOperationPanel createFileListerComponent(java.util.Collection<?> nodes)
Creates a lister component to represent the given node selection.

Parameters:
nodes - nodes to be represented.
Returns:
the lister component instance.

createFileListerComponent

public static final VersionOperationPanel createFileListerComponent(java.util.Collection<?> nodes,
                                                                    javax.swing.table.TableCellRenderer renderer)
Creates a lister component to represent the given node selection.

Parameters:
nodes - nodes to be represented.
renderer - a custom table cell renderer.
Returns:
the lister component instance.

createDetailDialog

public static final DetailDialog createDetailDialog(java.awt.Component parent,
                                                    java.lang.String title,
                                                    java.lang.Object message,
                                                    java.util.Collection<java.lang.String> detail,
                                                    java.lang.String helpTopicId)
Creates an alert dialog optionally containing a detail area.

Parameters:
parent - the parent component for the dialog.
title - the title bar caption for the dialog. (null-capable)
message - the message object to display (component or string).
detail - a collection of String objects to display in the detailed component
helpTopicId - the help topic ID for the dialog. (null-capable)
Returns:
the detail dialog instance.

createDetailDialog

public static final DetailDialog createDetailDialog(java.awt.Component parent,
                                                    java.lang.String title,
                                                    java.lang.Object message,
                                                    java.lang.Object detail,
                                                    java.lang.String helpTopicId)
Creates an alert dialog optionally containing a detail area.

Parameters:
parent - the parent component for the dialog.
title - the title bar caption for the dialog. (null-capable)
message - the message object to display (component or string).
detail - the detail object to display (component or string). (null-capable)
helpTopicId - the help topic ID for the dialog. (null-capable)
Returns:
the detail dialog instance.

createOperationDialog

public static final oracle.bali.ewt.dialog.JEWTDialog createOperationDialog(java.awt.Component parent,
                                                                            java.lang.String title,
                                                                            java.lang.String hint,
                                                                            java.awt.Component center,
                                                                            java.awt.Component south,
                                                                            java.lang.String helpTopicId)
Shows a dialog that might be used in a version control operation.

Parameters:
parent - the parent component for the dialog.
title - the title bar caption for the dialog. (null-capable)
hint - the hint to be shown with north border orientation.
center - the component to be shown with center border orientation.
south - the component to be shown with south border orientation. (null-capable)
helpTopicId - the help topic ID for the dialog. (null-capable)
Returns:
the operation dialog instance.

createOperationDialog

public static final oracle.bali.ewt.dialog.JEWTDialog createOperationDialog(java.awt.Component parent,
                                                                            java.lang.String title,
                                                                            java.lang.String hint,
                                                                            java.awt.Component center,
                                                                            java.awt.Component south,
                                                                            java.lang.String helpTopicId,
                                                                            java.awt.Component initialFocus)
Shows a dialog that might be used in a version control operation.

Parameters:
parent - the parent component for the dialog.
title - the title bar caption for the dialog. (null-capable)
hint - the hint to be shown with north border orientation. *UNUSED*
center - the component to be shown with center border orientation.
south - the component to be shown with south border orientation. (null-capable)
helpTopicId - the help topic ID for the dialog. (null-capable)
initialFocus - the first component to focus in the dialog.
Returns:
the operation dialog instance.

createOperationDetailDialog

public static final oracle.bali.ewt.dialog.JEWTDialog createOperationDetailDialog(java.awt.Component parent,
                                                                                  java.lang.String title,
                                                                                  java.lang.String hint,
                                                                                  java.awt.Component center,
                                                                                  java.awt.Component south,
                                                                                  java.lang.String helpTopicId,
                                                                                  java.awt.Component initialFocus,
                                                                                  java.awt.Component detail)
Shows a dialog that might be used in a version control operation.

Parameters:
parent - the parent component for the dialog.
title - the title bar caption for the dialog. (null-capable)
hint - the hint to be shown with north border orientation. *UNUSED*
center - the component to be shown with center border orientation.
south - the component to be shown with south border orientation. (null-capable)
helpTopicId - the help topic ID for the dialog. (null-capable)
initialFocus - the first component to focus in the dialog.
detail - the component to be displayed in the 'details' area of the dialog.
Returns:
the operation dialog instance.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

Copyright © 1997, 2011, Oracle. All rights reserved.