From 496c8d6e22d42dcd8e965b4896ae0a4bb8e8450e Mon Sep 17 00:00:00 2001 From: RichieJi Date: Wed, 28 Feb 2018 18:48:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E4=B8=80=E4=B8=8B=E5=91=BD=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fr/design/mainframe/ElementCasePane.java | 4 +-- .../design/actions/ToolbarActionManager.java | 2 +- .../src/com/fr/design/gui/UILookAndFeel.java | 2 +- .../autocomplete/AutoCompletePopupWindow.java | 8 ++--- .../gui/autocomplete/AutoCompletion.java | 4 +-- .../LanguageAwareCompletionProvider.java | 2 +- .../com/fr/design/gui/itable/TableSorter.java | 6 ++-- .../itree/checkboxtree/TristateCheckBox.java | 2 +- .../AbstractTokenMakerFactory.java | 2 +- .../ui/rsyntaxtextarea/RSyntaxDocument.java | 4 +-- .../RSyntaxTextAreaDefaultInputMap.java | 4 +-- .../ui/rsyntaxtextarea/RSyntaxTextAreaUI.java | 4 +-- .../ui/rsyntaxtextarea/RSyntaxUtilities.java | 2 +- .../syntax/ui/rsyntaxtextarea/SyntaxView.java | 6 ++-- .../syntax/ui/rsyntaxtextarea/TokenMap.java | 36 +++++++++---------- .../ui/rtextarea/RTADefaultInputMap.java | 6 ++-- .../syntax/ui/rtextarea/RTextAreaBase.java | 4 +-- .../ui/rtextarea/RTextAreaEditorKit.java | 2 +- .../gui/syntax/ui/rtextarea/RTextAreaUI.java | 20 +++++------ .../src/com/fr/design/layout/TableLayout.java | 2 +- .../chart/DownloadOnlineSourcesHelper.java | 2 +- .../map/server/ChartMapEditorAction.java | 2 +- 22 files changed, 63 insertions(+), 63 deletions(-) diff --git a/designer/src/com/fr/design/mainframe/ElementCasePane.java b/designer/src/com/fr/design/mainframe/ElementCasePane.java index 656d2ec93a..0a2de9d10a 100644 --- a/designer/src/com/fr/design/mainframe/ElementCasePane.java +++ b/designer/src/com/fr/design/mainframe/ElementCasePane.java @@ -183,7 +183,7 @@ public abstract class ElementCasePane extends Tar this.add(RGridLayout.VerticalBar, this.verScrollBar); // this.add(RGridLayout.HorizontalBar, this.horScrollBar); - // Init input/action map defaultly. + // Init input/action objMap defaultly. initInputActionMap(); // 设置最小的尺寸,方便 ScrollPane. @@ -808,7 +808,7 @@ public abstract class ElementCasePane extends Tar } /** - * Init input/action map. + * Init input/action objMap. */ protected void initInputActionMap() { InputMap inputMapAncestor = this.getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT); diff --git a/designer_base/src/com/fr/design/actions/ToolbarActionManager.java b/designer_base/src/com/fr/design/actions/ToolbarActionManager.java index 74d5364d77..14edad8018 100644 --- a/designer_base/src/com/fr/design/actions/ToolbarActionManager.java +++ b/designer_base/src/com/fr/design/actions/ToolbarActionManager.java @@ -10,7 +10,7 @@ import com.fr.design.menu.MenuDef; public class ToolbarActionManager { - private static ToolbarActionManager toolbarActionManager = null; //key map + private static ToolbarActionManager toolbarActionManager = null; //key objMap //所有的Action Map. private List actionList = new ArrayList(); private List menuList=new ArrayList(); diff --git a/designer_base/src/com/fr/design/gui/UILookAndFeel.java b/designer_base/src/com/fr/design/gui/UILookAndFeel.java index 07f7acd8a0..ac0d57d93c 100644 --- a/designer_base/src/com/fr/design/gui/UILookAndFeel.java +++ b/designer_base/src/com/fr/design/gui/UILookAndFeel.java @@ -58,7 +58,7 @@ public class UILookAndFeel extends MetalLookAndFeel { /** * Initializes the uiClassID to BasicComponentUI mapping. * The JComponent classes define their own uiClassID constants. This table - * must map those constants to a BasicComponentUI class of the appropriate + * must objMap those constants to a BasicComponentUI class of the appropriate * type. * * @param table The ui defaults table. diff --git a/designer_base/src/com/fr/design/gui/autocomplete/AutoCompletePopupWindow.java b/designer_base/src/com/fr/design/gui/autocomplete/AutoCompletePopupWindow.java index 22bb4edf77..72eb5e9748 100644 --- a/designer_base/src/com/fr/design/gui/autocomplete/AutoCompletePopupWindow.java +++ b/designer_base/src/com/fr/design/gui/autocomplete/AutoCompletePopupWindow.java @@ -416,8 +416,8 @@ class AutoCompletePopupWindow extends JWindow implements CaretListener, * "Puts back" the original key/Action pair for a keystroke. This is used * when this popup is hidden. * - * @param im The input map. - * @param am The action map. + * @param im The input objMap. + * @param am The action objMap. * @param key The keystroke whose key/Action pair to change. * @param kap The (original) key/Action pair. * @see #replaceAction(InputMap, ActionMap, int, KeyActionPair, KeyActionPair) @@ -434,8 +434,8 @@ class AutoCompletePopupWindow extends JWindow implements CaretListener, * Replaces a key/Action pair in an InputMap and ActionMap with a new * pair. * - * @param im The input map. - * @param am The action map. + * @param im The input objMap. + * @param am The action objMap. * @param key The keystroke whose information to replace. * @param kap The new key/Action pair for key. * @param old A buffer in which to place the old key/Action pair. diff --git a/designer_base/src/com/fr/design/gui/autocomplete/AutoCompletion.java b/designer_base/src/com/fr/design/gui/autocomplete/AutoCompletion.java index fb5f2b7639..bf260680f0 100644 --- a/designer_base/src/com/fr/design/gui/autocomplete/AutoCompletion.java +++ b/designer_base/src/com/fr/design/gui/autocomplete/AutoCompletion.java @@ -201,12 +201,12 @@ public class AutoCompletion { private LookAndFeelChangeListener lafListener; /** - * The key used in the input map for the AutoComplete action. + * The key used in the input objMap for the AutoComplete action. */ private static final String PARAM_TRIGGER_KEY = "AutoComplete"; /** - * Key used in the input map for the parameter completion action. + * Key used in the input objMap for the parameter completion action. */ private static final String PARAM_COMPLETE_KEY = "AutoCompletion.FunctionStart"; diff --git a/designer_base/src/com/fr/design/gui/autocomplete/LanguageAwareCompletionProvider.java b/designer_base/src/com/fr/design/gui/autocomplete/LanguageAwareCompletionProvider.java index b9c761446b..d8f899f0f2 100644 --- a/designer_base/src/com/fr/design/gui/autocomplete/LanguageAwareCompletionProvider.java +++ b/designer_base/src/com/fr/design/gui/autocomplete/LanguageAwareCompletionProvider.java @@ -259,7 +259,7 @@ public class LanguageAwareCompletionProvider extends CompletionProviderBase } // TokenMakers can use types < 0 for "internal types." This - // gives them a chance to map their internal types back to "real" + // gives them a chance to objMap their internal types back to "real" // types to get completion providers. else if (type<0) { type = doc.getClosestStandardTokenTypeForInternalType(type); diff --git a/designer_base/src/com/fr/design/gui/itable/TableSorter.java b/designer_base/src/com/fr/design/gui/itable/TableSorter.java index 4b2f2995c7..a03c4d35fd 100644 --- a/designer_base/src/com/fr/design/gui/itable/TableSorter.java +++ b/designer_base/src/com/fr/design/gui/itable/TableSorter.java @@ -31,8 +31,8 @@ import javax.swing.table.TableModel; * TableSorter is a decorator for TableModels; adding sorting * functionality to a supplied TableModel. TableSorter does * not store or copy the data in its TableModel; instead it maintains - * a map from the row indexes of the view to the row indexes of the - * model. As requests are made of the sorter (like getValueAt(row, col)) + * a objMap from the row indexes of the view to the row indexes of the + * model. As requests are made of the sorter (like getValueAt(row, objCollection)) * they are passed to the underlying model after the row numbers * have been translated via the internal mapping array. This way, * the TableSorter appears to hold another copy of the table @@ -350,7 +350,7 @@ public class TableSorter extends AbstractTableModel { fireTableChanged(e); return; } - // We can map a cell event through to the view without widening + // We can objMap a cell event through to the view without widening // when the following conditions apply: // // a) all the changes are on one row (e.getFirstRow() == e.getLastRow()) and, diff --git a/designer_base/src/com/fr/design/gui/itree/checkboxtree/TristateCheckBox.java b/designer_base/src/com/fr/design/gui/itree/checkboxtree/TristateCheckBox.java index 09879cd98f..4ee78059f0 100644 --- a/designer_base/src/com/fr/design/gui/itree/checkboxtree/TristateCheckBox.java +++ b/designer_base/src/com/fr/design/gui/itree/checkboxtree/TristateCheckBox.java @@ -61,7 +61,7 @@ public class TristateCheckBox extends UICheckBox { model.setState(getNextState(model.getState())); } }); - // Reset the keyboard action map + // Reset the keyboard action objMap ActionMap map = new ActionMapUIResource(); map.put("pressed", new AbstractAction() { public void actionPerformed(ActionEvent e) { diff --git a/designer_base/src/com/fr/design/gui/syntax/ui/rsyntaxtextarea/AbstractTokenMakerFactory.java b/designer_base/src/com/fr/design/gui/syntax/ui/rsyntaxtextarea/AbstractTokenMakerFactory.java index 04309a0fc3..546bf8b244 100644 --- a/designer_base/src/com/fr/design/gui/syntax/ui/rsyntaxtextarea/AbstractTokenMakerFactory.java +++ b/designer_base/src/com/fr/design/gui/syntax/ui/rsyntaxtextarea/AbstractTokenMakerFactory.java @@ -25,7 +25,7 @@ public abstract class AbstractTokenMakerFactory extends TokenMakerFactory { /** * A mapping from keys to the names of {@link TokenMaker} implementation * class names. When {@link #getTokenMaker(String)} is called with a key - * defined in this map, a TokenMaker of the corresponding type + * defined in this objMap, a TokenMaker of the corresponding type * is returned. */ private Map tokenMakerMap; diff --git a/designer_base/src/com/fr/design/gui/syntax/ui/rsyntaxtextarea/RSyntaxDocument.java b/designer_base/src/com/fr/design/gui/syntax/ui/rsyntaxtextarea/RSyntaxDocument.java index a6458f773b..9a47902104 100644 --- a/designer_base/src/com/fr/design/gui/syntax/ui/rsyntaxtextarea/RSyntaxDocument.java +++ b/designer_base/src/com/fr/design/gui/syntax/ui/rsyntaxtextarea/RSyntaxDocument.java @@ -396,7 +396,7 @@ public class RSyntaxDocument extends RDocument implements Iterable, Element map = getDefaultRootElement(); Element elem = map.getElement(line); int startOffset = elem.getStartOffset(); - //int endOffset = (line==map.getElementCount()-1 ? elem.getEndOffset() - 1: + //int endOffset = (line==objMap.getElementCount()-1 ? elem.getEndOffset() - 1: // elem.getEndOffset() - 1); int endOffset = elem.getEndOffset() - 1; // Why always "-1"? try { @@ -476,7 +476,7 @@ public class RSyntaxDocument extends RDocument implements Iterable, private final void setSharedSegment(int line) { Element map = getDefaultRootElement(); - //int numLines = map.getElementCount(); + //int numLines = objMap.getElementCount(); Element element = map.getElement(line); if (element==null) diff --git a/designer_base/src/com/fr/design/gui/syntax/ui/rsyntaxtextarea/RSyntaxTextAreaDefaultInputMap.java b/designer_base/src/com/fr/design/gui/syntax/ui/rsyntaxtextarea/RSyntaxTextAreaDefaultInputMap.java index 715ab47fe3..154bc2c1cd 100644 --- a/designer_base/src/com/fr/design/gui/syntax/ui/rsyntaxtextarea/RSyntaxTextAreaDefaultInputMap.java +++ b/designer_base/src/com/fr/design/gui/syntax/ui/rsyntaxtextarea/RSyntaxTextAreaDefaultInputMap.java @@ -17,7 +17,7 @@ import com.fr.design.gui.syntax.ui.rtextarea.RTADefaultInputMap; /** - * The default input map for an RSyntaxTextArea. + * The default input objMap for an RSyntaxTextArea. * Currently, the new key bindings include: *
    *
  • Shift+Tab indents the current line or currently selected lines @@ -30,7 +30,7 @@ import com.fr.design.gui.syntax.ui.rtextarea.RTADefaultInputMap; public class RSyntaxTextAreaDefaultInputMap extends RTADefaultInputMap { /** - * Constructs the default input map for an RSyntaxTextArea. + * Constructs the default input objMap for an RSyntaxTextArea. */ public RSyntaxTextAreaDefaultInputMap() { diff --git a/designer_base/src/com/fr/design/gui/syntax/ui/rsyntaxtextarea/RSyntaxTextAreaUI.java b/designer_base/src/com/fr/design/gui/syntax/ui/rsyntaxtextarea/RSyntaxTextAreaUI.java index 4fe5e7b584..3153459cb3 100644 --- a/designer_base/src/com/fr/design/gui/syntax/ui/rsyntaxtextarea/RSyntaxTextAreaUI.java +++ b/designer_base/src/com/fr/design/gui/syntax/ui/rsyntaxtextarea/RSyntaxTextAreaUI.java @@ -84,11 +84,11 @@ public class RSyntaxTextAreaUI extends RTextAreaUI { /** - * Returns the name to use to cache/fetch the shared action map. This + * Returns the name to use to cache/fetch the shared action objMap. This * should be overridden by subclasses if the subclass has its own custom * editor kit to install, so its actions get picked up. * - * @return The name of the cached action map. + * @return The name of the cached action objMap. */ @Override protected String getActionMapName() { diff --git a/designer_base/src/com/fr/design/gui/syntax/ui/rsyntaxtextarea/RSyntaxUtilities.java b/designer_base/src/com/fr/design/gui/syntax/ui/rsyntaxtextarea/RSyntaxUtilities.java index 753da2985a..5656547805 100644 --- a/designer_base/src/com/fr/design/gui/syntax/ui/rsyntaxtextarea/RSyntaxUtilities.java +++ b/designer_base/src/com/fr/design/gui/syntax/ui/rsyntaxtextarea/RSyntaxUtilities.java @@ -372,7 +372,7 @@ public class RSyntaxUtilities implements SwingConstants { int lineNum = map.getElementIndex(p0); // We do ">1" because p1 might be the first position on the next line // or the last position on the previous one. - // if (lineNum!=map.getElementIndex(p1)) + // if (lineNum!=objMap.getElementIndex(p1)) if (Math.abs(lineNum-map.getElementIndex(p1))>1) throw new IllegalArgumentException("p0 and p1 are not on the " + "same line (" + p0 + ", " + p1 + ")."); diff --git a/designer_base/src/com/fr/design/gui/syntax/ui/rsyntaxtextarea/SyntaxView.java b/designer_base/src/com/fr/design/gui/syntax/ui/rsyntaxtextarea/SyntaxView.java index 18e21ae77c..c32e7cdc8a 100644 --- a/designer_base/src/com/fr/design/gui/syntax/ui/rsyntaxtextarea/SyntaxView.java +++ b/designer_base/src/com/fr/design/gui/syntax/ui/rsyntaxtextarea/SyntaxView.java @@ -427,7 +427,7 @@ else { return document.getTokenListForLine(line); } } -// int line = map.getElementIndex(offset) - 1; +// int line = objMap.getElementIndex(offset) - 1; // if (line>=0) // return document.getTokenListForLine(line); return null; @@ -463,8 +463,8 @@ else { return document.getTokenListForLine(line); } } -// int line = map.getElementIndex(offset); -// int lineCount = map.getElementCount(); +// int line = objMap.getElementIndex(offset); +// int lineCount = objMap.getElementCount(); // if (line-1 is returned. + * text is in this token objMap. If it isn't, -1 is returned. * * @param text The segment from which to get the text to compare. * @param start The starting index in the segment of the text. * @param end The ending index in the segment of the text. * @return The token type associated with the given text, or - * -1 if this token was not specified in this map. + * -1 if this token was not specified in this objMap. */ public int get(Segment text, int start, int end) { return get(text.array, start, end); @@ -110,13 +110,13 @@ public class TokenMap { /** * Returns the token type associated with the given text, if the given - * text is in this token map. If it isn't, -1 is returned. + * text is in this token objMap. If it isn't, -1 is returned. * * @param array1 An array of characters containing the text. * @param start The starting index in the array of the text. * @param end The ending index in the array of the text. * @return The token type associated with the given text, or - * -1 if this token was not specified in this map. + * -1 if this token was not specified in this objMap. */ public int get(char[] array1, int start, int end) { @@ -159,7 +159,7 @@ public class TokenMap { } // If matches are NOT case-sensitive (HTML)... - // Note that all tokens saved in this map were converted to + // Note that all tokens saved in this objMap were converted to // lower-case already. else { @@ -205,7 +205,7 @@ public class TokenMap { /** - * Returns whether this token map ignores case when checking for tokens. + * Returns whether this token objMap ignores case when checking for tokens. * This property is set in the constructor and cannot be changed, as this * is an intrinsic property of a particular programming language. * @@ -217,7 +217,7 @@ public class TokenMap { /** - * Adds a string to this token map. + * Adds a string to this token objMap. * * @param string The string to add. * @param tokenType The type of token the string is. @@ -231,7 +231,7 @@ public class TokenMap { /** - * Adds a string to this token map. The char array passed-in will be used + * Adds a string to this token objMap. The char array passed-in will be used * as the actual data for the token, so it may well be modified (such as * lower-casing it if ignoreCase is true). This * shouldn't be an issue though as this method is only called from the @@ -247,7 +247,7 @@ public class TokenMap { /** - * The "token" used by a token map. Note that this isn't the same thing + * The "token" used by a token objMap. Note that this isn't the same thing * as the {@link Token} class, but it's basically a 1-1 correspondence * for reserved words, etc. */ diff --git a/designer_base/src/com/fr/design/gui/syntax/ui/rtextarea/RTADefaultInputMap.java b/designer_base/src/com/fr/design/gui/syntax/ui/rtextarea/RTADefaultInputMap.java index 35a1995ed8..e4d45fac5f 100644 --- a/designer_base/src/com/fr/design/gui/syntax/ui/rtextarea/RTADefaultInputMap.java +++ b/designer_base/src/com/fr/design/gui/syntax/ui/rtextarea/RTADefaultInputMap.java @@ -17,7 +17,7 @@ import javax.swing.text.DefaultEditorKit; /** - * The default input map for an RTextArea. For the most part it is + * The default input objMap for an RTextArea. For the most part it is * exactly that the one for a JTextArea, but it adds a few things. * Currently, the new key bindings include: *
      @@ -50,7 +50,7 @@ public class RTADefaultInputMap extends InputMap { public static final int DEFAULT_MODIFIER = Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(); /** - * Constructs the default input map for an RTextArea. + * Constructs the default input objMap for an RTextArea. */ public RTADefaultInputMap() { @@ -129,7 +129,7 @@ public class RTADefaultInputMap extends InputMap { put(KeyStroke.getKeyStroke(KeyEvent.VK_K, defaultModifier|shift), RTextAreaEditorKit.rtaPrevOccurrenceAction); put(KeyStroke.getKeyStroke(KeyEvent.VK_K, defaultModifier), RTextAreaEditorKit.rtaNextOccurrenceAction); - /* NOTE: Currently, macros aren't part of the default input map for */ + /* NOTE: Currently, macros aren't part of the default input objMap for */ /* RTextArea, as they display their own popup windows, etc. which */ /* may or may not clash with the application in which the RTextArea */ /* resides. You can add the macro actions yourself into an */ diff --git a/designer_base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextAreaBase.java b/designer_base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextAreaBase.java index 1be58c3946..76405feac7 100644 --- a/designer_base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextAreaBase.java +++ b/designer_base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextAreaBase.java @@ -738,8 +738,8 @@ int currentCaretY; // Used to know when to rehighlight current line. else { // Document doc = getDocument(); // if (doc!=null) { -// Element map = doc.getDefaultRootElement(); -// int caretLine = map.getElementIndex(dot); +// Element objMap = doc.getDefaultRootElement(); +// int caretLine = objMap.getElementIndex(dot); // Rectangle alloc = ((RTextAreaUI)getUI()). // getVisibleEditorRect(); // if (alloc!=null) diff --git a/designer_base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextAreaEditorKit.java b/designer_base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextAreaEditorKit.java index 875766218e..d602c5b17b 100644 --- a/designer_base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextAreaEditorKit.java +++ b/designer_base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextAreaEditorKit.java @@ -773,7 +773,7 @@ public class RTextAreaEditorKit extends DefaultEditorKit { /** - * The action to use when no actions in the input/action map meet the key + * The action to use when no actions in the input/action objMap meet the key * pressed. This is actually called from the keymap I believe. */ public static class DefaultKeyTypedAction extends RecordableTextAction { diff --git a/designer_base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextAreaUI.java b/designer_base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextAreaUI.java index 25142ce59c..1654b87fc1 100644 --- a/designer_base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextAreaUI.java +++ b/designer_base/src/com/fr/design/gui/syntax/ui/rtextarea/RTextAreaUI.java @@ -197,7 +197,7 @@ public class RTextAreaUI extends BasicTextAreaUI { /** - * Creates a default action map. This action map contains actions for all + * Creates a default action objMap. This action objMap contains actions for all * basic text area work - cut, copy, paste, select, caret motion, etc.

      * * This isn't named createActionMap() because there is a @@ -205,7 +205,7 @@ public class RTextAreaUI extends BasicTextAreaUI { * and some compilers will give warnings that we are not overriding that * method since it is package-private. * - * @return The action map. + * @return The action objMap. */ protected ActionMap createRTextAreaActionMap() { @@ -234,11 +234,11 @@ public class RTextAreaUI extends BasicTextAreaUI { /** - * Returns the name to use to cache/fetch the shared action map. This + * Returns the name to use to cache/fetch the shared action objMap. This * should be overridden by subclasses if the subclass has its own custom * editor kit to install, so its actions get picked up. * - * @return The name of the cached action map. + * @return The name of the cached action objMap. */ protected String getActionMapName() { return SHARED_ACTION_MAP_NAME; @@ -269,7 +269,7 @@ public class RTextAreaUI extends BasicTextAreaUI { /** - * Returns an action map to use by a text area.

      + * Returns an action objMap to use by a text area.

      * * This method is not named getActionMap() because there is * a package-private method in BasicTextAreaUI with that name. @@ -277,13 +277,13 @@ public class RTextAreaUI extends BasicTextAreaUI { * issue warnings that you are not actually overriding the original method * (since it is package-private). * - * @return The action map. + * @return The action objMap. * @see #createRTextAreaActionMap() */ private ActionMap getRTextAreaActionMap() { - // Get the UIManager-cached action map; if this is the first - // RTextArea created, create the action map and cache it. + // Get the UIManager-cached action objMap; if this is the first + // RTextArea created, create the action objMap and cache it. ActionMap map = (ActionMap)UIManager.get(getActionMapName()); if (map==null) { map = createRTextAreaActionMap(); @@ -386,7 +386,7 @@ public class RTextAreaUI extends BasicTextAreaUI { RTextArea textArea = getRTextArea(); // backward compatibility support... keymaps for the UI - // are now installed in the more friendly input map. + // are now installed in the more friendly input objMap. textArea.setKeymap(createKeymap()); // Since BasicTextUI.getInputMap() is package-private, instead use @@ -394,7 +394,7 @@ public class RTextAreaUI extends BasicTextAreaUI { InputMap map = getRTextAreaInputMap(); SwingUtilities.replaceUIInputMap(textArea,JComponent.WHEN_FOCUSED,map); - // Same thing here with action map. + // Same thing here with action objMap. ActionMap am = getRTextAreaActionMap(); if (am!=null) { SwingUtilities.replaceUIActionMap(textArea, am); diff --git a/designer_base/src/com/fr/design/layout/TableLayout.java b/designer_base/src/com/fr/design/layout/TableLayout.java index 322778a6ea..225c29dbec 100644 --- a/designer_base/src/com/fr/design/layout/TableLayout.java +++ b/designer_base/src/com/fr/design/layout/TableLayout.java @@ -383,7 +383,7 @@ public class TableLayout implements LayoutManager2, Serializable { protected void init(double[] col, double[] row) { // Check parameters if (col == null) - throw new IllegalArgumentException("Parameter col cannot be null"); + throw new IllegalArgumentException("Parameter objCollection cannot be null"); if (row == null) throw new IllegalArgumentException("Parameter row cannot be null"); diff --git a/designer_chart/src/com/fr/plugin/chart/DownloadOnlineSourcesHelper.java b/designer_chart/src/com/fr/plugin/chart/DownloadOnlineSourcesHelper.java index 19218d4802..d122320f7a 100644 --- a/designer_chart/src/com/fr/plugin/chart/DownloadOnlineSourcesHelper.java +++ b/designer_chart/src/com/fr/plugin/chart/DownloadOnlineSourcesHelper.java @@ -57,7 +57,7 @@ public class DownloadOnlineSourcesHelper implements DownloadSourcesEvent { private static final double MAP_JSON_MB = 3.8 * 1024 * 1024; public void addMapJSONSiteInfo() { - this.addSiteInfo("map.json", "/assets/map", MAP_JSON_MB); + this.addSiteInfo("objMap.json", "/assets/objMap", MAP_JSON_MB); } public void addSiteInfo(String siteKind, String localDir, double megaBits) { diff --git a/designer_chart/src/com/fr/plugin/chart/map/server/ChartMapEditorAction.java b/designer_chart/src/com/fr/plugin/chart/map/server/ChartMapEditorAction.java index b22b3f5be6..567d62b0f4 100644 --- a/designer_chart/src/com/fr/plugin/chart/map/server/ChartMapEditorAction.java +++ b/designer_chart/src/com/fr/plugin/chart/map/server/ChartMapEditorAction.java @@ -27,7 +27,7 @@ public class ChartMapEditorAction extends UpdateAction { String web = GeneralContext.getCurrentAppNameOfEnv(); String serverlet = ConfigManager.getProviderInstance().getServletMapping(); Env env = FRContext.getCurrentEnv(); - StartServer.browserURLWithLocalEnv(env.isLocalEnv() ? String.format("http://localhost:%d/%s/%s?op=map", port, web, serverlet) : env.getPath() + "?op=map"); + StartServer.browserURLWithLocalEnv(env.isLocalEnv() ? String.format("http://localhost:%d/%s/%s?op=objMap", port, web, serverlet) : env.getPath() + "?op=objMap"); } }