Commit 96e42843 authored by Nico Mack's avatar Nico Mack

Moved onPositionChanged literal in dedicted CpsSignature Properties file

parent 955abdb6
ON_POSITION_CHANGED=onPositionChanged
\ No newline at end of file
/**
* Copyright Luxembourg Institute of Science and Technology, 2016.
*
* This file is part of TULIP.
*
* TULIP is licensed under a dual-licensing scheme. For non-commercial purposes, the LGPL version 3,
* as stated below, is applicable. For all commercial purposes TULIP is licensed under a LIST
* proprietary license. Please contact LIST at tto@list.lu to obtain a commercial license.
*
* For all non-commercial purposes, TULIP is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by the Free Software
* Foundation, version 3 of the License.
*
* TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
* General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License along with TULIP. If
* not, see <http://www.gnu.org/licenses/lgpl-3.0.html>.
*/
package lu.list.itis.dkd.tui.utility;
import org.eclipse.osgi.util.NLS;
/**
* Auto-generated class for string externalization to be used to bundle all node names.
*
* @author Eric Tobias [eric.tobias@list.lu]
* @since 2.2
* @version 2.5.0
*/
@SuppressWarnings({"javadoc", "squid:S3008"})
public class CpsSignature extends NLS {
private static final String BUNDLE_NAME = "CpsSignature"; //$NON-NLS-1$
public static String ON_POSITION_CHANGED;
static {
// initialize resource bundle
NLS.initializeMessages(BUNDLE_NAME, CpsSignature.class);
}
private CpsSignature() {}
}
\ No newline at end of file
......@@ -7,6 +7,7 @@ import lu.list.itis.dkd.tui.event.conditional.Condition;
import lu.list.itis.dkd.tui.event.conditional.Conditional;
import lu.list.itis.dkd.tui.event.interaction.Interaction;
import lu.list.itis.dkd.tui.utility.AngleUtils;
import lu.list.itis.dkd.tui.utility.CpsSignature;
import lu.list.itis.dkd.tui.utility.Point;
import lu.list.itis.dkd.tui.utility.ValueRange;
import lu.list.itis.dkd.tui.utility.selection.SelectionGroup;
......@@ -51,7 +52,7 @@ public class SelectorWidget extends ValueWidget {
public static final int NONE = -1;
private static final Interaction ON_POSITION_CHANGE = new Interaction("onPositionChanged");
private static final Interaction ON_POSITION_CHANGE = new Interaction(CpsSignature.ON_POSITION_CHANGED);
private static final Logger LOGGER = LoggerFactory.getLogger(SelectorWidget.class.getSimpleName());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment