Skip to content
Snippets Groups Projects
Commit be34cf3b authored by apvrille's avatar apvrille
Browse files

Update on periodic model

parent f7f46f7c
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@
<property name="caretWidth" class="java.lang.Integer" />
</properties>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="false" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="false" project-jdk-name="1.7" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build" />
</component>
</project>
\ No newline at end of file
This diff is collapsed.
......@@ -64,6 +64,8 @@ import java.awt.event.ActionListener;
* @version 1.0 20/04/2010
*/
public class AvatarRDRequirement extends TGCScalableWithInternalComponent implements WithAttributes, TGAutoAdjust {
public static int SIZE_LIMIT = 35;
public String oldValue;
protected int textX = 5;
protected int textY = 22;
......@@ -568,6 +570,10 @@ public class AvatarRDRequirement extends TGCScalableWithInternalComponent implem
ret += " " + text;
ret += " criticality=" + criticality;
if (SIZE_LIMIT > 0) {
ret = ret.substring(0, SIZE_LIMIT) + "...";
}
return ret;
}
......
......@@ -95,7 +95,14 @@ public class JDialogTMLCompositePort extends JDialogBase implements ActionListen
private JTextField lossPercentageText, maxNbOfLossText;
public JDialogTMLCompositePort(String _name, int _portIndex, TType _type1, TType _type2, TType _type3, TType _type4, TType _type5, boolean _isOrigin, boolean _isFinite, boolean _isBlocking, String _maxInFIFO, String _widthSamples, boolean _isLossy, int _lossPercentage, int _maxNbOfLoss, Frame f, String title, Vector<String> _types, String _dataFlowType, String _associatedEvent, boolean _isPrex, boolean _isPostex, boolean _checkConf, boolean _checkAuth, TGComponent _reference, Vector<TGComponent> _refs) {
public JDialogTMLCompositePort(String _name, int _portIndex, TType _type1, TType _type2, TType _type3, TType _type4,
TType _type5, boolean _isOrigin, boolean _isFinite, boolean _isBlocking,
String _maxInFIFO, String _widthSamples, boolean _isLossy,
int _lossPercentage, int _maxNbOfLoss, Frame f,
String title, Vector<String> _types,
String _dataFlowType, String _associatedEvent, boolean _isPrex,
boolean _isPostex, boolean _checkConf,
boolean _checkAuth, TGComponent _reference, Vector<TGComponent> _refs) {
super(f, title, true);
frame = f;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment