IWDRoadMap - length of connecting lines

Hello,
I use Web Dynpro for Java and want to change the length of connecting lines between the steps (IWDRoadMapStep) in a RoadMap (IWDRoadMap). Unfortunately I have no idea how to do this?!?
I would be very glad if someone could give me a hint.
Best regards,
Christian

The API does not seem to allow this.
If you don't need the description text (IWDRoadMapStep.description), you can set this property to a long string of spaces, which might give the desired effect.
But: This is only a totally crappy workaround.
Armin

Similar Messages

  • Connecting lines in JTree

    Hi,
    I have a JTree with each node having bigger icons, and bigger font.
    So the connecting lines are kind of misplaced
    for example the vertical line that connect the root node to it's children doesn't come from the center of the root node rather it is placed leftwards from the root node center.
    Is it possible to shift the connecting lines in a JTree?
    Thanks
    -desiguy

    import java.awt.*;
    import java.awt.geom.AffineTransform;
    import java.awt.image.BufferedImage;
    import javax.swing.*;
    import javax.swing.plaf.*;
    import javax.swing.tree.*;
    public class TreeLines {
        private Icon[] getScaledIcons(Component c) {
            String[] iconIds = { "closed", "collapsed", "expanded", "leaf", "open" };
            Icon[] icons = new Icon[iconIds.length];
            for(int j = 0; j < icons.length; j++) {
                icons[j] = UIManager.getIcon("Tree." + iconIds[j] + "Icon");
            ImageIcon[] imageIcons = new ImageIcon[icons.length];
            double scale = 1.25;
            for(int j = 0; j < icons.length; j++) {
                int w = (int)(scale * icons[j].getIconWidth());
                int h = (int)(scale * icons[j].getIconHeight());
                int type = BufferedImage.TYPE_INT_ARGB_PRE;
                BufferedImage image = new BufferedImage(w, h, type);
                Graphics2D g2 = image.createGraphics();
                g2.setRenderingHint(RenderingHints.KEY_INTERPOLATION,
                                    RenderingHints.VALUE_INTERPOLATION_BICUBIC);
                AffineTransform at = AffineTransform.getScaleInstance(scale, scale);
                g2.setTransform(at);
                icons[j].paintIcon(c, g2, 0, 0);
                g2.dispose();
                imageIcons[j] = new ImageIcon(image);
            //JOptionPane.showMessageDialog(null, imageIcons, "", JOptionPane.PLAIN_MESSAGE);
            //JOptionPane.showMessageDialog(null, icons, "", JOptionPane.PLAIN_MESSAGE);
              return imageIcons;
        private void expandTree(JTree tree)
            DefaultMutableTreeNode root = (DefaultMutableTreeNode)tree.getModel().getRoot();
            java.util.Enumeration e = root.breadthFirstEnumeration();
            while(e.hasMoreElements())
                DefaultMutableTreeNode node = (DefaultMutableTreeNode)e.nextElement();
                if(node.isLeaf()) break;
                int row = tree.getRowForPath(new TreePath(node.getPath()));
                tree.expandRow(row);
        private JScrollPane getContent() {
            JTree tree = new JTree();
            expandTree(tree);
            return new JScrollPane(tree);
        public static void main(String[] args) {
            TreeLines treeLines = new TreeLines();
            Icon[] icons = treeLines.launchDialog();
            UIManager.put("Tree.closedIcon",    new IconUIResource(icons[0]));
            UIManager.put("Tree.collapsedIcon", new IconUIResource(icons[1]));
            UIManager.put("Tree.expandedIcon",  new IconUIResource(icons[2]));
            UIManager.put("Tree.leafIcon",      new IconUIResource(icons[3]));
            UIManager.put("Tree.openIcon",      new IconUIResource(icons[4]));
            UIManager.put("Tree.font", new FontUIResource(
                                       new Font("Dialog", Font.PLAIN, 18)));
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(treeLines.getContent());
            f.setSize(400,400);
            f.setLocation(200,200);
            f.setVisible(true);
        /** To get and scale some images to use. */
        private Icon[] launchDialog() {
            JTree tree = new JTree();
            JDialog d = new JDialog(new JFrame(), false);
            d.getContentPane().add(tree);
            d.pack();
            Icon[] icons = getScaledIcons(tree);
            d.dispose();
            return icons;
    }

  • How can I change the length of multiple lines at the same time?

    This just seems like it should be a no-brainer, but obviously for me it isn't.  I'm trying to change the length of multiple lines, that are at different angles, at the same time, in CS4.  Basically, I design the face of dials used for airplane instrument gauges (like RPM, Torque, etc), and they have gradiation marks (lines) located all around, similar what a clock looks like with the hour and minute gradiation marks (lines).  Is there a way to select all the lines, that I know are the same length, and change it to a different length, that's accurate to the 1/100th of an inch?  It would just be like selecting multiple lines that have all the same stroke, then using the stroke box to change the stroke weight from .025in to .030in.
    I've used the transform box to change the 'height' of a line before, but the line has to be at 90 degrees (straight up and down), and that won't work for the lines that are at, say, a 45 degree angle.
    I hope i'm explaining this in a way that someone will understand. If not, I can sure try to clarify more, or insert the picture so you could see what i'm talking about.
    Thanks for any help you can give!

    OK, after fiddling around with everyone's ideas, I think I finally got it. I knew there had to be something with proportions between W and H, but couldn't figure out the math, until Jacob answered with:
    "If each line must be strecthed from the inner/outer end, you may select each and use the Transform palette, choosing the right Reference Point, multiplying by the proportion in W or H (1.75/1.5), and Ctrl/Cmd clicking."
    Now, I basically did everything above, (but I couldn't figure out what you were talking about with the Ctrl Clicking thing), except after figuring out the right proportion (which ends up being so small you guys would die if I told you the number; the numbers I gave earlier were just an example and much larger than what i'm really working with) I just clicked the little chain next to the W and H boxes to constrain the proportions. I then put the new number (multiplied proportion by whatever was in W) in the W box. The line lengthened perfectly toward the center of the dial, keeping the correct angle!
    And Harron-Thanks for the link to Teri's, It is going to help with some things I do, but most of the dials I design don't have equal distances between each gradiation mark, and the blueprints I work off of usually have exactly what distances that the grad. marks are supposed to be. So, after selecting one of my grad marks that is already at it's correct place, I then use the rotate tool and Alt-Clicking the very center of the dial, I can then put in exactly what distance I want the next grad. mark to be at, I hit copy (instead of OK) and there will be a new grad. mark exactly the correct distance from my original. Then if I want to have the 3rd grad. mark I just hit Ctrl-D and it will copy another mark to the next position. I don't know if you necessarily wanted to know all that, but i thought i'd explain why I like doing it that way.
    A BIG thanks to everyone! I'm really a AI newbie and am the only one at my company that knows how to use it, so I don't have anyone close to ask stupid questions to. So I appreciate all your help!

  • How do I get Connection Line to show up in Pages

    How do I open Connection Line in Pages. It is grayed out in my menu. Thank you!

    As Jerry says:
    Click on (only) 2 floating objects at a time. It sounds like you have more than 2 selected, otherwise you would not even see thee the menu option.
    Peter

  • How to calculate the total  length of a Line

    Hi,
    We are using Mapviewer for representing for spatial data in form of a Image .
    We are using Mapviwer.addLinearFeaure for drawing lines on the Image( browser)
    Thsese lines are drawn .
    Now our requirement is we need to calculate the length of the lines in our Image .Please tell me how to do this .
    Thanks in advance
    Edited by: user672373773 on Nov 11, 2009 9:11 AM

    You can do this by two ways.
    1) create SDO_GEOMETRY from your coordinates and use SDO_GEOM.SDO_LENGTH to get length of the line.
    Or
    2) iterate your line points coordinate array and calculate distance between points add it to final length.
    Here is snippet to calculate length of line (not tested)
    length = 0;
    for( i=0; i<coordpts.length-2; i++) {
    length = length + getDistance(coordpts[0], coordpts[1]);
    to calculate distance between 2 points use below code (getDistance() source code)
    double dblDistance = Math.sqrt(Math.pow((dblPt2[0] - dblPt1[0]), 2) + Math.pow((dblPt2[1] - dblPt1[1]), 2));
    In both case you need to convert screen coordinate to map coordinate.
    Sujnan

  • How to determine the length of a line of text in a multi line text control

    I am working on a simple widget to compare two snippets of text.  The string controls are side by side with a colum of square bools in between
    the two string controls.
    The Bools line up with the lines of text in each string control.  The Bools are used as a quick indicator that at that line point there is a difference
    between the two string controls.
     There is a slider that allows the user to scroll up and down,  the slider scrolls both string controls simutaneously.
    As the string controls are scrolled I will be comparing the left and right lines of text and reflecting the match status in the Bool Colum.
    The reason I need to know the length of the line of text is so each line can be compared against one another.  It is not as simple as counting the
    col width of the string control and parsing the text because if there is a line return the text will word wrap before before it extends all the way accross the string control, which will cause parsing discrepencies.
    Any suggestions on obtaining the multi line string control text character length would be much appreciated.
    Best Regards
    Tim C. 
    1:30 Seconds ARRRGHHH!!!! I want my popcorn NOW! Isn't there anything faster than a microwave!

    Front panel of widget....
    1:30 Seconds ARRRGHHH!!!! I want my popcorn NOW! Isn't there anything faster than a microwave!
    Attachments:
    One.vi ‏27 KB

  • Bubble chart with connecting line

    Hi All,
    Is there a way we can create bubble chart with connecting line.The bubble chart has only two measure, horizontal and size of bubble connected by lines. I am not able to find this kind of chart.Is there a way for similar chart?
    I am showing the chart in this link.
    http://imageshack.us/photo/my-images/689/bubblewv.png/
    Thanks,
    Vishal
    Edited by: 872073 on Sep 27, 2012 7:20 AM

    I need to make an assumption to answer your question:  I need to assume that you are getting your data with a query similar to:
    select DoW, Part, sum(qty) as Count
    from sales
    group by DoW, Part
    Change that to...
    select DoW, Part, sum(qty) as Count
    from sales
    group by DoW, Part
    UNION ALL
    select distinct "Target" as DoW, Part, 50 as Count
    from sales
    That will feed the target into the cross tab, which will create an additional column, Target, with the value 50 for all parts.  If the target is for the day, not part, then you would UNION
    select distinct DoW, "Target" as Part, 50 as Count
    from sales
    which would give you an additional row with the constant target value of 50.
    HTH,
    Carl
    P.S.,  There might be (probably is) better tables to use as the FROM table for the target SELECT.  I wanted to keep things simple...

  • JTree display: vertical connecting lines missing

    My JTree uses a subclass of TreeModel to display the contents of a DOM tree and to allow modifications on this tree. I've got a problem with the rendering of the tree: the vertical connecting lines don't show.. (also there seems to be problems with the refreshing of the tree display, even though TreeModelEvents are fired properly, but it might not be related.)
    The problem originates from the TreeModel subclass (other models worked fine), but I can't tell what exactly in the class causes it. I've tried to remove code, etc.. with no effect.
    Has anyone encountered something similar?
    Thanks in advance.
    Simon

    yeah... that's common in jtrees that do not refresh well... you know that something is wrong when the lines have dissappeared.
    when i encountered this problem what i did was to copy the lines from DefaultTreeModel sourcecode where the model is refreshed into my code... that worked fine for me...

  • Multiple Connection Lines

    Hi, I'm using Pages '09 to create a document for work. I know how to add a connection line to an object, and have done so succesfully. However, I want to add another line so I get a circualrly dependent image, a bit like this:
    However, after I insert one connection line, I can no longer add a second one to my two shapes. Is there a way to do this, and if not, what would be thebest way of getting around the issue?

    What is happening when you can't add a second one. How did you create the first one.
    I used  two circles and the Bezion tool, the bottom one that Peter talks about.

  • What are "Connection Lines"?

    The menu option, Insert>Connection Line always seems to be grayed-out. I haven't found any reference to this feature in the help file.What I'm seeking is a way to draw a line between some text in a text box and a cell in a table on the same page?
    Does anyone know what "Connection Line" is and under what conditions it is enabled? More importantly, is there a way to draw a line as described above?
    Thank you for the help.

    Connection lines are between text boxes and are only available in master layouts.
    Read: Publishing with iBooks Author, by O'Reilly press for a detailed info. It's free.
    http://shop.oreilly.com/product/0636920025597.do?sortby=publicationDate
    - Fabe

  • Connecting lines missing from binary TOC

    Hello!
    Hope you can help me...I'm using X5.
    My problem is that I lose the connecting lines between the
    square/minus boxes in the TOC when I select binary.
    Is there a way to have both?
    Thanks much, Deb

    Welcome to our community, Deb
    It is my understanding that if you enable the Binary TOC,
    none of the styling attributes will have any effect.
    Unless Pete Lees steps in here to set us straight and advise
    I'm wrong in my assumption, I'm going to say we just can't have our
    cake and Edith too.
    Seems lots of things in life are a trade off, eh? Want
    something over here? You have to give up something over there.
    Cheers... Rick

  • Action: can a Connection Line follow the moving objects

    Dear members of this forum,
    I am currently discovering the possibilities of Apple Keynote, and I find it very interesting. I just registered and would like to ask my first question.
    Using "Connection Line" I can connect two objects (like two rectangles), and in this way, I can move these objects when changing my slide without worrying about the line ending up in the wrong place.
    But what if I want to use animations and let those objects move during the presentation? I cannot find any way to force Keynote to make the endpoints move along?
    Do you have any suggestions?
    Many thanks!

    Seems my last post got cut off at the bottom. Here is the rest:
    When you select the second action, you will get the option to have it happen Automatically with build 1. Then do the same for the third action. The result will be all three objects moving at the same time to where ever you told them to move to.
    As for grouping two objects and a connecting line, I don't think that you can do that within Keynote. What you can do though is select all three objects and copy them. Then open Preview and command n +(or File>Get new from Clipboard)+, copy and paste back into Keynote. Basically it turns the three individual objects into one pasted .pdf. The problem is you can not edit each individual object then. The plus size is it allows you to add a scale action along with the move if you want and you don't have to worry about the connecting line not connecting anymore.

  • How to use magic move with connection lines?

    When I use magic move with connection lines, they disappear and reappear in the next slide. It seems like magic move doesn't recognize the connection lines (or can't match them), so it just redraws them, instead of leaving them there.
    I'm trying to use magic move to make a nice presentation that includes connection lines. How can I make without the lines disappearing every time something moves?

    Group the shapes and connection line together:
    select the objects then Arrange > Group (alt Command G)

  • How do you draw connecting lines in Pages?

    I'm trying to draw an exercise: connect the nine dots. I can get the dots—but can't connect them!!
    Any ideas?? (I know HOW to connect them, but can't get the lines.)
    Thanks

    Patti1 wrote:
    I used the line tool, but can't make it work!!
    Clicking the line tool at the bottom of the Shapes button menu brings up the grey box shown above.
    Following those instructions to draw the three connected line segments shown:
    Place the mouse pointer (pen nib) at point 1. Click (and release).
    Move the pointer to point 2. Click (and release).
    Move the pointer to point 3. Click (and release).
    Move the pointer to point 4. Click (and release).
    Press the esc(ape) key.
    Done.
    My guess is that you either missed the 'and release' part or the 'press escape to finish' part.
    Regards,
    Barry

  • Setting specific length for a line

    I'm looking for a way to enter an exact length for a line. Also, exact dimensions for a rectangle.
    I'm assuming there's a 'Properties' window or something that has the shape's properties, but I'm not seeing anything. I've searched the help site, but not seeing anything there either.
    Any assistance would be greatly appreciated.
    doug

    Look for the little downturned arrow in the tool options bar for more options for the different shape tools.
    I don't know that you can set a fixed length for the Line Tool, but could use the rectangle tool for a fixed line length.

Maybe you are looking for

  • Macbook pro (snow leopard) will not boot after software update

    I helped my mom buy a Macbook Pro for herself for Christmas. Today, I connected it to her old eMac and used the migration assistant to transfer files over. It was unable to estimate migration time on the only user (after 45 minutes) so I didn't migra

  • Someone tell me why it isnt working, please!

    i just need someone to say "put whatsamajigger here and it'll all be okay" so if someone could tell me what whatsamajigger is and where it goes i'll be soo greatfull! import java.awt.*; import javax.swing.*; import java.io.*; import java.awt.*; impor

  • FAN switchon on all the times

    him is it possible to disable this annoying fan in thinkpad yoga switching on all the times? why macbook air has no fan and you made a computer with fan?

  • Status bar removal...

         In the past when streaming movies and TV shows, when advancing to full screen mode, a black status bar with the site address appears atop the online video controls obscuring their view and use. To access the pause button and other options, I mus

  • Relationship between sales standard order u2013 Purchase order u2013 Sales Invoice

    In the function screen u2018Document flowu2019, I see the relationship between the sales standard order, purchase order of material and the sales invoice this material. In the table VBFA, it exists the relationships between the Sales Standard Order u