Modifier and Type | Class | Description |
---|---|---|
static class |
PluginDetailPart.Type |
Legt fest, um welche Art von Plugin-Info es sich handelt.
|
InfoPanel.DrawState
Constructor | Description |
---|---|
PluginDetailPart(Manifest mf,
PluginDetailPart.Type type) |
ct.
|
PluginDetailPart(Manifest mf,
java.util.List<PluginData> plugins,
PluginDetailPart.Type type) |
ct.
|
Modifier and Type | Method | Description |
---|---|---|
org.eclipse.swt.widgets.Composite |
extend(InfoPanel.DrawState state,
org.eclipse.swt.widgets.Composite comp,
java.lang.Object context) |
Kann ueberschrieben werden, um das Info-Panel zu customizen.
|
addButton, dispose, getComposite, paint, setBorder, setComment, setForeground, setIcon, setText, setTitle, setTooltip, setUrl
public PluginDetailPart(Manifest mf, PluginDetailPart.Type type)
mf
- das Manifest des Plugins.type
- der Typ des Plugins.public PluginDetailPart(Manifest mf, java.util.List<PluginData> plugins, PluginDetailPart.Type type)
mf
- das Manifest des Plugins.plugins
- Liste der gefundenen Plugins.type
- der Typ des Plugins.public org.eclipse.swt.widgets.Composite extend(InfoPanel.DrawState state, org.eclipse.swt.widgets.Composite comp, java.lang.Object context)
InfoPanel
extend
in class InfoPanel
state
- der Status.comp
- das Composite, in dem das Control gezeichnet wird/wurde.context
- das aktuelle Control. Kann ein SWT-Control aber auch eine ButtonArea sein.
Bei den "_BEFORE"-States ist es immer NULL, weil das Control zu dem Zeitpunkt ja noch nicht existiert.InfoPanel.extend(de.willuhn.jameica.gui.parts.InfoPanel.DrawState, org.eclipse.swt.widgets.Composite, java.lang.Object)