Workbench
Addin
Interface
constructor
parent
name
can_
open
get_
id
load
open_
async
open_
finish
perspective_
set
unload
GJS API Reference
Ide-1.0
Ide
WorkbenchAddinInterface
Class WorkbenchAddinInterface
Hierarchy
WorkbenchAddinInterface
Index
Constructors
constructor
Properties
parent
name
Methods
can_
open
get_
id
load
open_
async
open_
finish
perspective_
set
unload
Constructors
constructor
new
Workbench
Addin
Interface
(
)
:
WorkbenchAddinInterface
Returns
WorkbenchAddinInterface
Properties
parent
parent
:
TypeInterface
Static
name
name
:
string
Methods
can_
open
can_
open
(
self
:
WorkbenchAddin
, uri
:
Ide
.
Uri
, content_type
:
string
)
:
[
boolean
,
number
]
Parameters
self:
WorkbenchAddin
uri:
Ide
.
Uri
content_type:
string
Returns
[
boolean
,
number
]
get_
id
get_
id
(
self
:
WorkbenchAddin
)
:
string
Parameters
self:
WorkbenchAddin
Returns
string
load
load
(
self
:
WorkbenchAddin
, workbench
:
Ide
.
Workbench
)
:
void
Parameters
self:
WorkbenchAddin
workbench:
Ide
.
Workbench
Returns
void
open_
async
open_
async
(
self
:
WorkbenchAddin
, uri
:
Ide
.
Uri
, content_type
:
string
, flags
:
WorkbenchOpenFlags
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
self:
WorkbenchAddin
uri:
Ide
.
Uri
content_type:
string
flags:
WorkbenchOpenFlags
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
open_
finish
open_
finish
(
self
:
WorkbenchAddin
, result
:
AsyncResult
)
:
boolean
Parameters
self:
WorkbenchAddin
result:
AsyncResult
Returns
boolean
perspective_
set
perspective_
set
(
self
:
WorkbenchAddin
, perspective
:
Ide
.
Perspective
)
:
void
Parameters
self:
WorkbenchAddin
perspective:
Ide
.
Perspective
Returns
void
unload
unload
(
self
:
WorkbenchAddin
, workbench
:
Ide
.
Workbench
)
:
void
Parameters
self:
WorkbenchAddin
workbench:
Ide
.
Workbench
Returns
void
Workbench
Addin
Interface
construct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