Skip navigation links

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

E17493-03


oracle.ide.model
Interface PseudoTechnologyCallback


public interface PseudoTechnologyCallback

The PseudoTechnologyCallback interface allows clients to register "pseudo-technologies" with the TechnologyRegistry. Unlike normal technologies, pseudo-technologies do not appear in the user interface; instead, they are used to afford clients greater control over when particular items should appear in the gallery.

Clients may tag items in the gallery with the technology key for a pseudo-technology. When the gallery's 'Project technologies' filter is active, the client is then asked via the isInScope(TechnologyScope) method whether or not the tagged items should appear given the specified technology scope.

The logic defined by the isInScope() method may be arbitrary, but typically tests for specific technologies in the technology scope using a combination of boolean expressions involving the TechnologyScope.contains(TechId) method.

As an example, the IdeTechnologies.GENERAL_KEY technology is implemented as a pseudo-technology. It's isInScope() method always returns true, which means that any gallery items tagged with this technology key always appear in the gallery regardless of the project's technology scope.

See Also:
TechnologyRegistry.registerPseudoTechnology(String,PseudoTechnologyCallback)

Method Summary
 boolean isInScope(TechnologyScope scope)
          Returns true if this pseudo-technology should be considered part of the specified technology scope; otherwise, returns false.

 

Method Detail

isInScope

boolean isInScope(TechnologyScope scope)
Returns true if this pseudo-technology should be considered part of the specified technology scope; otherwise, returns false.
Parameters:
scope - The current technology scope.

Skip navigation links

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

E17493-03


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