Extension SDK 9.0.5

oracle.jdeveloper.vcs.util
Class VCSComponents

java.lang.Object
  extended byoracle.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 oracle.ide.controls.checkboxlist.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.lang.Object detail, java.lang.String helpTopicId)
          Creates an alert dialog optionally containing a detail area.
static oracle.jdeveloper.vcs.vop.VersionOperationPanel createFileListerComponent(java.util.Collection nodes)
          Creates a lister component to represent the given node selection.
static oracle.jdeveloper.vcs.vop.VersionOperationPanel createFileListerComponent(java.util.Collection nodes, javax.swing.table.TableCellRenderer renderer)
          Creates a lister component to represent the given node selection.
static oracle.jdeveloper.vcs.vop.MutableVersionOperationModel createFileListerModel(java.util.Collection nodes, oracle.jdeveloper.vcs.vop.DisplayProperty[] extraProperties)
          Creates a model for the version operation panel with the default properties and some additional properties.
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 oracle.ide.controls.checkboxlist.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 oracle.jdeveloper.vcs.vop.MutableVersionOperationModel createFileListerModel(java.util.Collection nodes,
                                                                                                 oracle.jdeveloper.vcs.vop.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.

createFileListerComponent

public static final oracle.jdeveloper.vcs.vop.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 oracle.jdeveloper.vcs.vop.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.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.
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.

Extension SDK

 

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