Solved

Search in IBM Visual Age

Posted on 2002-07-06
7
219 Views
Last Modified: 2010-03-30
Hi,

I am working on a new project that is quite big.

I want to modify the menu of my application, but first, I need to find where the menu is implemented.

I've tried the Find/Replace with the word "menu" but it works only in a method.  I have at least 1000 methods in 100 classes in 50 packages.  

Is there a better way to find what I'm looking for?

Thanks in advance,
Freesky
0
Comment
Question by:freesky
7 Comments
 
LVL 3

Expert Comment

by:yasser_helmy
ID: 7134828
Hi freesky,
visual age for java has a "visual composition editor". Open the class view, you will find a tab labeled "Visual Composition". Select the tab. You will see the visual of the application. You would see the menu now and edit it.

You can get better more info from the ibm redbooks. Try SG24-5264-00. It is an old one but full of good info.
0
 

Author Comment

by:freesky
ID: 7135878
Hello Yasser Helmy,

Thnaks very much for your tip!  However, I can't have the visual composition (it's a white page) although I can have the source, members, hierarchy, etc.  Would you know why?

Freesky
0
 
LVL 7

Expert Comment

by:tomboshell
ID: 7137057
Been a while since I've worked with VA.  As I remember the visual composition works with visual environments created within VA, if the gui wasn't made with that tool then the tool wont recognize it (my experience).  Here is an idea...find the main class and the area the instinates the gui, set a break point and follow it through until the menus are created.  Might work, it may be a bit tedious though.

Tom
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 3

Expert Comment

by:yasser_helmy
ID: 7137281
HI freesky,
when you go to the visual composition editor, go to the bean menu. The last item is "Construct Visuals From source". This might help. Just make sure you create a version before so you can go back to it if anything goes wrong. When you want to modify the code, go to the members tab never the source tab; this makes the visual disappear.
0
 
LVL 2

Accepted Solution

by:
xxMariusxx earned 100 total points
ID: 7139046
To find all instances of "menu", the following works for me:

1) Go to Workspace-->Text Search/Replace
2) Change the radio button to "Working Set"
3) Click the "Choose" button
4) Click "New" to create a new working set
5) Suppy a name for your working set and use the treeview to select the scope of your search (you can drill down all the way from the "project" level to individual packages and/or classes)
6) Click "Ok"
7) Select your newly created working-set from the list and click "Ok"
8) Fill in "menu" in the "Find What:" text field and click "Search"

Hope that helps!

Marius
0
 
LVL 3

Expert Comment

by:yasser_helmy
ID: 7140455
hi freesky,
if you get problems with visual composition, here is another solution. From the source tab, select the edit menu, select "Find/Replace". Enter the word "menu" and press "Find". You will reach the definitions of the menus and menuitems.
0
 

Author Comment

by:freesky
ID: 7152602
Thanks Marius, now I know how to find what I'm looking for.

Thanks everybody for your time and answers.

Have a nice day,
Freesky
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now