Class
FoundryContextual
Description [src]
abstract class Foundry.Contextual : GObject.Object
implements Json.Serializable {
/* No available fields */
}
Abstract base class for objects that are associated with a Foundry context.
FoundryContextual provides the core interface for objects that need access to the Foundry context and its services. It includes context management, serialization support, and provides a unified interface for context-aware objects throughout the development environment.
Descendants
- FoundryAuthProvider
- FoundryBuildAddin
- FoundryBuildPipeline
- FoundryBuildProgress
- FoundryBuildStage
- FoundryCommand
- FoundryCommandProvider
- FoundryCompletionProvider
- FoundryConfig
- FoundryConfigProvider
- FoundryDebugger
- FoundryDebuggerProvider
- FoundryDependency
- FoundryDependencyProvider
- FoundryDeployStrategy
- FoundryDevice
- FoundryDeviceProvider
- FoundryDiagnosticProvider
- FoundryDirectoryListing
- FoundryDocumentationBundle
- FoundryDocumentationProvider
- FoundryExtension
- FoundryExtensionSet
- FoundryFileSearchProvider
- FoundryForge
- FoundryHoverProvider
- FoundryIntentHandler
- FoundryKeyRotator
- FoundryLanguageGuesser
- FoundryLlmModel
- FoundryLlmProvider
- FoundryLlmTool
- FoundryLspClient
- FoundryLspProvider
- FoundryLspServer
- FoundryMcpServer
- FoundryPtyDiagnostics
- FoundryRenameProvider
- FoundryRunTool
- FoundrySdk
- FoundrySdkProvider
- FoundrySearchProvider
- FoundrySearchRequest
- FoundryService
- FoundrySettings
- FoundrySymbolProvider
- FoundryTest
- FoundryTestProvider
- FoundryTextBufferProvider
- FoundryTextDocument
- FoundryTextDocumentAddin
- FoundryTextFormatter
- FoundryTextSettings
- FoundryTextSettingsProvider
- FoundryTweakProvider
- FoundryVcs
- FoundryVcsProvider
Instance methods
foundry_contextual_acquire
This method provides a checked way to get a context for the contextual.
unstable since: 1.1
foundry_contextual_dup_context
Gets the FoundryContext that self is a part of while safely increasing
the reference count of the resulting FoundryContext by 1.
foundry_contextual_inhibit
Creates a new FoundryInhibitor that will keep the
FoundryContext alive and prevent shutdown until
foundry_inhibitor_uninhibit() is called or the
FoundryInhibitor is finalized, whichever comes first.
Methods inherited from JsonSerializable (8)
json_serializable_default_deserialize_property
Calls the default implementation of the Json.SerializableIface.deserialize_property
virtual function.
json_serializable_default_serialize_property
Calls the default implementation of the Json.SerializableIface.serialize_property
virtual function.
json_serializable_deserialize_property
Asks a JsonSerializable implementation to deserialize the
property contained inside property_node and place its value
into value.
json_serializable_find_property
Calls the Json.SerializableIface.find_property implementation on
the JsonSerializable instance, which will return the property
description for the given name.
json_serializable_get_property
Calls the Json.SerializableIface.get_property implementation
on the JsonSerializable instance, which will get the value of
the given property.
json_serializable_list_properties
Calls the Json.SerializableIface.list_properties implementation on
the JsonSerializable instance, which will return the list of serializable properties.
json_serializable_serialize_property
Asks a JsonSerializable implementation to serialize an object
property into a JSON node.
json_serializable_set_property
Calls the Json.SerializableIface.set_property implementation
on the JsonSerializable instance, which will set the property
with the given value.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.