Class PluginDetailPart
- java.lang.Object
-
- de.willuhn.jameica.gui.parts.InfoPanel
-
- de.willuhn.jameica.gui.internal.parts.PluginDetailPart
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PluginDetailPart.Type
Legt fest, um welche Art von Plugin-Info es sich handelt.-
Nested classes/interfaces inherited from class de.willuhn.jameica.gui.parts.InfoPanel
InfoPanel.DrawState
-
-
Constructor Summary
Constructors Constructor Description PluginDetailPart(Manifest mf, PluginDetailPart.Type type)
ct.PluginDetailPart(Manifest mf, java.util.List<PluginData> plugins, PluginDetailPart.Type type)
ct.
-
Method Summary
All Methods Instance Methods Concrete Methods 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.-
Methods inherited from class de.willuhn.jameica.gui.parts.InfoPanel
addButton, dispose, getComposite, paint, setBorder, setComment, setForeground, setIcon, setText, setTitle, setTooltip, setUrl
-
-
-
-
Constructor Detail
-
PluginDetailPart
public PluginDetailPart(Manifest mf, PluginDetailPart.Type type)
ct.- Parameters:
mf
- das Manifest des Plugins.type
- der Typ des Plugins.
-
PluginDetailPart
public PluginDetailPart(Manifest mf, java.util.List<PluginData> plugins, PluginDetailPart.Type type)
ct.- Parameters:
mf
- das Manifest des Plugins.plugins
- Liste der gefundenen Plugins.type
- der Typ des Plugins.
-
-
Method Detail
-
extend
public org.eclipse.swt.widgets.Composite extend(InfoPanel.DrawState state, org.eclipse.swt.widgets.Composite comp, java.lang.Object context)
Description copied from class:InfoPanel
Kann ueberschrieben werden, um das Info-Panel zu customizen.- Overrides:
extend
in classInfoPanel
- Parameters:
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.- Returns:
- das Composite, in dem das Control gezeichnet wird. Ein abweichendes Composite macht nur bei den "_BEFORE"-States Sinn.
- See Also:
InfoPanel.extend(de.willuhn.jameica.gui.parts.InfoPanel.DrawState, org.eclipse.swt.widgets.Composite, java.lang.Object)
-
-