|
JDeveloper SCM API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for the full SCM client utility set, separating the client from the utility implementation, IDE and framework.
Method Summary | |
SCMLogWriter |
createLogger(oracle.ide.log.MessagePage page)
Creates a logger for SCM messages in the IDE, ensuring all written messages are displayed in the given custom log page. |
SCMLogWriter |
createLogger(java.lang.String name)
Creates a logger for SCM messages in the IDE. |
SCMFile |
getActiveProjectFile()
Gets the enviroment's active project, as a file wrapper. |
SCMFile |
getActiveWorkspaceFile()
Gets the enviroment's active workspace, as a file wrapper. |
java.awt.Window |
getCurrentWindow()
Gets the currently operational window in the application. |
java.lang.String |
getProjectFileExtension()
Gets the extension of a JDeveloper project file. |
java.net.URL |
getWorkDirectory()
Gets a file for the default root directory of all new Workspaces, according to current settings and state. |
java.lang.String |
getWorkspaceFileExtension()
Gets the extension of a JDeveloper workspace file. |
java.io.File |
localizeURL(java.net.URL url)
Localize the given URL into a file. |
void |
saveFiles(java.net.URL dir)
Saves all modified files within the given directory identifier. |
void |
showTextDialog(java.lang.String title,
java.lang.String text)
Displays a modal text dialog in the IDE. |
void |
showTextWindow(java.net.URL context,
java.lang.String text)
Displays a non-modal text window in the IDE. |
void |
showTextWindow(java.net.URL context,
java.lang.String title,
java.lang.String text)
Displays a non-modal text window in the IDE. |
java.net.URL |
writeTempFile(java.lang.String prefix,
java.lang.String contents)
Writes the given string to a file in the system's default temporary file directory. |
java.net.URL |
writeTextFile(java.net.URL url,
java.lang.String contents)
Writes the given string to a file. |
Method Detail |
public SCMLogWriter createLogger(java.lang.String name)
name
- the name for the created page.public SCMLogWriter createLogger(oracle.ide.log.MessagePage page)
page
- the supplied page.public java.net.URL writeTempFile(java.lang.String prefix, java.lang.String contents) throws java.io.IOException
prefix
- the name of the file to write.contents
- data to write to the temporary file.public java.net.URL writeTextFile(java.net.URL url, java.lang.String contents) throws java.io.IOException
url
- the destination of the file to write.contents
- data to write to the temporary file.public java.net.URL getWorkDirectory()
public java.io.File localizeURL(java.net.URL url)
url
- the URL to localize.public void showTextWindow(java.net.URL context, java.lang.String text)
context
- the file to use as the document context for the editor.text
- the text value for the window contents.public void showTextWindow(java.net.URL context, java.lang.String title, java.lang.String text)
context
- the file to use as the document context for the editor.text
- the text value for the window title.text
- the text value for the window contents.public void showTextDialog(java.lang.String title, java.lang.String text)
title
- the dialog title, or caption.text
- the text value fo dialog contents.public SCMFile getActiveProjectFile()
public SCMFile getActiveWorkspaceFile()
public void saveFiles(java.net.URL dir) throws SCMException
dir
- the directory under which changed files should be saved.public java.lang.String getProjectFileExtension()
public java.lang.String getWorkspaceFileExtension()
public java.awt.Window getCurrentWindow()
|
Copyright © 2002 Oracle Corporation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |