How to open a custom editor from an Action in Eclipse Che? - eclipse-che

I am going to create a extension in Eclipse Che. I want the users to open a editor from the top menu. In order to do this, I read the instruction from this link 'https://eclipse-che.readme.io/docs/parts'. But it only shows how to create each part of the UI around a editor. It supports four positions as shown below:
EDITING: area just above the editor, like a file tab
NAVIGATION: area on the left to project explorer
TOOLING: area to the right of the editor
INFORMATION: area under the editor, 'console' area
I also read the editor tutorial from 'https://eclipse-che.readme.io/docs/code-editors' but the editor has to associate with a file type.
Is there a way to open a Editor without a file type? Such as open it from an action in a menu.

Related

INSTALLSHIELD setup User may search for their personal or business logo and apply

Every windows screen in our WPF application displays the ICON in the upper left corner. Numerous users of this program have the expectation of seeing their company logo.
We made the logo.ico file a "always copy" so that it is copied into the bin location along with every build. ICON is referring to the logo.ico file in this case.
The logo.ico file's icon will be reflected on the Windows screen if we go ahead and replace it with any other image.
We cannot expect the customers to accomplish this, so we must make it easier for them to browse the icon file during installation. InstalledShield software is used to prepare the installation setup. If there is a better way, please describe it here. I seek advice on how to accomplish this.
I would like you to check why the icon is getting reflected if you replace it with any other image, windows has some specification on the image size to display the icon/tile on the screen. See whether your icon is meeting all those specification to reflect it on the screen.
https://docs.revenera.com/installshield26helplib/helplibrary/IHelpMarsShortcutProperties.htm#ref-views_3737199233_1323863
you can also find information regarding the icon specification from the Microsoft documentation pages.
Apart from that, if you want to show up a browse dialog during the installation then you need to modify your InstallShield project:
1- To launch a browse dialog from the Basic MSI project:
https://docs.revenera.com/installshield23helplib/helplibrary/FileOpenDialog-HowTo.htm
2- To launch a browse dialog from an InstallScript project:
https://community.flexera.com/t5/InstallShield-Knowledge-Base/Displaying-a-File-Browse-Dialog-in-an-InstallScript-Project/ta-p/3964
But, my preference to you to check why the icon is getting reflected if its replaced with other image, and fix it.

Open Directory with Special Panel in C# wpf

I Open a Folder in C# with following codes. But I want to disable the address bar so that someone does not understand the file's address. And nobody can go to the previous or next folder!
System.Diagnostics.Process.Start("explorer.exe", #"D:\Project WPF\Atlas\Samle\D-File\MyFiles");
Or open the Explorer in the C# Window.
You could try using ExplorerBrowser. This will help embed the explorer window in your application and will give you more control over what you wish to show.

Blend obj file import to the WPF project

I have got a problem, generated obj and mtl file with Blend. I imported into the project, but can't insert to the XAML file. Drag and drop not work, and Insert menu is missing. Anyone idea?
In VS 2013's BLEND version you can find the insert command in the context menu. In 2015 it is missing. I'm trying to find a workaround, but until then you can use the 2013 version.
In the Projects panel, right-click the name of your project, and then click Add Existing Item or Link to Existing Item.
Browse to the location of the 3D content (.obj file) that you want to import and any supporting materials (.mtl files and the image files that are used in the .mtl files), select all of the files at the same time (hold the Ctrl key while selecting the files), and then click Open.
The 3D object data is now available to your project.
In the Projects panel, right-click the .obj file name, and then click Insert to add the 3D content to the artboard. Alternatively, you could double-click the .obj file name.
The 3D object appears on the artboard, and a Viewport3D object is created in the Objects and Timeline panel. Within the Viewport3D object are containers for the cameras and lights. A perspective camera, an ambient light, and a directional light are created by default.
Find the original guide at MSDN

showing multiple shockwave flash swf in wpf vb.net blend

i'm totally new with vb.net and wpf and i'm trying to show multiple .swf file in a wpf program that i'm writing with blend.is it possible to use a single webview to show multiple swf files?i mean placing like 5 buttons near that webview and by clicking each button, a specific .swf file appear in the webview?
thanks in advance.
Try this steps
1.Copy te swf file in bin folder.
2.Select "Add/Remove Items".
3.Select "COM Components" Select "Shockwave Flash Object". Click OK.
4.You can see the Shockwave Flash Object in the tool bar.
Code:
AxShockwaveFlash1.Movie = Application.StartupPath & "\flashfile.swf"
AxShockwaveFlash1.Play()
Read more: http://wiki.answers.com/Q/How_add_swf_file_in_vb.net_forms_which_is_save_in_resources#ixzz1toABaXKF
SWF Object Project if you like to see:
https://code.google.com/p/swfobject/

How to open the index tree content of a .chm file in the wpf application using the webbrowser?

I am creating a helpbar for my application and having two things to get done :
To provide the online help from the website and display it in a window using webbrowser which i am done with.
now in the same browser i want to open the index tree of the .chm file .
so is it possible to open the index tree of the .chm file?
browser.Navigate(#"mk:#MSITStore:[my .chm file url]");
I am doing this to open a particular content , but i want the starting index tree which is displayed at the left panel of the default help viewer application provided by the microsoft.
Want to know whether it is possible else any suggestions how to approach it.
The CHM index isn't an HTML page — it's stored as binary data in the CHM file. So it can't be displayed in a WebBrowser.
I'd recommend using unpacked HTML help if you need to display the help in a WebBrowser inside the app.

Resources