|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.cnes.genius.main.GComponent
fr.cnes.genius.lowLevel.GContainer
fr.cnes.genopus.maneuvers.GPManeuverAbstract
public abstract class GPManeuverAbstract
Widget for abstract maneuver definition.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class fr.cnes.genius.main.GComponent |
|---|
fr.cnes.genius.main.GComponent.CopyPasteOperation, fr.cnes.genius.main.GComponent.DisplayIndicatorStatus, fr.cnes.genius.main.GComponent.ItemType, fr.cnes.genius.main.GComponent.Operation |
| Field Summary | |
|---|---|
protected static String |
ENGINE_STR
|
protected static String |
FUEL_TANK_STR
|
protected static String |
NOT_AVAILABLE_ERROR
|
| Fields inherited from class fr.cnes.genius.main.GComponent |
|---|
NAME_ATTRIBUTE |
| Constructor Summary | |
|---|---|
GPManeuverAbstract()
Creates a new instance. |
|
GPManeuverAbstract(String widgetId)
Creates a new instance. |
|
| Method Summary | ||
|---|---|---|
void |
attachCopyPasteMenu(String label,
fr.cnes.genius.main.GComponent.CopyPasteOperation... operationList)
|
|
protected void |
checkCoherence()
Checks that the mass provider is not null, and that there is an engine and a fuel tank selected. |
|
abstract void |
display()
|
|
abstract void |
generic()
|
|
CustomEngine |
getEngine()
Getter for the Engine of the widget. |
|
String |
getEngineSelectedName()
Get engine selected name. |
|
protected int |
getEngineSelectedValue()
Get engine selected value. |
|
CustomFuelTank |
getFuelTank()
Getter for the FuelTank of the widget. |
|
fr.cnes.genius.highLevel.GObjectComboBoxWithLabel<CustomEngine> |
getGComboBoxEngines()
|
|
fr.cnes.genius.highLevel.GObjectComboBoxWithLabel<CustomFuelTank> |
getGComboBoxTanks()
|
|
fr.cnes.genius.highLevel.GEntryString |
getGEntryStringManName()
|
|
fr.cnes.genius.highLevel.GLabelWithIndicator |
getGLabel()
Getter for the GLabel of the widget. |
|
String |
getManName()
Get maneuver name. |
|
org.orekit.propagation.MassProvider |
getMassProvider()
Getter for the mass provider. |
|
String |
getTankSelectedName()
Get tank selected name. |
|
protected int |
getTankSelectedValue()
Get tank selected value. |
|
static
|
listFromArray(T[] array)
Method to convert an array into an ArrayList. |
|
void |
setDefaultEngine(CustomEngine engine)
Set a default engine to the maneuver. |
|
void |
setDefaultTank(CustomFuelTank tank)
Set a default fuel tank to the maneuver. |
|
void |
setEngine(CustomEngine engine)
Set a engine to the maneuver. |
|
void |
setEnginesList(ArrayList<CustomEngine> engineList)
Update contents of comboboxes for engines with a given list of engines. |
|
void |
setGLabel(String label)
Setter for the GLabel of the widget. |
|
void |
setManName(String manName)
Set maneuver name. |
|
void |
setMassProvider(org.orekit.propagation.MassProvider massProvider)
Setter for the mass provider. |
|
void |
setTank(CustomFuelTank tank)
Set a fuel tank to the maneuver. |
|
void |
setTanksList(ArrayList<CustomFuelTank> tankList)
Update contents of comboboxes for tanks with a given list of tanks. |
|
void |
setWidgetId(String widgetId)
|
|
void |
updateIsModifiedIndicator()
|
|
| Methods inherited from class fr.cnes.genius.lowLevel.GContainer |
|---|
put |
| Methods inherited from class fr.cnes.genius.main.GComponent |
|---|
activateConstraintsByType, attachCopyPasteMenu, beginOfElement, beginOfElement, beginOfElement, beginOfElement, composeWidgetId, doDisplay, endOfElement, getCommentInConfigFile, getComponent, getConstraint, getCurrentOperation, getDisplayIndicatorStatus, getDisplayIsModifiedIndicator, getElement, getGPanel, getGParent, getGUnitInConfigFile, getInnerDescendantConstraint, getName, getNameInConfigFile, getOperationSaveValue, getSimpleWidgetId, getStatus, getStringConstraint, getSubComponent, getWidgetId, handleCopyPasteEvent, handleProcessEventException, isCopyPasteEvent, isEnabled, isModified, launchInvalidPositionException, parseSimpleConstraint, processGEvent, setBusyCursor, setCommentInConfigFile, setConstraint, setCopyPasteMenuEnabled, setCurrentOperation, setDataForConstraintsByType, setDisplayIsModifiedIndicator, setElement, setEnabled, setGPanel, setGParent, setGUnitInConfigFile, setInnerDescendantConstraint, setNameAndCommentInConfigFile, setNameInConfigFile, setStatus, setStringConstraint, setToolTipText, setWidth, writeCollection, writeCollection, writeCollection, writeCollection, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface fr.cnes.genius.main.GReadWrite |
|---|
read, write |
| Methods inherited from interface fr.cnes.genius.main.GListener |
|---|
after, before |
| Methods inherited from interface fr.cnes.genius.main.GCondensedStatusInterface |
|---|
updateCondensedStatus |
| Methods inherited from interface fr.cnes.genius.main.GClear |
|---|
clear |
| Field Detail |
|---|
protected static final String NOT_AVAILABLE_ERROR
protected static final String FUEL_TANK_STR
protected static final String ENGINE_STR
| Constructor Detail |
|---|
public GPManeuverAbstract()
public GPManeuverAbstract(String widgetId)
widgetId - widgetId| Method Detail |
|---|
public void setWidgetId(String widgetId)
setWidgetId in class fr.cnes.genius.main.GComponentpublic fr.cnes.genius.highLevel.GEntryString getGEntryStringManName()
public fr.cnes.genius.highLevel.GObjectComboBoxWithLabel<CustomEngine> getGComboBoxEngines()
public fr.cnes.genius.highLevel.GObjectComboBoxWithLabel<CustomFuelTank> getGComboBoxTanks()
public String getEngineSelectedName()
public String getTankSelectedName()
protected int getEngineSelectedValue()
protected int getTankSelectedValue()
public String getManName()
public void setManName(String manName)
manName - the maneuver name
public abstract void display()
throws fr.cnes.genius.exception.GException
display in interface fr.cnes.genius.main.GDisplayfr.cnes.genius.exception.GException
public abstract void generic()
throws fr.cnes.genius.exception.GException
generic in class fr.cnes.genius.lowLevel.GContainerfr.cnes.genius.exception.GExceptionpublic fr.cnes.genius.highLevel.GLabelWithIndicator getGLabel()
public CustomEngine getEngine()
public CustomFuelTank getFuelTank()
public org.orekit.propagation.MassProvider getMassProvider()
public void setMassProvider(org.orekit.propagation.MassProvider massProvider)
massProvider - the mass provider.public void setGLabel(String label)
label - the label
public void attachCopyPasteMenu(String label,
fr.cnes.genius.main.GComponent.CopyPasteOperation... operationList)
attachCopyPasteMenu in class fr.cnes.genius.main.GComponentpublic void updateIsModifiedIndicator()
updateIsModifiedIndicator in class fr.cnes.genius.main.GComponentpublic void setEngine(CustomEngine engine)
engine - engine to be set.public void setDefaultEngine(CustomEngine engine)
engine - engine to be set by default.public void setEnginesList(ArrayList<CustomEngine> engineList)
engineList - list of enginespublic void setTank(CustomFuelTank tank)
tank - tank to be set.public void setDefaultTank(CustomFuelTank tank)
tank - tank to be set by default.public void setTanksList(ArrayList<CustomFuelTank> tankList)
tankList - list of tankspublic static <T> ArrayList<T> listFromArray(T[] array)
T - the elements type.array - the array
protected void checkCoherence()
throws GPManeuverException
GPManeuverException - if one of the conditions is not fulfilled.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||