|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.mtj.ui.configurations.ConfigManageComponent
public class ConfigManageComponent
ConfigManageComponent provides user interface functionality for
Configurations management.
ConfigManageComponent implements IConfigurationsChangeListener to refresh its
UI, because Configurations may modified by other thread, the UI should
reflect these changes.
| Constructor Summary | |
|---|---|
ConfigManageComponent()
Constructor used for a situation that has no associate MIDlet project. |
|
ConfigManageComponent(IMidletSuiteProject midletSuiteProject)
|
|
| Method Summary | |
|---|---|
void |
activeConfigSwitched(SwitchActiveConfigEvent event)
If Configurations modified by other thread, we should refresh ConfigManageComponent UI, to reflect the change of Configurations. |
void |
configurationAdded(AddConfigEvent event)
If Configurations modified by other thread, we should refresh ConfigManageComponent UI, to reflect the change of Configurations. |
void |
configurationRemoved(RemoveConfigEvent event)
If Configurations modified by other thread, we should refresh ConfigManageComponent UI, to reflect the change of Configurations. |
void |
createContents(Composite parent)
Create the UI contents. |
void |
dispose()
This method must be called in parent UI's(Eg. |
Configuration |
getActiveConfiguration()
Return active Configuration. |
Configurations |
getConfigurations()
|
void |
performCancel()
Discard the modification and restore Configurations to former state. |
void |
performFinish()
Do some work when perform finish, including ask user if reexport Antenna build files and clear removedConfigs and addedConfigs (removedConfigs and addedConfigs are used to restore Configurations if user discard the modification). |
void |
setCheckStateListener(ICheckStateListener checkStateListener)
Set a external ICheckStateListener to listen to Configurations CheckboxTableViewer's CheckStateChangedEvent. |
void |
setConfigurationChangeListener(IConfigurationChangeListener listener)
Set a external IConfigurationChangeListener to listen to Configuration change event. |
void |
setConfigurationsChangeListener(IConfigurationsChangeListener listener)
Set a external IConfigurationsChangeListener to listen to Configurations change event. |
void |
setDescription(String description)
If description is set, a description string will appear on the UI. |
void |
setIncludeGroup(boolean includeGroup)
Indicate that if the UI contains by a Group. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigManageComponent()
public ConfigManageComponent(IMidletSuiteProject midletSuiteProject)
| Method Detail |
|---|
public void activeConfigSwitched(SwitchActiveConfigEvent event)
activeConfigSwitched in interface IConfigurationsChangeListenerpublic void configurationAdded(AddConfigEvent event)
configurationAdded in interface IConfigurationsChangeListenerpublic void configurationRemoved(RemoveConfigEvent event)
configurationRemoved in interface IConfigurationsChangeListenerpublic void createContents(Composite parent)
parent - public void dispose()
public Configuration getActiveConfiguration()
public Configurations getConfigurations()
public void performCancel()
public void performFinish()
public void setCheckStateListener(ICheckStateListener checkStateListener)
checkStateListener - public void setConfigurationChangeListener(IConfigurationChangeListener listener)
listener - public void setConfigurationsChangeListener(IConfigurationsChangeListener listener)
listener - public void setDescription(String description)
description - public void setIncludeGroup(boolean includeGroup)
includeGroup -
|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||