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

E17493-01

oracle.ide.dialogs.filter
Class ExcludeFilterSettingsMigrator

java.lang.Object
  extended by oracle.ide.migration.ExtensionMigrator
      extended by oracle.ide.dialogs.filter.ExcludeFilterSettingsMigrator
All Implemented Interfaces:
Migrator

public class ExcludeFilterSettingsMigrator
extends ExtensionMigrator

Since:
11.1.2.0.0 (Sherman)

Nested Class Summary
 
Nested classes/interfaces inherited from class oracle.ide.migration.ExtensionMigrator
ExtensionMigrator.AdjustedObject
 
Field Summary
 
Fields inherited from class oracle.ide.migration.ExtensionMigrator
isSelected, ROOT_TAG, SETTINGS
 
Fields inherited from interface oracle.ide.migration.Migrator
JDEV_HOME_DIR, SYSTEM_DIR
 
Constructor Summary
ExcludeFilterSettingsMigrator()
           
 
Method Summary
protected  boolean addToProductPreferences()
          Determines whether the migrated preferences should be added into the Preferences object or remain separate.
protected  ExtensionMigrator.AdjustedObject[] adjustObject(java.lang.String inKey, java.lang.Object inObject)
          Override to adjust an object in some way after it has been created by Object2Dom and before it's either saved in the Preferences or ClientSetting object.
protected  java.lang.String getExtensionID()
          Get the extension ID for which settings should be persisted.
protected  java.util.List getSettingKeys()
          Get a complete list of all key values for persisting in the ClientSetting object associated with an extension.
protected  java.io.File getSourceFile(java.io.File sourceDir)
          Get the source File from the given directory.
 
Methods inherited from class oracle.ide.migration.ExtensionMigrator
canMigrate, copyPreferenceObject, copyPreferenceObjectsAsIs, getClassNamesToIgnoreErrorsOn, getDescription, getDestFile, getIde1013ExtensionDirectory, getMigrationCategories, getMigratorClassLoader, getRootTag, getSourceFileOrJDevExtrasFile, isSelected, loadClass, migrate, setSelected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExcludeFilterSettingsMigrator

public ExcludeFilterSettingsMigrator()
Method Detail

getSettingKeys

protected java.util.List getSettingKeys()
Description copied from class: ExtensionMigrator
Get a complete list of all key values for persisting in the ClientSetting object associated with an extension.

Specified by:
getSettingKeys in class ExtensionMigrator
Returns:
a list of String keys.

getExtensionID

protected java.lang.String getExtensionID()
Description copied from class: ExtensionMigrator
Get the extension ID for which settings should be persisted.

Specified by:
getExtensionID in class ExtensionMigrator
Returns:
an extension ID. Must not return null.

getSourceFile

protected java.io.File getSourceFile(java.io.File sourceDir)
Description copied from class: ExtensionMigrator
Get the source File from the given directory. By default assumes a File located in sourceDir of the name ClientSetting.FILENAME, else IdeSettings.FILENAME

Overrides:
getSourceFile in class ExtensionMigrator
Parameters:
sourceDir - the source directory.
Returns:
the settings File located in the given directory.

addToProductPreferences

protected boolean addToProductPreferences()
Description copied from class: ExtensionMigrator
Determines whether the migrated preferences should be added into the Preferences object or remain separate. This can only be done for preferences which have been modified to use HashStructureAdapter. If the preferences are to be added into the preferences object override this method and return true.

Overrides:
addToProductPreferences in class ExtensionMigrator

adjustObject

protected ExtensionMigrator.AdjustedObject[] adjustObject(java.lang.String inKey,
                                                          java.lang.Object inObject)
Description copied from class: ExtensionMigrator
Override to adjust an object in some way after it has been created by Object2Dom and before it's either saved in the Preferences or ClientSetting object. The return is an array of AdjustedObjects to support cases where what used to be one preference object needs to be split into multiple preference objects.

Overrides:
adjustObject in class ExtensionMigrator

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

E17493-01

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