Skip to content

Commit

Permalink
* Removed Help window
Browse files Browse the repository at this point in the history
* Switched to documentation from the Wiki.
  • Loading branch information
teake.nutma committed Apr 27, 2009
1 parent 042f799 commit 7cac90b
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 985 deletions.
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
<!-- Copy the documentation -->
<delete file="${dist.dir}/README.TXT"/>
<copy todir="${dist.dir}/doc">
<fileset dir="documentation"/>
<fileset dir="../wiki"/>
</copy>
</target>

Expand Down
39 changes: 0 additions & 39 deletions documentation/changelog.txt

This file was deleted.

674 changes: 0 additions & 674 deletions documentation/gpl-3.0.txt

This file was deleted.

84 changes: 0 additions & 84 deletions documentation/readme.txt

This file was deleted.

4 changes: 2 additions & 2 deletions nbproject/project.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
application.desc=A simple program for Lie algebras
application.homepage=http://strings.fmns.rug.nl/SimpLie/
application.homepage=http://code.google.com/p/simplie/
application.title=SimpLie
application.vendor=Teake Nutma
application.version=1.3.0beta
application.version=1.3.0
build.classes.dir=${build.dir}/classes
build.classes.excludes=**/*.java,**/*.form
# This directory is removed when the project is cleaned:
Expand Down
64 changes: 0 additions & 64 deletions src/edu/simplie/SimpLieHelp.form

This file was deleted.

89 changes: 0 additions & 89 deletions src/edu/simplie/SimpLieHelp.java

This file was deleted.

8 changes: 0 additions & 8 deletions src/edu/simplie/SimpLieView.form
Original file line number Diff line number Diff line change
Expand Up @@ -142,14 +142,6 @@
<AuxValue name="JavaCodeGenerator_VariableModifier" type="java.lang.Integer" value="0"/>
</AuxValues>
<SubComponents>
<MenuItem class="javax.swing.JMenuItem" name="helpMenuItem">
<Properties>
<Property name="action" type="javax.swing.Action" editor="org.netbeans.modules.swingapp.ActionEditor">
<action class="edu.simplie.SimpLieView" id="showHelp" methodName="showHelp"/>
</Property>
<Property name="name" type="java.lang.String" value="helpMenuItem" noResource="true"/>
</Properties>
</MenuItem>
<MenuItem class="javax.swing.JMenuItem" name="aboutMenuItem">
<Properties>
<Property name="action" type="javax.swing.Action" editor="org.netbeans.modules.swingapp.ActionEditor">
Expand Down
24 changes: 4 additions & 20 deletions src/edu/simplie/SimpLieView.java
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,8 @@ private void initComponents() {
exportToTexItem = new javax.swing.JMenuItem();
exporRootsItem = new javax.swing.JMenuItem();
outputItem = new javax.swing.JMenuItem();
javax.swing.JMenu helpMenu = new javax.swing.JMenu();
helpMenuItem = new javax.swing.JMenuItem();
javax.swing.JMenuItem aboutMenuItem = new javax.swing.JMenuItem();
helpMenu = new javax.swing.JMenu();
aboutMenuItem = new javax.swing.JMenuItem();
exportToTex = new edu.simplie.ui.ExportToTex();
systemOutTextArea = new edu.simplie.ui.SystemOutTextArea();
statusPanel = new javax.swing.JPanel();
Expand Down Expand Up @@ -253,10 +252,6 @@ private void initComponents() {
helpMenu.setText(resourceMap.getString("helpMenu.text")); // NOI18N
helpMenu.setName("helpMenu"); // NOI18N

helpMenuItem.setAction(actionMap.get("showHelp")); // NOI18N
helpMenuItem.setName("helpMenuItem"); // NOI18N
helpMenu.add(helpMenuItem);

aboutMenuItem.setAction(actionMap.get("showAboutBox")); // NOI18N
aboutMenuItem.setName("aboutMenuItem"); // NOI18N
helpMenu.add(aboutMenuItem);
Expand Down Expand Up @@ -477,28 +472,17 @@ public void exportRoots()
}
}

@Action
public void showHelp()
{
if (helpDialog == null) {
JFrame mainFrame = SimpLieApp.getApplication().getMainFrame();
helpDialog = new SimpLieHelp(mainFrame);
helpDialog.setLocationRelativeTo(mainFrame);
}
SimpLieApp.getApplication().show(helpDialog);
}




// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JMenuItem aboutMenuItem;
private edu.simplie.ui.AlgebraInfo algebraInfo;
private edu.simplie.ui.AlgebraSetup algebraSetup;
private javax.swing.JMenuItem clearItem;
private javax.swing.JMenuItem exporRootsItem;
private edu.simplie.ui.ExportToTex exportToTex;
private javax.swing.JMenuItem exportToTexItem;
private javax.swing.JMenuItem helpMenuItem;
private javax.swing.JMenu helpMenu;
private javax.swing.JSeparator jSeparator1;
private javax.swing.JSeparator jSeparator2;
private javax.swing.JSeparator jSeparator3;
Expand Down
4 changes: 1 addition & 3 deletions src/edu/simplie/resources/SimpLieApp.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Application.name = SimpLie
Application.title = SimpLie
Application.version = 1.3.0beta
Application.version = 1.3.0
Application.vendor = Teake Nutma
Application.homepage = http://code.google.com/p/simplie/
Application.description = A simple program for Lie algebras
Expand Down Expand Up @@ -37,8 +37,6 @@ algebraSetup.internalTooltip=Info on the internal algebra (orange nodes).
algebraSetup.subTooltip=Info on the regular subalgebra (white nodes).
algebraSetup.fullTooltip=Info on the full algebra (all nodes).

help.helpText=ALGEBRA SETUP\n-------------\n\nWithin the white Dynkin diagram panel of the Algebra Setup tab one\ncan interactively 'click' a Dykin diagram together. The relevant\ncommands are:\n\n * Left mouse-click: Add a node. Hold shift to automatically add\n a connection to the previous node.\n * Middle mouse-click or alt-left: Toggle a node.\n * Right mouse-click: Bring up context menu. From the context menu,\n you can:\n o Add/remove a node if the mouse is on an empty location.\n o Add/remove a connection if the mouse is over a node. \n Left click on a second node to finish the action.\n o Toggle a node.\n o Remove a node.\n\nA decomposition is specified by disabling one or more nodes. The \n'level-nodes' are black, the 'internal nodes' are orange, and the \nregular subalgebra nodes remain white.\n\n\nALGEBRA INFO\n------------\n\nThis tab gives some basic information about the previously entered Lie algebra.\nYou can select whether to view the information for the full algebra, the regular\nsubalgebra, or for the interal algebra.\n\n * Matrices: Displays some of the relevant matrices for the algebra.\n * Roots: lists all the roots of the algebra.\n * Representations: Here it is possible to enter Dynkin labels for a \n representation and the computer calculate the dimension and all the weights.\n\n\nLEVEL DECOMPOSITION\n-------------------\n\nIn this tab a level decomposition of the Dynkin diagram set up previously \ncan be calculated. The columns in the subalgebra representations panel\nare the following:\n\n * l : Level(s).\n * p_r : Dynkin labels of the regular subalgebra part.\n * p_i : Dynkin labels of the internal part.\n * vector : Root vector.\n * a^2 : Root norm.\n * d_r : Dimension of the regular subalgebra part.\n * d_i : Dimension of the internal part.\n * mult : The root multiplicity.\n * mu : The outer multiplicity of the representation.\n * h : The height of lowest / highest weight.\n\n\nVISUALIZATION\n-------------\n\nIn this tab any Lie algebra can be "visualized": a 3D Hasse diagram can be drawn\nof the root system of the algebra. The diagram interaction is as follows:\n\n * Left-button mouse drag: Translate.\n * Mouse scroll: Zoom.\n * Right-button mouse drag or alt-left-button drag: rotate.
help.title=SimpLie Help
projector.draw=Draw
projector.maxHeight=Maximum height:
projector.rbCoxeter=Coxeter plane
Expand Down
Loading

0 comments on commit 7cac90b

Please sign in to comment.