This commit is contained in:
@@ -352,7 +352,9 @@ public class MainPanel extends Panel {
|
||||
if (commandsPlugin != null) {
|
||||
getContext().getPluginManager().unloadPlugin(commandsPlugin);
|
||||
}
|
||||
commandsPlugin = getContext().getPluginManager().loadInitializePlugin(getContext().getSetup().expandPath("{plugins}/Commands.java"));
|
||||
commandsPlugin = getContext().getPluginManager().loadPlugin(getContext().getSetup().expandPath("{plugins}/Commands.java"));
|
||||
((Panel)commandsPlugin).setDetached(true, getTopLevel());
|
||||
getContext().getPluginManager().initializePlugin(commandsPlugin);
|
||||
}
|
||||
|
||||
Plugin recoveryPlugin;
|
||||
@@ -361,7 +363,10 @@ public class MainPanel extends Panel {
|
||||
if (recoveryPlugin != null) {
|
||||
getContext().getPluginManager().unloadPlugin(recoveryPlugin);
|
||||
}
|
||||
recoveryPlugin = getContext().getPluginManager().loadInitializePlugin(getContext().getSetup().expandPath("{plugins}/Recovery.java"));
|
||||
recoveryPlugin = getContext().getPluginManager().loadPlugin(getContext().getSetup().expandPath("{plugins}/Recovery.java"));
|
||||
((Panel)recoveryPlugin).setDetached(true, getTopLevel());
|
||||
getContext().getPluginManager().initializePlugin(recoveryPlugin);
|
||||
|
||||
}
|
||||
|
||||
void setDefaultDetail() {
|
||||
@@ -856,7 +861,7 @@ public class MainPanel extends Panel {
|
||||
.addGroup(panelBeamlineStatusLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
|
||||
.addComponent(led6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||
.addComponent(jLabel9))
|
||||
.addContainerGap(15, Short.MAX_VALUE))
|
||||
.addContainerGap(26, Short.MAX_VALUE))
|
||||
);
|
||||
|
||||
panelLN2Control.setBorder(javax.swing.BorderFactory.createTitledBorder("LN2 Control"));
|
||||
@@ -1200,6 +1205,9 @@ public class MainPanel extends Panel {
|
||||
.addComponent(checkExpert, javax.swing.GroupLayout.PREFERRED_SIZE, 92, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||
.addGap(0, 0, Short.MAX_VALUE))
|
||||
);
|
||||
|
||||
panelExpertLayout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {buttonCalibrateCover, buttonCalibrateImage, buttonConfig, buttonExpertCommands, buttonRecovery});
|
||||
|
||||
panelExpertLayout.setVerticalGroup(
|
||||
panelExpertLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||
.addGroup(panelExpertLayout.createSequentialGroup()
|
||||
@@ -1425,7 +1433,7 @@ public class MainPanel extends Panel {
|
||||
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
|
||||
.addComponent(panelTop, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
||||
.addGap(0, 0, 0)
|
||||
.addComponent(panelBottom, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||
.addComponent(panelBottom, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
||||
.addGap(1, 1, 1))
|
||||
);
|
||||
}// </editor-fold>//GEN-END:initComponents
|
||||
|
||||
Reference in New Issue
Block a user