|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.migration.XMLMigrator oracle.ide.model.IdeSystemMigrator
Nested Class Summary |
Nested classes inherited from class oracle.ide.migration.XMLMigrator |
XMLMigrator.MigrationLogger |
Field Summary | |
static int |
DEFAULT_PROJECT
|
static int |
DEFAULT_WORKSPACE
|
static int |
SYSTEM_SETTINGS
|
Fields inherited from interface oracle.ide.migration.Migrator |
JDEV_HOME_DIR, SYSTEM_DIR |
Constructor Summary | |
IdeSystemMigrator()
|
Method Summary | |
void |
addinsLoaded(IdeEvent e)
Called in the Ide startup sequence after all the addins are loaded. |
protected java.lang.Object |
adjustObject(java.io.File sourceDir,
java.io.File destDir,
java.lang.Object obj)
Perform any postprocessing necessary before migrating the file. |
java.lang.String |
getDescription(int category)
Get a one line description for a given migration category. |
protected java.lang.String |
getFileName()
Get the filename to migrate. |
protected java.lang.String |
getNamespaceURI()
Get the XML namespace URI. |
protected java.lang.String |
getRootTag()
Get the XML root element tag. |
void |
mainWindowClosing(IdeEvent e)
Called in the Ide shutdown sequence just before the UI is dismissed |
void |
mainWindowOpened(IdeEvent e)
Called in the Ide startup sequence after the UI is shown. |
java.lang.String[] |
migrate(java.io.File sourceDir,
java.io.File destDir)
Migrate the settings from a given source directory to a given destination directory. |
protected void |
prepareToMigrate()
Perform any preprocessing necessary before migrating the file. |
Methods inherited from class oracle.ide.migration.XMLMigrator |
canMigrate, categoryToIndex, getDestFile, getLogger, getMigrationCategories, getObjectStore, getSourceFile, isAnyCategorySelected, isSelected, isValidCategory, readObject, setSelected, writeObject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int SYSTEM_SETTINGS
public static final int DEFAULT_PROJECT
public static final int DEFAULT_WORKSPACE
Constructor Detail |
public IdeSystemMigrator()
Method Detail |
public java.lang.String getDescription(int category)
Migrator
getDescription
in interface Migrator
protected java.lang.String getFileName()
XMLMigrator
getFileName
in class XMLMigrator
protected java.lang.String getNamespaceURI()
XMLMigrator
getNamespaceURI
in class XMLMigrator
protected java.lang.String getRootTag()
XMLMigrator
getRootTag
in class XMLMigrator
protected void prepareToMigrate()
XMLMigrator
prepareToMigrate
in class XMLMigrator
protected java.lang.Object adjustObject(java.io.File sourceDir, java.io.File destDir, java.lang.Object obj) throws java.lang.Exception
XMLMigrator
adjustObject
in class XMLMigrator
java.lang.Exception
public java.lang.String[] migrate(java.io.File sourceDir, java.io.File destDir)
XMLMigrator
migrate
in interface Migrator
migrate
in class XMLMigrator
public void addinsLoaded(IdeEvent e)
IdeListener
addinsLoaded
in interface IdeListener
e
- the eventpublic void mainWindowOpened(IdeEvent e)
IdeListener
mainWindowOpened
in interface IdeListener
e
- the eventpublic void mainWindowClosing(IdeEvent e)
IdeListener
mainWindowClosing
in interface IdeListener
e
- the event
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.