- This topic has 12 replies, 2 voices, and was last updated 17 years, 8 months ago by Santosh Mallesan.
-
AuthorPosts
-
Santosh MallesanMemberHi,
I was able to reverse eng a class into a class diagram. But it imported all the attributes and operations including ones with private scope. Now I want to generate class diagrams only showing public attributes and operations.
I cannot seem to find a way to do that. Also I cant find a way to delete any attribute or operation from the diagram either. Is this a bug? or am I missing something. At the very least I should be able to remove attributes and methods if I accidentally added something.
Riyad KallaMemberYou should be able to click the operation or attribute and hit the delete button to remove them, but filtering them out during the rev-eng process isn’t an option at this time.
Santosh MallesanMemberNo there is no option to delete or remove an individual operation or attribute as far as I can tell.
Selecting it and hitting delete button does not do anything. selecting and right clicking does not work. Both Remove from Diagram and Delete from model options do not work. Please guide me how I can do this, it is becoming a show stopper for us here.
Riyad KallaMemberCan you go to MyEclipse > INstallation Summary > Installation Details and paste the information here for me?
Santosh MallesanMember*** Date:
Tuesday, February 27, 2007 2:08:01 PM EST** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_08*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 5.1.0 GA
Build id: 20061111-5.1.0-GA*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 5.1.0 GA
Build id: 20061111-5.1.0-GAEclipse Platform
Version: 3.2.1.r321_v20060921-b_XVA-INSQSyMtx
Build id: M20060921-0945Eclipse RCP
Version: 3.2.1.r321_v20060801-2ekW2BxmcpPUOoq
Build id: M20060921-0945Eclipse Java Development Tools
Version: 3.2.1.r321_v20060905-R4CM1Znkvre9wC-
Build id: M20060921-0945Eclipse Project SDK
Version: 3.2.1.r321_v20060801-tQ1w49KnTArT0FZ
Build id: M20060921-0945Eclipse Graphical Editing Framework
Version: 3.2.1.v20060921
Build id: 20060921-1617Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\Program Files\MyEclipse5.1.0 GA\eclipse\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
16cc_58
-vm
C:\Program Files\MyEclipse5.1.0 GA\jre\bin\javaw.exe
Riyad KallaMemberI am very sorry, I was getting frustrated that I wasn’t seeing this behavior so started from scratch and saw it right away. It turns out what I was working with before (when I first replied to this quesiton) was a UML test case where I had created the diagram first. I’m checking with the team now to see if this is by-design (to keep the diagram in sync with the code forcefully) or simply an oversight.
Riyad KallaMemberI just got a clarification from someone on the UML team, if you expand the properties view, there is actually a trash-can icon you can use to remove the operations and attributes, but I’m still filing this as a bug since in most cases you cannot see it.
Santosh MallesanMemberI am sorry, but what do you mean by expand the property view. I clicked on an operation in the class diagram. The properties showed up in a tab below. I double clicked the tab to expand the property tab to the maximum. I still do not see any trash can icon. If the property tab is showing the properties for the whole class then I do see a trash icon, but not for individual operations
Riyad KallaMemberPlease see the attached screenshot
Attachments:
You must be logged in to view attached files.
Santosh MallesanMemberI dont see this icon, I only see this icon when I select the class diagram in genral. But when I click on the operation this icon disappears
Can I attach a screen shot of what I see? I dont see any link in the forum on how to attach files to the post. Maybe I can mail you the screen shot?
Riyad KallaMembernextone you can PM the screenshot to me (make sure the operation or attribute is selected (e.g. red)), also please include a link to this thread for reference.
Riyad KallaMembernextone, thanks for the screenshot. The problem is a layout one, notice how your screen isn’t wide enough to see the other two icons that are hidden? That’s why I filed this as a bug in our issue tracker is because of the poor layout on smaller widge screens (and even on some wide ones). I’m sorry for this inconvenience.
Santosh MallesanMemberWell,
I can finally see the icon when set my screen size to 1024 X 1024 in my windows desktop setting. But there are a lot of usability issues with this and I hope the future versions will address it. Right now a user cannot multi select, so you have to select one operation or attribute at a time and delete it. It is really painful to select one item at a time and repeat the same task again and again.
I will keep playing with this tool, but it is not the fastest or the most intuitive tool out there 🙂 . Thanks for all your support though …appreciate it. -
AuthorPosts