Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use cloud confluence #1502

Open
wants to merge 2 commits into
base: opensim_45
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@
</Property>
<Property name="lineWrap" type="boolean" value="true"/>
<Property name="rows" type="int" value="5"/>
<Property name="text" type="java.lang.String" value="To sustain the OpenSim project, please acknowledge us by citing the paper entitled &quot;OpenSim: Simulating musculoskeletal dynamics and neuromuscular control to study human and animal movement.&quot; https://doi.org/10.1371/journal.pcbi.1006223&#xa;&#xa;For additional details about how to acknowledge model, software, and simulation developers in your work, see https://simtk-confluence.stanford.edu/display/OpenSim/License+for+OpenSim+4.0+and+Later"/>
<Property name="text" type="java.lang.String" value="To sustain the OpenSim project, please acknowledge us by citing the paper entitled &quot;OpenSim: Simulating musculoskeletal dynamics and neuromuscular control to study human and animal movement.&quot; https://doi.org/10.1371/journal.pcbi.1006223&#xa;&#xa;For additional details about how to acknowledge model, software, and simulation developers in your work, see https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim/overview"/>
<Property name="wrapStyleWord" type="boolean" value="true"/>
<Property name="alignmentY" type="float" value="0.0"/>
<Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ private void initComponents() {
jTextArea5.setFont(new java.awt.Font("Tahoma", 0, 11)); // NOI18N
jTextArea5.setLineWrap(true);
jTextArea5.setRows(5);
jTextArea5.setText("To sustain the OpenSim project, please acknowledge us by citing the paper entitled \"OpenSim: Simulating musculoskeletal dynamics and neuromuscular control to study human and animal movement.\" https://doi.org/10.1371/journal.pcbi.1006223\n\nFor additional details about how to acknowledge model, software, and simulation developers in your work, see https://simtk-confluence.stanford.edu/display/OpenSim/License+for+OpenSim+4.0+and+Later");
jTextArea5.setText("To sustain the OpenSim project, please acknowledge us by citing the paper entitled \"OpenSim: Simulating musculoskeletal dynamics and neuromuscular control to study human and animal movement.\" https://doi.org/10.1371/journal.pcbi.1006223\n\nFor additional details about how to acknowledge model, software, and simulation developers in your work, see https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim/pages/53086437/License+for+OpenSim+4.0+and+Later");
jTextArea5.setWrapStyleWord(true);
jTextArea5.setAlignmentY(0.0F);
jTextArea5.setMargin(new java.awt.Insets(0, 5, 0, 0));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
public final class OpenOnlineDocsAction extends CallableSystemAction {

public void performAction() {
BrowserLauncher.openURL("https://simtk-confluence.stanford.edu/display/OpenSim40/OpenSim+Documentation");
BrowserLauncher.openURL("https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim40/overview");
}

public String getName() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
public final class ScriptingHelpAction extends CallableSystemAction {

public void performAction() {
BrowserLauncher.openURL("https://simtk-confluence.stanford.edu/display/OpenSim40/Scripting");
BrowserLauncher.openURL("https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim40/pages/53089359/Scripting");
}

public String getName() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,12 @@ public boolean accept(File file) {
};

// Add online examples
displayMenu.add(new BrowserPageDisplayerAction("Online Examples", "https://simtk-confluence.stanford.edu/display/OpenSim40/Examples+and+Tutorials"));
displayMenu.add(new BrowserPageDisplayerAction("Online Examples", "https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim40/pages/53088695/Examples+and+Tutorials"));

// Adding tutorials
displayMenu.add(new BrowserPageDisplayerAction("OpenSimTutorial1", "https://simtk-confluence.stanford.edu/display/OpenSim40/Tutorial+1+-+Intro+to+Musculoskeletal+Modeling"));
displayMenu.add(new BrowserPageDisplayerAction("OpenSimTutorial2", "https://simtk-confluence.stanford.edu/display/OpenSim40/Tutorial+2+-+Simulation+and+Analysis+of+a+Tendon+Transfer+Surgery"));
displayMenu.add(new BrowserPageDisplayerAction("OpenSimTutorial3", "https://simtk-confluence.stanford.edu/display/OpenSim40/Tutorial+3+-+Scaling%2C+Inverse+Kinematics%2C+and+Inverse+Dynamics"));

displayMenu.add(new BrowserPageDisplayerAction("OpenSimTutorial1", "https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim40/pages/53088700/Tutorial+1+-+Intro+to+Musculoskeletal+Modeling"));
displayMenu.add(new BrowserPageDisplayerAction("OpenSimTutorial2", "https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim40/pages/53088644/Tutorial+2+-+Simulation+and+Analysis+of+a+Tendon+Transfer+Surgery"));
displayMenu.add(new BrowserPageDisplayerAction("OpenSimTutorial3", "https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim40/pages/53089741/Tutorial+3+-+Scaling+Inverse+Kinematics+and+Inverse+Dynamics"));
return displayMenu;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
public final class UsersGuideAction extends CallableSystemAction {

public void performAction() {
String usersGuidePath = "https://simtk-confluence.stanford.edu/display/OpenSim40/User's+Guide";
String usersGuidePath = "https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim40/pages/53089849/User+s+Guide";

System.out.println("USERS GUIDE PATH: " + usersGuidePath);
BrowserLauncher.openURL(usersGuidePath);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class opensimActuatorsAnalysesToolsJNI {
String javaHome = System.getProperties().getProperty("java.home");
boolean inMatlab = javaHome.toLowerCase().indexOf("matlab") >= 0;
if (inMatlab) {
msg += "\nSee https://simtk-confluence.stanford.edu/display/OpenSim40/Scripting+with+Matlab";
msg += "\nSee https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim40/pages/53089380/Scripting+with+Matlab";
}

System.out.println(msg);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class opensimCommonJNI {
String javaHome = System.getProperties().getProperty("java.home");
boolean inMatlab = javaHome.toLowerCase().indexOf("matlab") >= 0;
if (inMatlab) {
msg += "\nSee https://simtk-confluence.stanford.edu/display/OpenSim40/Scripting+with+Matlab";
msg += "\nSee https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim40/pages/53089380/Scripting+with+Matlab";
}

System.out.println(msg);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class opensimExampleComponentsJNI {
String javaHome = System.getProperties().getProperty("java.home");
boolean inMatlab = javaHome.toLowerCase().indexOf("matlab") >= 0;
if (inMatlab) {
msg += "\nSee https://simtk-confluence.stanford.edu/display/OpenSim40/Scripting+with+Matlab";
msg += "\nSee https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim40/pages/53089380/Scripting+with+Matlab";
}

System.out.println(msg);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public class opensimMocoJNI {
String javaHome = System.getProperties().getProperty("java.home");
boolean inMatlab = javaHome.toLowerCase().indexOf("matlab") >= 0;
if (inMatlab) {
msg += "\nSee https://simtk-confluence.stanford.edu/display/OpenSim40/Scripting+with+Matlab";
msg += "\nSee https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim40/pages/53089380/Scripting+with+Matlab";
}

System.out.println(msg);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class opensimSimbodyJNI {
String javaHome = System.getProperties().getProperty("java.home");
boolean inMatlab = javaHome.toLowerCase().indexOf("matlab") >= 0;
if (inMatlab) {
msg += "\nSee https://simtk-confluence.stanford.edu/display/OpenSim40/Scripting+with+Matlab";
msg += "\nSee https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim40/pages/53089380/Scripting+with+Matlab";
}

System.out.println(msg);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class opensimSimulationJNI {
String javaHome = System.getProperties().getProperty("java.home");
boolean inMatlab = javaHome.toLowerCase().indexOf("matlab") >= 0;
if (inMatlab) {
msg += "\nSee https://simtk-confluence.stanford.edu/display/OpenSim40/Scripting+with+Matlab";
msg += "\nSee https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim40/pages/53089380/Scripting+with+Matlab";
}

System.out.println(msg);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1185,7 +1185,7 @@ private void jLoadFileToPlotterMenuItemActionPerformed(java.awt.event.ActionEven
}//GEN-LAST:event_jLoadFileToPlotterMenuItemActionPerformed

private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
BrowserLauncher.openURL("https://simtk-confluence.stanford.edu/display/OpenSim40/Plotting");
BrowserLauncher.openURL("https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim40/pages/53089933/Plotting");
}//GEN-LAST:event_jButton1ActionPerformed

public PlotterSourceFile loadFile(String dataFilename) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,43 +97,43 @@ public AnalyzeAndForwardToolPanel(Model model, Mode mode) throws IOException {
modeName = "forward dynamics tool";
toolModel = new ForwardToolModel(model);

helpUrl = "Forward+Dynamics";
helpUrl = "53089629/Forward+Dynamics";
break;
case InverseDynamics:
modeName = "inverse dynamics tool";
toolModel = new AnalyzeToolModel(model, mode);

helpUrl = "Inverse+Dynamics";
helpUrl = "53090074/Inverse+Dynamics";
break;
case CMC:
modeName = "CMC tool";
toolModel = new CMCToolModel(model);

helpUrl = "Computed+Muscle+Control";
helpUrl = "53089719/Computed+Muscle+Control";
break;
case RRA:
modeName = "RRA tool";
toolModel = new RRAToolModel(model);

helpUrl = "Residual+Reduction+Algorithm";
helpUrl = "53089669/Residual+Reduction+Algorithm";
break;
case Analyze:
modeName = "analyze tool";
toolModel = new AnalyzeToolModel(model, mode);

helpUrl = "Analyses";
helpUrl = "53089589/Analyses";
break;
case StaticOptimization:
modeName = "static optimization tool";
toolModel = new AnalyzeToolModel(model, mode);

helpUrl = "Static+Optimization";
helpUrl = "53090088/Static+Optimization";
break;
}

helpButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent ae) {
String path = "https://simtk-confluence.stanford.edu/display/OpenSim40/" + helpUrl;
String path = "https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim40/pages/" + helpUrl;
BrowserLauncher.openURL(path);
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public IKToolPanel(Model model) throws IOException {
helpButton.addActionListener(new ActionListener() {

public void actionPerformed(ActionEvent ae) {
BrowserLauncher.openURL("https://simtk-confluence.stanford.edu/display/OpenSim40/Inverse+Kinematics");
BrowserLauncher.openURL("https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim40/pages/53090037/Inverse+Kinematics");
}
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public IMUCalibrationPanel(Model model) throws IOException {
helpButton.addActionListener(new ActionListener() {

public void actionPerformed(ActionEvent ae) {
BrowserLauncher.openURL("https://simtk-confluence.stanford.edu/display/OpenSim40/IMU+Placer");
BrowserLauncher.openURL("https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim40/pages/53084382/IMU+Placer");
}
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public IMUIKToolPanel(Model model) throws IOException {
helpButton.addActionListener(new ActionListener() {

public void actionPerformed(ActionEvent ae) {
BrowserLauncher.openURL("https://simtk-confluence.stanford.edu/display/OpenSim40/IMU+Inverse+Kinematics");
BrowserLauncher.openURL("https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim40/pages/53084245/IMU+Inverse+Kinematics");
}
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public InverseDynamicsToolPanel(Model model) throws IOException {
helpButton.addActionListener(new ActionListener() {

public void actionPerformed(ActionEvent ae) {
BrowserLauncher.openURL("https://simtk-confluence.stanford.edu/display/OpenSim40/Inverse+Dynamics");
BrowserLauncher.openURL("https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim40/pages/53090074/Inverse+Dynamics");
}
});
bindPropertiesToComponents();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public ScaleToolPanel(Model model) throws IOException {
helpButton.addActionListener(new ActionListener() {

public void actionPerformed(ActionEvent ae) {
BrowserLauncher.openURL("https://simtk-confluence.stanford.edu/display/OpenSim40/Scaling");
BrowserLauncher.openURL("https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim40/pages/53090000/Scaling");
}
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public void performAction() {
@Override
public void actionPerformed(ActionEvent ae) {
if(ae.getSource().equals(helpBtn)) {
BrowserLauncher.openURL("https://simtk-confluence.stanford.edu/display/OpenSim40/User+Preferences");
BrowserLauncher.openURL("https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim40/pages/53089896/User+Preferences");
}
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ private void jLoadMenuItemActionPerformed(java.awt.event.ActionEvent evt) {//GEN
}//GEN-LAST:event_jLoadMenuItemActionPerformed

private void helpButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_helpButtonActionPerformed
BrowserLauncher.openURL("https://simtk-confluence.stanford.edu/display/OpenSim40/Excitation+Editor");
BrowserLauncher.openURL("https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim40/pages/53089924/Excitation+Editor");
}//GEN-LAST:event_helpButtonActionPerformed

/**
Expand Down
2 changes: 1 addition & 1 deletion opensim-visualizer
Loading