Solved

Search in IBM Visual Age

Posted on 2002-07-06
7
232 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This video teaches viewers about errors in exception handling.

728 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