예제 #1
0
 void slice() {
   actions.get(ActionMap.SLICE_ACTION).setEnabled(false);
   plater.mouseToWorld();
   slice(
       stripExtension(currentFile),
       new StatusBarUpdater(statusBar, currentFile, simulationTab.getSimulationPlotter()),
       false);
 }
예제 #2
0
파일: AgentView.java 프로젝트: hasnainv/Adx
 protected String getConfigProperty(String prop, String defaultValue) {
   ConfigManager config = parent.getConfig();
   String value = config.getProperty(roleName + '.' + getName() + '.' + prop);
   if (value == null) {
     value = config.getProperty(roleName + '.' + prop);
   }
   return value == null ? defaultValue : value;
 }
예제 #3
0
 public void modelChanged() {
   if (simulationPanel != null) {
     simulationPanel.repaint();
   }
   if (userOptionsPanel != null) {
     userOptionsPanel.maybeUpdate();
     optionsPanel.revalidate();
   }
 }
예제 #4
0
파일: AgentView.java 프로젝트: hasnainv/Adx
 protected void showDialog(JComponent dialog) {
   parent.showDialog(dialog);
 }
예제 #5
0
파일: AgentView.java 프로젝트: hasnainv/Adx
 protected Icon getIcon(String iconName) {
   return parent.getIcon(iconName);
 }
예제 #6
0
파일: AgentView.java 프로젝트: hasnainv/Adx
 /**
  * ******************************************************************* Information retrieval and
  * utilities for sub classes ********************************************************************
  */
 protected ConfigManager getConfig() {
   return parent.getConfig();
 }