Way to draw Class and Sequence Diagrams in JDEV

Hi All,
I am new to JDeveloper. I am using JDev - 10.1.3.3.
Can anyone suggest me an example to draw Sequence and Class Diagrams in JDEV
Thanks

Maybe the online help can help you then:
http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3/state/content/navId.4/navSetId._/vtTopicFile.umlmodeling%7Cumlmodeling%7Cmod_umlclassmodeling%7Ehtml/
Or watch these 10.1.2 demos that also apply to 10.1.3:
http://www.oracle.com/technology/products/jdev/viewlets/10g/UML_Class_10g_final_viewlet_swf.html

Similar Messages

  • Drawing class and package

    My program is about drawing class diagram,package,object and interface�
    I have just done only for package and class diagram
    When I click on the classdiagram icon from my toolbox, it draws a class diagram,but when I then click on the package icon, a package is drawn but the class diagram disappears�..and when I then click again on the classdiagram icon, the package disappears and the previous class diagram reappears,,,,so why??/
    What is the problem?? Is it wiz the viewport??? How can I draw both a class and a package�
    IN MY MAIN MENU I INCLUDE THIS CODE:
    public MainMenu (String title,ProjectDoc doc) {
         super (title,null);
         setResizable(true);
         doc = new ProjectDoc(this);
         this.doc = doc;
         classView = new ClassView(doc,this);
         packageView = new PackageView(doc,this);
              Container content = getContentPane();
        content.setLayout(new BorderLayout());
        JToolBar toolBar = new JToolBar();
        content.add (toolBar, BorderLayout.NORTH);
         classView.setPreferredSize (new Dimension(6000,3500));
         packageView.setPreferredSize(new Dimension(6000,3500));
        drawingPane = new JScrollPane (
                       ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS,
                       ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS);
        drawingPane.setViewportView(classView);
      drawingPane.setViewportView(packageView);plzzz help me it is very urgent

    Hi,
    call chapter4.Drawing.class
    <applet code="chapter4.Drawing.class" width="100"
    height="100"> </applet>Regards,
    Ram

  • UML:  Reverse engineering and sequence diagram

    Hello,
    I would like to know if anybody knows a tool which can reverse a java application and return its sequences diagram. I know that Rational Rose and Together haven't such functions, they can only return the static view af an application (class diagrams). I need a tool like this to document some of my applications.
    Thanks for your response,
    Manu.

    Hello,
    I would like to know if anybody knows a tool which can
    reverse a java application and return its sequences
    diagram. I know that Rational Rose and Together
    haven't such functions, they can only return the
    static view af an application (class diagrams). I need
    a tool like this to document some of my applications.Together 6.0 can build Sequense diagram

  • How to create Sequence Diagrams in Jdev 10.1.3?

    Hi there,
    I´m migrating (trying) from Eclipse to JDeveloper and I´m having several dificulties....
    I´m creating a new project in JDeveloper:
    0) create an application workspace [ok]
    1) create a web application project [ok]
    2) create some packages and Java classes [ok]
    3) create a class diagram related to the
    above classes [ok]
    4) create a sequence diagram [ok]
    5) use the classes into the sequence
    diagram [more and less]
    6) use the methods of the classes into
    the message lines of the sequence
    diagram [no]
    Some observations that are messing me:
    1) Do I need to create an "Object Lifetime" for
    every class and after that select "Attach Classifier" ?? Why I can´t just drag the classes into the diagram (like Jude) ?
    2) Can I use the methods already defined in the classes to create messages in the sequence diagram?
    3) The sequence diagram od JDeveloper is disconnected from the project classes? i.e., is it just a draw ?
    best regards,
    Felipe Gaúcho

    Hi,
    I am glad to find that you are working on the sequence diagram. I take your point about selecting the methods and assigning them to the messages. Unfortunately this feature is gated by some architecture changes and it something I will be actively pursuing as soon as it is possible.
    In reply to your other points:
    1) Do I need to create an "Object Lifetime" for
    every class and after that select "Attach Classifier" ?? > Why I can´t just drag the classes into the diagram (like > Jude) ?The reason for this is that the sequence modeler is simply a view onto a single diagram type that can contain any object. This allows the mingling of different UML type on the same diagram. It can be usefull to mix usecase and seqeunce for example.
    For that reason the default action for java class is to model a java class, and you do indeed need to create a lifeline first. Did you know you could drag and drop the classifier, in your case a java class, from the navigator onto the lifeline. This might be quicker in your case.
    2) Can I use the methods already defined in the classes > to create messages in the sequence diagram?As noted before in the preview you can't select existing messages. This is something we would like to add as soon as it is possible.
    3) The sequence diagram od JDeveloper is disconnected
    from the project classes? i.e., is it just a draw ?The sequence modeler isn't totally disconnected from the project classes; but it wont update as you edit the code if this is what you mean.
    Could you perhaps expand on this point a little bit?
    Thanks,
    Gerard Davison
    UML Modelers

  • What is the best way to match clip and sequence settings for real-time editing?

    I am a long time FCP user and trying to make the After Effects workflow a little smoother by utilizing the Adobe suite.
    One of the most valuable things I miss about FCP is that when I drop a clip in a blank sequence (no matter what the settings of the seq) it will ask if I want to match the settings of the clip. This ensures that no rendering is required to quickly edit the video in real-time.
    Is there a plugin or function in Premiere CS4 that I am missing that will afford me this feature? Currently i am doing everything I can to match the clip settings when creating a sequence, but sadly i'm still having to render the timeline to preview the edit.
    lh

    And in CS4, if there is not a matching Preset, you can choose the Desktop Preset, which will allow you to customize nearly every attribute to match your source footage. The name is a bit of a misnomer, but has been around for a long time. I would have called it the "Custom Preset," but Adobe never called.
    Good luck,
    Hunt
    PS - I just learned something new about CS5 from Curt, because of your question - thanks!

  • Drawing a chart or diagram

    I'm new to drawing with Java. What I would like to do is draw an event sequence diagram. Basically, a list of endpoints at the top of the diagram, a vertical line below each endpoint, and lines that connect the endpoints in a sequence. I know I'll need to use Graphics and Graphics2D, but I'm not sure where to start.
    Anyone have any tips or good references that do something like this?
    Thanks.

    import java.awt.*;
    import java.awt.geom.*;
    import java.util.*;
    import java.util.List;
    import javax.swing.*;
    public class PlotThis
        public PlotThis()
            float[] data = {
                100f, 220f, 12.9f, 65f, 47.3f, 175f, 190f, -18f
            Plotter plotter = new Plotter();
            for(float f : data)
                plotter.plot(f);
            JFrame f = new JFrame("Plot +/- Float Values");
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.add(plotter);
            f.pack();
            f.setLocationRelativeTo(null);
            f.setVisible(true);
        public static void main(String[] args)
            new PlotThis();
    class Plotter extends JPanel
        final float PAD = 25;
        List<Float> dataList;
        public Plotter()
            dataList = new ArrayList<Float>();
            setBackground(Color.white);
            setPreferredSize(new Dimension(400,300));
        public void paintComponent(Graphics g)
            super.paintComponent(g);
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                                RenderingHints.VALUE_ANTIALIAS_ON);
            float width = getWidth();
            float height = getHeight();
            float xStep = (width - 2*PAD)/(dataList.size() - 1);
            float x = PAD;
            float y;
            // scale data
            float max = Collections.max(dataList);
            float min = Collections.min(dataList);
            float vertSpace = height - 2*PAD;
            float yOffset = height - PAD;
            float yDataOffset = (min >= 0 ? min : max > 0 ? 0 : max);
            float scale = vertSpace/(max - min);
            float yOrigin = yOffset +
                                (min > 0 ? 0 : max > 0 ? scale*min : - vertSpace);
            // draw ordinate
            g2.draw(new Line2D.Float(PAD, PAD, PAD, yOffset));
            // draw abcissa
            g2.draw(new Line2D.Float(PAD, yOrigin, width - PAD, yOrigin));
            // label ordinate limits
            g2.drawString(String.valueOf(max), 10, PAD - 10);
            g2.drawString(String.valueOf(min), 10, yOffset + PAD*2/3);
            float lastX = 0, lastY = 0;
            for(int j = 0; j < dataList.size(); j++)
                y = yOrigin - scale * (dataList.get(j) - yDataOffset);
                g2.setPaint(Color.red);
                g2.draw(new Ellipse2D.Float(x - 2, y - 2, 4, 4));
                if( j > 0)
                    g2.setPaint(Color.black);
                    g2.draw(new Line2D.Float(lastX, lastY, x, y));
                lastX = x;
                lastY = y;
                x += xStep;
        protected void plot(float input)
            dataList.add(input);
            repaint();
    }

  • Creating UML sequence diagrams using UML Modeler

    Has anyone tried to generate UML sequence diagrams using JDev's Modeler utility. Is there a workaround for creating sequence diagrams. Does Oracle have an very near-term plans for supporting sequence diagrams.
    Thank you.
    Antonio

    While I've done a bit of work with UML, I'm by no means an expert, so this may be a dumb question...
    Isn't the point of UML (and other modeling languages) to abstract the design of a system away from the implementation? I'm hard pressed to think of a situation where a UML diagram would change based on the language chosen for implementation.
    Justin

  • Oracle UML Sequence Diagram

    hi all
    Is there any way to UML generate sequence diagram in JDev 11R2 .
    Thank you for your time.

    Yes, with the Studio edition.
    File->New. Choose the "All technologies" tab, General, Diagrams, Sequence Diagram

  • UML Modeling for Class calling another class in Class Diagram and Sequence

    In my application, business delegate is calling Session Facade through business interface. Session Facade is implementing business interface which includes my application business processes.
    In my class diagram, I am showing business delegate, business interface and Session Facade.
    What kind of relationship should be shown between
    1. business delegate and business interface
    2. business delegate and Sesion Facade
    I am not very sure wthether relationship mentioned above are really need to show.
    What should be calling sequence in sequence diagram. Do I really need to show business interface in callling sequence of sequence diagram or I can show business delegate is calling directly to Session Facade.
    Thanks
    San

    In my application, business delegate is calling
    Session Facade through business interface. The delegate is interacting with what exactly when you say "through"?
    If the delegate uses an interface then there is an association.
    If it is getting an interface implementation from some other object then there is an association there.
    Given the above then there is no relationship between the implementation of a interface and the delegate however.
    Session Facade is implementing business interface which
    includes my application business processes.The implementation would have associations to the objects that it is providing a facade for.

  • UML Sequence diagram and class diagram

    Making UML sequence diagram I didn't put activation rectangle in first object(UI) assuming that this object is always active. Is this correct? Not according to my tutor and I have to quote him:
    "Finally, you have no activation rectangle for the userInterface instance, so the initial message could never have been sent."
    Another thing he is picking me at is and I'm quoting him:
    "In class diagram the generalisation arrow heads should be open triangles."
    In my opinion there isn't strictly said that they must be open triangles especially when software lets you choose their form. Looking forward to hear your opinions.
    Thanks for answers.

    atch7 wrote:
    Making UML sequence diagram I didn't put activation rectangle in first object(UI) assuming that this object is always active. Is this correct? Not according to my tutor and I have to quote him:
    "Finally, you have no activation rectangle for the userInterface instance, so the initial message could never have been sent."
    Another thing he is picking me at is and I'm quoting him:
    "In class diagram the generalisation arrow heads should be open triangles."
    In my opinion there isn't strictly said that they must be open triangles especially when software lets you choose their form. Looking forward to hear your opinions.
    My opinion is that in the real world that is meaningless. In the real world you might encounter one or more of the following situations.
    - There is no UML diagrams at all (thus whether one is active or not is moot.)
    - The UML diagrams are very high level and intended merely as a starting point. Missing details does not mean that you are free to ignore that the system must still run when you are done with it.
    - You will use a UML design tool that generates code, and you fill in blocks within it. Then of course details in the UML will matter. The chance that you will actually encounter this situation is almost zero. Realistically the only real place you might encounter this is if your work for a company that produces UML design tools.

  • How to use a method in sequence diagram from a class diagram

    Hello, can someone tell me how to use the method from class diagram in sequence diagram? so far i only can add a classifier to the object lifeline but i still cannot add the method from the class...
    thx

    Now that Web Services is around, I'd look at possibly implement a Web Service call in your applet, which can then be given back any object(s) on return. Set up your server side to handle Web Service calls. In this way, you can break the applet out into an application should you want to (with very little work) and it will still function the same

  • How to draw class diagram in Visio 2013

    Hi All,
    Recently, I purchase a Visio 2013 Pro. I have used Visio 2010 before. In Visio 2013,
    Compared with Visio 2010, There are BIG changes in Visio 2013. I have several questions for Visio 2013.
    1. I don't know how to set in/out parameter in Visio 2013 class diagram.
    2. How to set parameter type(such as Int/String) in Visio 2013?
    3. How to add Method for a Class and set its parameters?
    And so on.
    Thank You.
    The future belongs to those who believe in the beauty of their dreams.

    Hi All,
    Recently, I purchase a Visio 2013 Pro. I have used Visio 2010 before. In Visio 2013,
    Compared with Visio 2010, There are BIG changes in Visio 2013. I have several questions for Visio 2013.
    1. I don't know how to set in/out parameter in Visio 2013 class diagram.
    2. How to set parameter type(such as Int/String) in Visio 2013?
    3. How to add Method for a Class and set its parameters?
    And so on.
    Thank You.
    The future belongs to those who believe in the beauty of their dreams.

  • An error on a site deleted a photobucket folder full of pictures for a class and I'm trying to see if since I last veiwed them with firefox theres a way to recover them-With the cache or something?

    == Issue
    ==
    I have another kind of problem with Firefox
    == Description
    ==
    An error on a site deleted a photobucket folder full of pictures for a class and I'm trying to see if since I last veiwed them with firefox there is a way to recover them-With the cache or something?
    == This happened
    ==
    Just once or twice
    == I was on photobucket around 6pm on Mon July 19th
    ==
    == Firefox version
    ==
    3.5.9
    == Operating system
    ==
    Windows XP
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9
    == Plugins installed
    ==
    *-The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
    *Shockwave Flash 10.0 r42
    *My Web Search Plugin Stub for 32-bit Windows
    *Default Plug-in
    *Adobe PDF Plug-In For Firefox and Netscape
    *DivX Web Player version 1.4.3.4
    *npdnu
    *Office Plugin for Netscape Navigator
    *iTunes Detector Plug-in
    *GEPlugin
    *4.0.50524.0
    *MSN® Toolbar
    *Google Updater pluginhttp://pack.google.com/
    *RealJukebox Netscape Plugin
    *RealPlayer(tm) LiveConnect-Enabled Plug-In
    *6.0.12.69
    *Google Update
    *Java Plug-in 1.4.2_03 for Netscape Navigator (DLL Helper)

    Hi- I'm Sarie and no this didn't help. I actually tried to log in to respond and it said I wasn't registered. Not really all that cool.

  • API for drawing sequence diagrams?

    hello everyone,
    I am designing a call path trace utility. One of requirements is that the trace result be presented in sequence diagram. I am wondering if there is 3pp API out there to do it?
    Your help is appreciated as always.

    yeah it does help
    although i had come across it myself. Im aware of the fact that its courtesy to google your problem before hitting the forums, but I thought that they're might be a range of tools out there for this purpose, and to get people's opinions on the pros and cons of each, before i begin.
    Thank you.

  • What is the differene between class diagram and er diagram .....pls ex

    what is the differene between class diagram and er diagram .....pls explain with examples

    <b>Diff btw Class Diagrams and ERD's:</b>
    Class diagrams and ERDs both model the structure of a system. Class diagrams
    represent the dynamic aspects of a system: both the structural and behavioural features.
    ERDs, depicting only structural features provide a static view of the system.
    Elements of a class diagram:
    >class
    >association
    >binary
    >n-ary
    >Aggregation
    >Composition
    >Generalization
    >Dependency
    >Realization
    >Association Classes
    Elements of Entity Relationship Diagrams:
    >Entity - A data attribute is a property common to an entity.
    Check this link
    www.cdf.toronto.edu/~csc340h/summer/tutorials/TutorialClassERD.pdf
    Regards,
    Pavan.

Maybe you are looking for

  • Inserting records through a table format

    Is there an easy way to insert and update records using a tabular format, just like you would do in Access directly, without using a separate form?

  • Solution found- messages sent but not received

    For those that have had the problem of sending texts on your iPhone, but they are not being received at particular numbers, a friend of mine had success with the following procedure: 1.  delete all contacts 2.  initiate a message to a problem receipi

  • DB Link issue between 8i and 11g

    Hi, We have developed the shell script to connect oracle 11g database and do something and then update the oracle 8i database tables using the DB link. We have created the Public DB link in Oracle 11g database. When we execute the script manually eve

  • No Alerts in SDP94

    Hi All, for our snp planning we are using different db alerts. Now I have the problem, that I get the error message "No alerts exist for your selection", if I´m execute the alert monitor directly from the planning book. If I´m execute the alert monit

  • Itunes Jumbling up Song Names and actual Files

    Hi, i've searched the forum google and everywhere and can't seem to find an answer. recently my Itunes has been going a bit mad. I've selected a song say: "Jamiroquai- Virtual Insanity" in the library but it will play a completly different song but k