We are working on RCP4 envelopment and we are trying to implement about action inside menu bar. In RCP 3 application IworkbenchAction used to create this type of action but we don't have similar feature in RCP4 . Could you please some one help on this.
Thanks in advance
There is no default About dialog in a pure e4 application you have to write your own. One reason for this is that the Eclipse RCP 3 About dialog depends heavily on the 'p2' update system - many e4 RCPs don't need to include the p2 plugins.
So you just use a normal HandledMenuItem to connect to a command. By convention the command should have the id org.eclipse.ui.help.aboutAction - this will allow Eclipse to move the menu to the correct place on macOS.
Related
I would like to have status line in Eclipse scout application, that is always visible.
For example :
How to get to this line ?
In RAP this line is not visible. Is possible to get it in RAP ? Or is there another general solution ?
Marko
The only status bar managed by Scout is the one that you can find on tables (and Table Field). See this Forum entry: Table status bar.
Depending on the renderer you use, the platform might also provide one:
SWT: You have the Eclipse RCP Workbench and you get all the features.
Swing: I think we instantiate a JDesktop and with the default Look And Feel you see a status bar (like in your screenshot)
RAP: I think there is no status bar in this case.
I you need one for RAP; you need to do a custom implementation.
I'm trying to develop a eclipse plugin, which displays a Quick help annotation in the Java Editor.
The Quick Help icon should appear at every place, a type statement is missing in the Java-Code.
I'm a total noob in Eclipse plugin development. I read a few things about it and understand the idea with Extension points but I don't get how to add a annotation in the Eclipse Java editor.
Are there any examples or tutorials available for this problem/topic?
I don't know how to start and appreciate any help or hints.
I finally made it by placing a Marker and specifying a markerResolution for him.
Resources:
Howto add a Marker
,
Marker Customization ,
Adding a Quick Fix to a marker type
I am new in sencha,
I have design one app and deployed on tablet using eclipse.
I want to change APP name without creating new Eclipse project.
How should I do that. Please provide steps.
Thanks
you can use this steps -
go to res file -> values -> strings.xml....
MitsuhoSdn Bhd
Hello world!
Settings
Select the project and then there is this key shortcut:
Alt + Shift + R
There you can rename your project and it will update all the other related files.
I am trying to migrate an update-site plugin for my product from eclipse equinox to Juno , when I create a new plugin project and copy paste all the src files and change the META-INF as per the previous proj, I get lots of compilation errors.Reason being org.eclipse.update.core removed from Juno.So i have to migrate this existing project to equinox P2.But couldnt find a way to do so as i am completely new to RCP/plugin development.Can someone help me with some pointers. I get "cannot be resolved in to a type error for the following"
UpdateSearchRequest
ContentEntryModel
IFeature
IURLEntry
ICategory
Messages
IFeatureReference
IUpdateModelChangedListener
ISite
IIncludedFeatureReference
etc...
http://plosquare.blogspot.com/2009/05/migrating-eclipse-update-sites-to-p2.html
Perhaps the above might help.
I'd suggest something like the following to get started:
Open the Plug-ins View via Window->Show View->Other...->Plug-in Development->Plug-ins
Select all the plug-ins, right click and select "Add to Java Search..."
Ctrl-O and type one of the class files you listed above
This will allow you to open editors for those classes to see if they're still around. From the editor, you can figure out what Plug-in they're in and start fixing your Plug-in Dependencies in the Manifest Editor. Then you can start fixing the imports in your source either by hand or via Organize imports.
I’m looking for alternative for existing tests written in QTP for my Win32 application written in Borland C++.
My candidate is White which based on UI Automation because it’s native solution,
I can create my tests using .NET/C# and easily integrate it with nUnit and Hudson.
White
http://white.codeplex.com
MS UI Automation
http://msdn.microsoft.com/en-us/library/ms747327.aspx
UI Verify
http://uiautomationverify.codeplex.com
I use UI Verify as a spy to identify properties of objects I want to find in my tests.
More or less when I can see something in the spy, I can find it using UI Automation/White.
Generally I don't have much problems with recognizing objects
but when I try to search some content inside the tab contained in Tab Panel
or try to see MenuItems of Menu bar then the problem appears.
UI Automation/UI Verify works wired. When I run UI Verify (1.0 version) I see that objects can be registered properly only then
when I set 'Focus tracking' option and click on target objects or change the keyboard cursor on them. Otherwise it's impossible to find them.
UI Verifier can show me children of my 'tab' panel then. But I can’t find them using UI Automation/White. This is example code:
Tab tab = window.Get();
ITabPage tabPage = tab.SelectedTab;
AutomationElementCollection newCol = tabPage.AutomationElement.FindAll(TreeScope.Descendants, Condition.TrueCondition);
window.Get("buttonName");
the collection is empty even though spy see the children.
Does any of you have some experience with White/UI Automation library that he/she would like to share with me?
I want to implement the tracking feature from the spy to my tests. Can you help me with that? I'm trying to study the code of UIA Verify spy. I think that there are two classes responsible for catching the objects: FocusChangeListener and FocusTracer - this is the code:
http://uiautomationverify.codeplex.com/SourceControl/changeset/view/9992#214260
http://uiautomationverify.codeplex.com/SourceControl/changeset/view/9992#214192
Requirements:
1. Windows SDK
2. .NET 3.5
3. White
4. UIA Verify code
Do you have any better alternative for White/UI Automation?
R.
Could you, the R or YoYo, put your form compiled or in source codes (preferable without the internal logic) somewhere on a file share?
I've never seen a control that'd be not caught using UI Automation if UIAVerify sees it. I saw such windows, which could be only caught with the Focus Tracking feature of UIAVerify. This case, such a window is untouchable by UI Automation search.
Regarding a control, are you sure that the controls you struggling with have the Name property? Maybe, this is a value available only by means of ValuePattern, not the Name?