Theia API Documentation v1.65.0
Eclipse Theia Website
GitHub
Preparing search index...
@theia/plugin-ext
main/browser/plugin-shared-style
PluginSharedStyle
Class PluginSharedStyle
Index
Constructors
constructor
Properties
rules
style
theme
Service
to
Update
Methods
create
Plugin
Icon
delete
Rule
do
Insert
Rule
init
insert
Rule
to
File
Icon
Class
to
Icon
Class
update
to
External
Icon
Url
Constructors
constructor
new
PluginSharedStyle
()
:
PluginSharedStyle
Returns
PluginSharedStyle
Properties
Protected
Readonly
rules
rules
:
{
body
:
(
theme
:
Theme
)
=>
string
;
selector
:
string
}
[]
= []
Protected
style
style
:
HTMLStyleElement
Protected
Readonly
theme
Service
themeService
:
ThemeService
Protected
Readonly
to
Update
toUpdate
:
DisposableCollection
= ...
Methods
Protected
create
Plugin
Icon
createPluginIcon
(
key
:
PluginIconKey
)
:
PluginIcon
Parameters
key
:
PluginIconKey
Returns
PluginIcon
delete
Rule
deleteRule
(
selector
:
string
)
:
void
Parameters
selector
:
string
Returns
void
Protected
do
Insert
Rule
doInsertRule
(
__namedParameters
:
{
body
:
(
theme
:
Theme
)
=>
string
;
selector
:
string
}
,
)
:
void
Parameters
__namedParameters
:
{
body
:
(
theme
:
Theme
)
=>
string
;
selector
:
string
}
Returns
void
Protected
init
init
()
:
void
Returns
void
insert
Rule
insertRule
(
selector
:
string
,
body
:
(
theme
:
Theme
)
=>
string
)
:
Disposable
Parameters
selector
:
string
body
:
(
theme
:
Theme
)
=>
string
Returns
Disposable
to
File
Icon
Class
toFileIconClass
(
url
:
IconUrl
)
:
Reference
<
PluginIcon
>
Parameters
url
:
IconUrl
Returns
Reference
<
PluginIcon
>
to
Icon
Class
toIconClass
(
url
:
IconUrl
,
__namedParameters
?:
{
size
:
number
}
,
)
:
Reference
<
PluginIcon
>
Parameters
url
:
IconUrl
__namedParameters
:
{
size
:
number
}
= ...
Returns
Reference
<
PluginIcon
>
Protected
update
update
()
:
void
Returns
void
Static
to
External
Icon
Url
toExternalIconUrl
(
iconUrl
:
string
)
:
string
Parameters
iconUrl
:
string
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
rules
style
theme
Service
to
Update
Methods
create
Plugin
Icon
delete
Rule
do
Insert
Rule
init
insert
Rule
to
File
Icon
Class
to
Icon
Class
update
to
External
Icon
Url
Eclipse Theia Website
GitHub
Theia API Documentation v1.65.0
Loading...