Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

oracle.ide.dependency
Interface Declaration

All Known Subinterfaces:
SourceDeclaration
All Known Implementing Classes:
ClassDeclaration, FieldDeclaration, IdDeclaration, IndexDeclaration, MethodDeclaration

public interface Declaration

A declaration.


Method Summary
 boolean canDelete()
          Determine whether this declaration can be deleted.
 boolean delete()
          Delete this declaration.
 java.net.URL getURL()
          Get the URL containing this declaration, if there is one.
 void show()
          Show this declaration to the user.
 

Method Detail

getURL

java.net.URL getURL()
Get the URL containing this declaration, if there is one.

Returns:
the URL, or null if there is no URL associated with this declaration

show

void show()
Show this declaration to the user. For example, this might open an editor with the declaration selected.


canDelete

boolean canDelete()
Determine whether this declaration can be deleted.

Returns:
true if this declaration can be deleted, false otherwise

delete

boolean delete()
Delete this declaration. This will only be called if canDelete() returns true.

Returns:
true if this declaration was successfully deleted, false otherwise

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

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