com.alveole.interfaces
Interface PackageExtensionManager

All Known Implementing Classes:
Struts2PackageExtensionManager

public interface PackageExtensionManager

This interface enables to display some panels of properties on package properties editor.

Author:
sylvain

Method Summary
 boolean dirty()
          Check if specific settings changed on editor.
 void getControls(ProjectContext project, NodePackage current, org.eclipse.swt.widgets.Control[] controls, org.eclipse.swt.widgets.Composite parent)
          Build some controls given the parent control.
 java.lang.String[] getTitles(ProjectContext project, NodePackage current)
          Gets the tabs name.
 void onOk(NodePackage current)
          Called when user performs OK.
 

Method Detail

getTitles

java.lang.String[] getTitles(ProjectContext project,
                             NodePackage current)
Gets the tabs name.


getControls

void getControls(ProjectContext project,
                 NodePackage current,
                 org.eclipse.swt.widgets.Control[] controls,
                 org.eclipse.swt.widgets.Composite parent)
Build some controls given the parent control. Note: each returned controls are placed in controls[] array. Controls array's size is determined by getTitles().

Parameters:
project - The current project.
current - The current selected package. If null, consider instanciating a new package.
controls - The array to fill.
parent - Parent control.

dirty

boolean dirty()
Check if specific settings changed on editor.


onOk

void onOk(NodePackage current)
Called when user performs OK.