Extension SDK 10.1.2

oracle.ide.cmd
Class OpenCommand

java.lang.Object
  extended byoracle.ide.addin.AbstractCommand
      extended byoracle.ide.cmd.OpenCommand
All Implemented Interfaces:
Command

public class OpenCommand
extends AbstractCommand

The OpenCommand class implements the Command for opening files.


Field Summary
 
Fields inherited from class oracle.ide.addin.AbstractCommand
cmdId, context, name, type
 
Fields inherited from interface oracle.ide.addin.Command
CANCEL, EXECUTING, NO_CHANGE, NO_UNDO, NORMAL, OK
 
Constructor Summary
OpenCommand()
           
 
Method Summary
 int doit()
          Executes the open editor command.
 int openURL(java.net.URL url)
           
 
Methods inherited from class oracle.ide.addin.AbstractCommand
getAffectedDocuments, getContext, getData, getId, getName, getType, setContext, setData, undo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenCommand

public OpenCommand()
Method Detail

openURL

public final int openURL(java.net.URL url)
                  throws java.lang.Exception
Throws:
java.lang.Exception

doit

public final int doit()
               throws java.lang.Exception
Executes the open editor command.

Throws:
java.lang.Exception

Extension SDK

 

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