Add Use Case Diagram to Model rowser, click Use Case View; double click Main; ay select and delete symobls…) May expand Diagram window) iagram Toolbar, double click actor, click inside diagram, leave new actor for now. Actors added e: new actor is added to browser. ke five actors. to diagram ht click Use Case View; Select New; Select Actor; name directly into browser; drag icon onto diagram window. Adding actors to diagram… ‘name’ actor by: ht click actor in diagram window; Open Spec; give name. ht click on new actor in browser, Rename, give name. ht click new actor in browser, Open Spec, give name. n shift-click actor icon in toolbox: Click icon in toolbox, then rely hold shift key down and just click mouse in diagram window additional actors….release shift for last icon. en, name as above… Introduction to Rational Rose 2000 v6.5 Copyright © 1999 Rational Software, all rights reserved 8
View full slide show




Toolbars  These options are used to hide, show or specify a location for the toolbar.        Show. Makes the toolbar visible. Hide. Causes the toolbar to be invisible. Left. Places the toolbar in a docked position at the left side of the AutoCAD window Right. Places the toolbar in a docked position at the right side of the AutoCAD window. Top. Places the toolbar in a docked position at the top of the AutoCAD window. Bottom. Places the toolbar in a docked position at the bottom of the AutoCAD window. Float. Places the toolbar as a floating toolbar. Customizing Interface Elements and Commands 149
View full slide show




Toolbars  These options are used to hide, show or specify a location for the toolbar.        Show. Makes the toolbar visible. Hide. Causes the toolbar to be invisible. Left. Places the toolbar in a docked position at the left side of the AutoCAD window Right. Places the toolbar in a docked position at the right side of the AutoCAD window. Top. Places the toolbar in a docked position at the top of the AutoCAD window. Bottom. Places the toolbar in a docked position at the bottom of the AutoCAD window. Float. Places the toolbar as a floating toolbar. Customizing Interface Elements and Commands 174
View full slide show




Customizing Individual Toolbars for Modeling Use Cases…2 of 2  Select Browse (Select) Use Case Diagram from icon on Menu Bar –  Tool Bar is made active. Select use case model entities – 1. Select model element from toolbar    – Click to select model element (get crosshairs) Place in diagram window by clicking at desired location Label it (use case) immediately or the use case icon later by replacing the use case name in Name space with the desired name of the use case in Use Case specification window. Click off. OR 2. Right click on Use Case View, New, Use Case   This adds a Use Case in your Browser (hence in your model). Name it right away or, –   23  Double click this in your browser and name the use case via the Name space in the specification window (same process as above). Select and drag the Use Case icon in the Browser onto the diagram window. NB: deleting a model element from the diagram window DOES NOT remove the element from the model! You must go to the Browser to remove the model element. Restrictions are discussed in slides ahead. BE CAREFUL!
View full slide show




Basic Tool Techniques Add Model Elements  Either the browser or model diagram toolbar (assuming appropriate toolbar is activited). – – – 25 Browser: Right click on Use Case Diagram; Select New; Select Model element. Toolbar: Double Click element; Place on diagram window; document… (See browser) Name the model element, like Administrator for an Actor.  Elements added from the toolbar are automatically added to the browser.  Elements added to the browser must be dragged and dropped on to the diagram.  You can also drag and drop existing elements from the browser to other diagrams.
View full slide show




UML Introduction The Unified Modeling Language (UML) is a graphical modeling language for sketching classes and procedures prior to coding. Diagram Structure Diagram Class Diagram Composite Structure Diagram Componen t Diagram Deployme nt Diagram Behavior Diagram Object Diagram Package Diagram Activity Diagram Communication Diagram CS 325 Lesson Three System Engineering Page 4 Interaction Diagram Interaction Overview Diagram State Machine Diagram Sequence Diagram Use Case Diagram Timing Diagram UML Version 2.0 defines thirteen diagram types.
View full slide show




GUI class functions  Label - Make a text or texture label on screen.  DrawTexture - Draw a texture within a rectangle.  Box - Make a graphical box.  Button - Make a single press button. The user clicks them and something happens immediately.  RepeatButton - Make a button that is active as long as the user holds it down.  TextField - Make a single-line text field where the user can edit a string.  PasswordField - Make a text field where the user can enter a password.  TextArea - Make a Multi-line text area where the user can edit a string.  SetNextControlName - Set the name of the next control.  GetNameOfFocusedControl - Get the name of named control that has focus.  FocusControl - Move keyboard focus to a named control.  Toggle - Make an on/off toggle button.  Toolbar - Make a toolbar  SelectionGrid - Make a grid of buttons.  HorizontalSlider - A horizontal slider the user can drag to change a value between a min and a max.  VerticalSlider - A vertical slider the user can drag to change a value between a min and a max.  HorizontalScrollbar - Make a horizontal scrollbar. Scrollbars are what you use to scroll through a document. Most likely, you want to use scrollViews instead.  VerticalScrollbar - Make a vertiical scrollbar. Scrollbars are what you use to scroll through a document. Most likely, you want to use scrollViews instead.  BeginGroup - Begin a group. Must be matched with a call to EndGroup.  EndGroup - End a group.  BeginScrollView - Begin a scrolling view inside your GUI.  EndScrollView - Ends a scrollview started with a call to BeginScrollView.  ScrollTo - Scrolls all enclosing scrollviews so they try to make position visible.  Window - Make a popup window.  DragWindow - Make a window draggable.  BringWindowToFront - Bring a specific window to front of the floating windows.  BringWindowToBack - Bring a specific window to back of the floating windows.  FocusWindow - Make a window become the active window.  UnfocusWindow - Remove focus from all windows.
View full slide show




Create Sequence Diagram Anchor added to note Note added to diagram d notes. Notes link one diagram to another diagram. nked diagram is indicated by underlined text in the note. From the diagram toolbar, click the Note icon. Click on the diagram. The note icon is added. With the note selected, type an appropriate note n the browser, drag the Register for Courses - Basic Flow (Delete Schedule) sequence diagram on to the note. Notice that the note’s text is now underlined, ndicating the note is now linked to the diagram. Size and position the note Introduction to Rational Rose 2000 v6.5 Copyright © 1999 Rational Software, all rights reserved 25
View full slide show




Window Object • The Window object represents a Web browser window. • Properties: – window.status, window.defaultstatus – window.document, window.history, window.location. – Window.name • Methods: – window.open (“url”, “name”, Options) • Options: menubar=no, status=no, toolbar=no, etc. – – – – window.close window.alert(“string”) window.prompt(“string”) Window.focus, Etc. • Try statements at: http://www.w3schools.com/jsref/obj_window.asp
View full slide show




Aerodynamics-Drag  There are two main types of drag:  Induced  Parasitic:  Form drag  Skin friction  Interference drag  Definition of induced drag: This type of drag is based upon efficiency. Because no machine is 100% efficient, induced drag exists. With an increase in efficiency, there will be a decrease in induced drag.  It is the drag due to lift.  * Drag is defined in pounds *
View full slide show




Customizing Individual Toolbars for Modeling Use Cases…(1 of 2) Getting the Use Case toolbar set up: 1. 2. View, Configure, Toolbars Select ‘Use Case Diagram’ (down near the bottom) 1. 2. Produces another window – ‘Customize Toolbar’ Select the Add button for Use Case Diagrams This adds the Browse Use Case Diagram icon on menu bar. 2. This also enables the Use Case Diagram toolbar to become active when you want to model use cases (by selecting the Browse Use Case Diagram button on menu bar. 3. Can return later via view, configure, toolbars, Use Case diagram, to add toolbar buttons into the current toolbar options for this (or any other) type of model. 1. 22
View full slide show




Create a Collaboration Diagram Actor added to diagram Objects added to diagram Add Actors: In the browser, expand the Use Case View again From the Use Case View, drag the Student actor onto the collaboration diagram Add objects: Name objects as you add them to avoid duplication. From the diagram toolbar, click the Object icon. Click the diagram to add the object. Click on the object, then type: :RegisterForCoursesForm Repeat steps above for :RegistrationController Size objects if needed to fit text. Introduction to Rational Rose 2000 v6.5 Copyright © 1999 Rational Software, all rights reserved 15
View full slide show




mailto: Example LanGear Product Registration
CIS 1310 – HTML & CSS

View full slide show




mailto: Example LanGear Product Registration
CIS 1315 – Web Development for Educators

View full slide show




Add Use Case Diagram to Model ame techniques to add the Use Cases to Model se toolbar or right click from New from Use Case View ame as usual. ut: When you right click the icon in the diagram window nd select Open Specification, you could provide the asic Flow of Events in the window… R ight click on icon in diagram window and type text nto the Documentation Window (lower left of screen). However, we want Use Cases documented separately.) Use cases added hange color? to diagram hift click all use cases to be colored. o to Format, Fill Color; Select use cases will be changed. Introduction to Rational Rose 2000 v6.5 Copyright © 1999 Rational Software, all rights reserved 9
View full slide show




Run Script to Generate VOPC Diagram Green start arrow is pressed VOPC diagram name added Run a script to add VOPC diagram Expand Logical View; Expand Design Model; expand Use Case Realizations; Double-click Traceabilities. In the diagram window, click the Register for Course use case realization. On the Tools menu, click Open Script. Open C:\RoseSolutions\Scripts, then double-click VOPC.ebs. .On the toolbar, click the green start arrow to run script. The Class Diagram window is displayed. Type Register For Courses - Basic Flow (VOPC), then click OK. to Rational Rose 2000 v6.5 InIntroduction the browser, expand Use Case Realization20 - Register for Courses VOPC diagram. Copyright © 1999 Rational Software, all rights reserved You may move classes and clean up diagram.
View full slide show




A document-word matrix can be viewed as a labeled bipartite graph: doc1 There are at least three common labels, the first is term_frequency (tf) which labels each edge with the number of times the word occurs in the doc. wc=3doc2 The 2nd and 3rd are incidence counts which are node labels. The second is doc_frequency (df) (or dc for doc count) which labels each word with the number of docs . the word occurs in. This is just the incidence count of each word as a node in the graph (i.e., edge count). The third is word_count (wc) which labels each doc with the number of words it contains. This is just the incidence count of each doc as a node in the graph (i.e., edge count). At this point we note that the two incidence counts, as actual node labels, are just a convenience, since that count can be made from the bipartite graph any time. However, tf is a necessary label (not a convenience) since it cannot be discerned from the bipartite graph itself. . worddc=df=2 1 tf=8 word2 . . docN We typically lower-bound threshold each of these labels. First, we transform the corpus using the lower bound tf1 which effectively removes the need for an edge label. . . Second, we lower bound [and/or upper bound] df (e.g., tf2 requires each word to occur in at least 2 docs. Third, we could lower bound wc (e.g., wc2 requires each doc to contain at least 2 words. In the previous slides, the original corpus was transformed by tf1 into an "word existential corpus first, called MGd44w60. Then each round was a matter of identifying the sub-bipartite-graph satisfying one of the node label inequalities, doc-node label wc2, word-node label dc2, doc-node label wc2, word-node label dc2 etc. until stability was achieved (it converged to a sub-bipartite-graph). What happens if we reverse that order (word-node label dc2 first). word-node label dc2, doc-node label wc2, word-node label dc2 etc. until stability is achieved. wordn
View full slide show




12-50 Modeling Scarce Resources Suppose Suppose Rose Rose Company Company could could buy buy additional additional minutes minutes of of capacity capacity on on machine machine A1. A1. How How many many additional additional minutes minutes does does Rose Rose need need to to satisfy satisfy unmet unmet sales sales demand? demand? Rose Rose had had only only 100 100 minutes minutes remaining remaining for for Product Product 11 which which requires requires 1.00 1.00 minutes minutes per per unit. unit. The The weekly weekly demand demand for for Product Product 11 is is 2,000 2,000 units. units. Rose Rose needs needs an an additional additional 1,900 1,900 minutes minutes to to produce produce enough enough Product Product 11 to to satisfy satisfy demand. demand.
View full slide show




 The Toolbar Control is essentially a row of Buttons. Only one of the Buttons on the Toolbar can be active at a time, and it will remain active until a different Button is clicked. This behavior emulates the behavior of a typical Toolbar. You can define an arbitrary number of Buttons on the Toolbar.  The active Button in the Toolbar is tracked through an integer.    You must provide the integer as an argument in the function. To make the Toolbar interactive, you must assign the integer to the return value of the function. The number of elements in the content array that you provide will determine the number of Buttons that are shown in the Toolbar.
View full slide show