public class Engine.BasicOperations extends java.lang.Object implements GuiListener
| Constructor and Description |
|---|
BasicOperations() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMultilayerPressed() |
void |
doProxySettings() |
void |
exitApplication()
exits the Application, and causes the current settings to be saved
|
boolean |
getComputeAbsoluteValues()
Check if the ComponentView uses absolute values instead of percental values
to compute the lipid distribution.
|
PluginManager |
getPluginManager() |
void |
popUpAttrsDialog() |
void |
popUpChangeSize(java.awt.Point locationOnScreen) |
void |
reloadGeometry()
Called, when its necessary to rebuild all shapes in the mebrane, for
instance when another detail level is chosen.
|
boolean |
restoreMembraneFromPDB(java.lang.String absolutePathOfPDB,
java.lang.String absolutePathOfCm2,
CoordinateTransformationHints overwriteHints,
boolean checkMembraneState)
Restore a membrane from a PDB file with the following options and
wait until the reverse parsing status is returned.
|
boolean |
restoreMembraneFromPDB(java.lang.String absolutePathOfPDB,
java.lang.String absolutePathOfCm2,
CoordinateTransformationHints overwriteHints,
boolean checkMembraneState,
boolean waitForStatus)
Restore a membrane from a PDB file with the following options
(Set optional parameters to null if not needed):
|
boolean |
restoreMembraneFromPDBPressed()
Show the dialog to restore a membrane from a PDB file.
|
void |
setAllEnabled(boolean b) |
void |
setComputeAbsoluteValues(boolean computeAbsoluteValues)
The ComponentView uses absolute values instead of percental values to compute
the lipid distribution.
|
void |
setPercentages(int mode,
int newval,
java.lang.String code,
int domainID)
Set percentages of the ComponentView.
|
void |
startDomainMode(MicroDomain_3D domainToChange) |
void |
userChangedStereoEnable(boolean stereoEnabled) |
void |
userChangedStereoSlider() |
void |
userChoseAnalyzeMembrane() |
void |
userChoseGeneratePDBFile(java.io.File pdbFile)
Called when User chooses to generate a PDB file
(Uses the current membrane if the last opened file was a restored PDB file
called when user chooses to generate the Membrane
|
void |
userChoseGromacsCall()
Called when user chose generate a PDB-File using Gromacs
|
void |
userchoseLoadDB()
called when user chooses to load a DB
|
void |
userChoseLoadMembrane()
Called when user chose to load a Membrane
|
void |
userChoseNewDB()
Called when user chooses to create a new DataBase
|
void |
userChoseNewMembrane()
Called when user chose to create a new Membrane
|
void |
userChosePreviewMembrane(int mode) |
void |
userChoseQuickLoadMembrane(java.io.File file)
Called when user clicked on one of the quickloaditems
|
void |
userChoseQuickSaveMembrane()
Called when user chose to quicksave current Membrane
|
void |
userChoseSaveImage()
Called when user chose to save current Screenshot.
|
void |
userChoseSaveMembrane()
Called when user chose to save a Membrane
|
void |
userChoseSaveTimeProtocol(java.util.Vector<java.lang.String> timeProtocol)
Called when user chose to save a Time Protocol
|
void |
userChoseShowTimeProtocol()
Called when user chose to show the current Algorithm Time Protocol
|
void |
userClicked3DSettings(java.awt.Point location) |
void |
userClickedEditorMode(boolean bright_App) |
void |
userClickedOpenExternal() |
void |
userClickedOpenRCSB()
Invoked when user wants to open the SearchView
|
void |
userClickedOpenRestrictionDialog() |
void |
userClickedUniformBackground() |
public void userChoseNewMembrane()
userChoseNewMembrane in interface GuiListenerpublic void userChoseLoadMembrane()
userChoseLoadMembrane in interface GuiListenerpublic void userChoseQuickLoadMembrane(java.io.File file)
userChoseQuickLoadMembrane in interface GuiListenerpublic void userChoseSaveMembrane()
userChoseSaveMembrane in interface GuiListenerpublic void userChoseQuickSaveMembrane()
userChoseQuickSaveMembrane in interface GuiListenerpublic void userChoseSaveImage()
userChoseSaveImage in interface GuiListenerpublic void userChoseSaveTimeProtocol(java.util.Vector<java.lang.String> timeProtocol)
userChoseSaveTimeProtocol in interface GuiListenerpublic void userChoseShowTimeProtocol()
userChoseShowTimeProtocol in interface GuiListenerpublic void userChoseNewDB()
userChoseNewDB in interface GuiListenerpublic void userchoseLoadDB()
userchoseLoadDB in interface GuiListenerpublic void userChoseGeneratePDBFile(java.io.File pdbFile)
userChoseGeneratePDBFile in interface GuiListenerpublic void exitApplication()
exitApplication in interface GuiListenerpublic void userClickedOpenRCSB()
userClickedOpenRCSB in interface GuiListenerpublic void reloadGeometry()
reloadGeometry in interface GuiListenerpublic void doProxySettings()
doProxySettings in interface GuiListenerpublic void popUpAttrsDialog()
popUpAttrsDialog in interface GuiListenerpublic void userChosePreviewMembrane(int mode)
userChosePreviewMembrane in interface GuiListenerpublic void userChoseAnalyzeMembrane()
userChoseAnalyzeMembrane in interface GuiListenerpublic void userClickedOpenExternal()
userClickedOpenExternal in interface GuiListenerpublic void userClicked3DSettings(java.awt.Point location)
userClicked3DSettings in interface GuiListenerpublic void userClickedEditorMode(boolean bright_App)
userClickedEditorMode in interface GuiListenerpublic void userClickedUniformBackground()
public void popUpChangeSize(java.awt.Point locationOnScreen)
popUpChangeSize in interface GuiListenerpublic void setAllEnabled(boolean b)
public void userClickedOpenRestrictionDialog()
userClickedOpenRestrictionDialog in interface GuiListenerpublic void startDomainMode(MicroDomain_3D domainToChange)
startDomainMode in interface GuiListenerpublic void userChangedStereoEnable(boolean stereoEnabled)
userChangedStereoEnable in interface GuiListenerpublic void userChangedStereoSlider()
userChangedStereoSlider in interface GuiListenerpublic PluginManager getPluginManager()
getPluginManager in interface GuiListenerpublic void addMultilayerPressed()
addMultilayerPressed in interface GuiListenerpublic boolean restoreMembraneFromPDBPressed()
restoreMembraneFromPDBPressed in interface GuiListenerpublic boolean restoreMembraneFromPDB(java.lang.String absolutePathOfPDB,
java.lang.String absolutePathOfCm2,
CoordinateTransformationHints overwriteHints,
boolean checkMembraneState)
restoreMembraneFromPDB in interface GuiListenerString - absolutePathOfPDB mandatory: the absolute path of the PDBString - absolutePathOfCm2 optional: the absolute path of the Cm2 against which the PDB has to be parsedCoordinateTransformationHints - overwriteHints optional: the transformation hints containing information about how to transform the membraneboolean - checkMembraneState mandatory: true if a dialog should appear if there were changes on the membrane, false if the process should be started immediatelypublic boolean restoreMembraneFromPDB(java.lang.String absolutePathOfPDB,
java.lang.String absolutePathOfCm2,
CoordinateTransformationHints overwriteHints,
boolean checkMembraneState,
boolean waitForStatus)
String - absolutePathOfPDB mandatory: the absolute path of the PDBString - absolutePathOfCm2 optional: the absolute path of the Cm2 against which the PDB has to be parsedCoordinateTransformationHints - overwriteHints optional: the transformation hints containing information about how to transform the membraneboolean - checkMembraneState mandatory: true if a dialog should appear if there were changes on the membrane, false if the process should be started immediatelyboolean - waitForStatus mandatory: forces the program to wait until the reverse parsing thread has finished and reported the statuspublic void setPercentages(int mode,
int newval,
java.lang.String code,
int domainID)
setPercentages in interface GuiListenerpublic void setComputeAbsoluteValues(boolean computeAbsoluteValues)
setComputeAbsoluteValues in interface GuiListenerpublic boolean getComputeAbsoluteValues()
public void userChoseGromacsCall()