OMNeT++/OMNEST Bug Tracker - OMNeT++
View Issue Details
0000540OMNeT++IDE / NED editorpublic2012-02-21 06:502012-02-21 06:50
michael 
 
normalfeaturehave not tried
newopen 
4.2.1 
 
0000540: Make the type string definitions jumpable
It would be nice if the string definitions for like-types would be jumpable (jump to definition) by mouse click and CTRL button.

example:
module WirelessNodeNetwl
{
    parameters:
        string networkType = default("BaseNetwLayer"); //type of the network layer
        string mobilityType = default("ConstSpeedMobility"); //type of the mobility module
        string arpType = default("BaseArp"); //type of address resolution module
        string nicType;
        @display("bgb=210,450,white;i=device/palm;b=40,40,rect");

    gates:
        input radioIn; // gate for sendDirect

    submodules:
        arp: <arpType> like IBaseArp {
                @display("p=140,100;i=block/network2");
        }
        mobility: <mobilityType> like IMobility {
            parameters:
                @display("p=140,30;i=block/cogwheel");
        }
        nic: <nicType> like IWirelessNicUpperCtrl {
            parameters:
                @display("p=70,380;i=block/wrxtx,#008000");
        }
        // OSI network layer
        netwl: <networkType> like IBaseNetwLayer {
            parameters:
                @display("p=70,310;i=block/layer");
        }
    
    connections allowunconnected:
        nic.upperLayerOut --> netwl.lowerLayerIn;
        nic.upperLayerIn <-- netwl.lowerLayerOut;
        nic.upperControlOut --> { @display("ls=red;m=m,70,0,70,0"); } --> netwl.lowerControlIn;
        nic.upperControlIn <-- { @display("ls=red;m=m,70,0,70,0"); } <-- netwl.lowerControlOut;

        radioIn --> nic.radioIn;
}

what I mean is that

string networkType = default("BaseNetwLayer");

CTRL-LeftMouseButton does not work on BaseNetwLayer.
No tags attached.
Issue History
2012-02-21 06:50michaelNew Issue

There are no notes attached to this issue.