JDeveloper SCM API

oracle.ide.scm.util
Class SCMGenericOptionsCustomizer

java.lang.Object
  |
  +--oracle.ide.scm.SCMOptionsCustomizerAdapter
        |
        +--oracle.ide.scm.util.SCMGenericOptionsCustomizer
All Implemented Interfaces:
SCMOptionsCustomizer

Deprecated. use SCMCommentsOptionsCustomizer instead.

public class SCMGenericOptionsCustomizer
extends SCMOptionsCustomizerAdapter

Generic options customizer, for user entry of common options within the file lister dialog. Can delegate to a given options customizer for reasons of extensibility.


Field Summary
static java.lang.String KEY_FILE_COMMENT
          Deprecated. The key for the file comment option
 
Constructor Summary
SCMGenericOptionsCustomizer()
          Deprecated.  
SCMGenericOptionsCustomizer(SCMOptionsCustomizer customizer)
          Deprecated.  
 
Method Summary
 void commitOptions()
          Deprecated. Commits any outstanding changes that may be reflected in components to the customizer's options object.
 java.awt.Component getComponent()
          Deprecated. Gets the initialized comments customizer component.
protected  java.lang.String getDefaultComments(SCMFile file)
          Deprecated. Gets the default comments option value corresponding to a given file, for use by the customizer.
 SCMOptions getOptions()
          Deprecated. Gets the working options object.
 void initializeOptions(java.util.List l)
          Deprecated. This implementation does nothing.
 void selectionChanged(SCMFile[] before, SCMFile[] after)
          Deprecated. Notifies the customizer that the file selection has changed.
 
Methods inherited from class oracle.ide.scm.SCMOptionsCustomizerAdapter
validateOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_FILE_COMMENT

public static final java.lang.String KEY_FILE_COMMENT
Deprecated. 
The key for the file comment option

See Also:
Constant Field Values
Constructor Detail

SCMGenericOptionsCustomizer

public SCMGenericOptionsCustomizer()
Deprecated. 

SCMGenericOptionsCustomizer

public SCMGenericOptionsCustomizer(SCMOptionsCustomizer customizer)
Deprecated. 
Method Detail

getDefaultComments

protected java.lang.String getDefaultComments(SCMFile file)
Deprecated. 
Gets the default comments option value corresponding to a given file, for use by the customizer. Do not return a null from this method.

Parameters:
file - the file whose default comments should be retrieved.
Returns:
default comments for the file.

getComponent

public java.awt.Component getComponent()
Deprecated. 
Gets the initialized comments customizer component. Also sets up the edit veto document for when the user tries to change a hidden value.

Specified by:
getComponent in interface SCMOptionsCustomizer
Overrides:
getComponent in class SCMOptionsCustomizerAdapter
Returns:
the component for this customizer.

initializeOptions

public void initializeOptions(java.util.List l)
Deprecated. 
This implementation does nothing. You can override.

Specified by:
initializeOptions in interface SCMOptionsCustomizer
Overrides:
initializeOptions in class SCMOptionsCustomizerAdapter
Parameters:
l - the list of all SCMFiles in the list dialog

getOptions

public SCMOptions getOptions()
Deprecated. 
Gets the working options object.

Specified by:
getOptions in interface SCMOptionsCustomizer
Overrides:
getOptions in class SCMOptionsCustomizerAdapter
Returns:
the customizer's options.

selectionChanged

public void selectionChanged(SCMFile[] before,
                             SCMFile[] after)
                      throws SCMSelectionVetoException
Deprecated. 
Notifies the customizer that the file selection has changed. Updates the UI comments field accordingly, committing any edits.

Specified by:
selectionChanged in interface SCMOptionsCustomizer
Overrides:
selectionChanged in class SCMOptionsCustomizerAdapter
Parameters:
before - the previously selected files.
after - the newly selected files.
SCMSelectionVetoException

commitOptions

public void commitOptions()
Deprecated. 
Commits any outstanding changes that may be reflected in components to the customizer's options object.

Specified by:
commitOptions in interface SCMOptionsCustomizer
Overrides:
commitOptions in class SCMOptionsCustomizerAdapter

Copyright © 2002 Oracle Corporation

 

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