How to create Eclipse like Welcome page - eclipse-plugin

I want to create my own Welcome page like eclipse.I have search for but it shows for RCP Application but i want to create it inside Eclipse IDE So that when i click on menu, it should open Intro(help) page.

eclipse.ui.intro extension point
All you need to do is to extend org.eclipse.ui.intro.configExtension and provide your implementation.
<extension point="org.eclipse.ui.intro.configExtension">
<configExtension configId="org.eclipse.ui.intro.universalConfig"
content="intro/eclipse-tips.xml" />
</extension>
You have the whole tutorial here
http://eclipse.dzone.com/articles/short-tutorial-introwelcome

Related

How to design a header in magento 2.3 with Logo, Navbar and cart in one line?

I want to design a header by extending the Luma theme. I have attached pic on how I want the header design. Can someone please help me with this? Am new to Magento and still learning things. I am using Magento 2.3.2 and have created a custom theme in app/design/frontend/Vendor_name/theme_name/ by extending Luma theme as parent theme. THANKS.
Please refer this link for reference header image, I want same header as in image below,
https://i.stack.imgur.com/fZtr8.png
I have achived the same design with the below steps.
Note am extending blank theme.
In your theme open the file Magento_theme/layout/default.xml.
Move the navigation after the logo
Create a new container to group all the three right side icons
Move the new container "header.actions" after navigation
Move the minicart, search and user icon into the header.actions container
Clear the cache and refresh the browser
<move element="catalog.topnav" destination="header-wrapper" after="logo"/>
<container name="header.actions" htmlTag="div" htmlClass="header-actions"/>
<move element="header.actions" destination="header-wrapper" after="catalog.topnav"/>
<move element="top.search" destination="header.actions" after="-" />
<move element="minicart" destination="header.actions" before="-"/>
<move element="my-account-link" destination="header.actions" after="minicart"/>

Right click doesn't work in plugin.xml

I am following this tutorial http://www.vogella.com/tutorials/EclipsePlugin/article.html#exercise-adding-e4view-based-parts-to-3-x-based-applications . When I'm trying to right click in extension tab to add a new e4View as shown in a tutorial, nothing happens, the popup menu doesn't appear. Is it possible to create this view in different way?
You can always edit the plugin.xml directly by clicking on the 'plugin.xml' tab.
A basic e4view would look something like:
<extension
point="org.eclipse.ui.views">
<e4view
class="testview.E4view1"
id="TestView.e4view1"
name="name"
restorable="true">
</e4view>
</extension>

XPages Extension library DOJO Tab container control CSS Modifications

I want to know, Is there any way to change the Style sheets of the extension library DOJO Tab container control?
Thanks & regards,
Yogesh Kashid
The best way to change the Style sheets of the extension library DOJO Tab container control is to create and use an own css resource. This way you can change every single table part's look and it would be valid for all DOJO Tab container controls in your application.
Create under Resources\Style Sheet a my.css file
Add the Style changes for DOJO Tab classes in my.css file. The style classes start with "dijitTab..." and you can find them analyzing the rendered page in browser.
For changing the tab labels to red you would write e.g.
.dijitTabContainerTopNone {
color: red;
}
3 . Add the my.css class to your theme
<theme extends="oneuiv2.1">
<resource>
<content-type>text/css</content-type>
<href>my.css</href>
</resource>
</theme>

some of the toolbar menus are not seen in eclipse rcp application

When I launch rcp application some of the custom toolbar menus doesnot appear in my rcp application,if I change perspective then they appears.Any idea?
That's hard to say with no additional information. How do you create those toolbar items? Using some contributor class or in plugin.xml, using menu contributions? With the second option, check, that you have defined them in the proper plugin.xml (the one, which defines your perspective, in which you want to actually see them).
Ensure, that there are handlers for your commands/actions in your perspective.
If you are using associations, ensure, that those are correct:
<extension point="org.eclipse.ui.actionSetPartAssociations">
<actionSetPartAssociation targetID="YouractionSetId">
<part id="YourPartId"/>
</actionSetPartAssociation>

How to make contributions to JSDT Template Proposals

I've created an eclipse plugin which extends JSDT. When editing a JavaScript file, pressing Ctrl-Space shows "Default Proposals", consisting of general JavaScript Suggestions. Pressing Ctrl-Space again shows "Template Proposals", but the list is empty. How do I add content to the "Template Proposals" list?
You can use the org.eclipse.ui.editors.templates extension point for this. Something like this:
<extension
point="org.eclipse.ui.editors.templates">
<template
autoinsert="true"
contextTypeId="javaScript"
description="Do something"
id="com.foo.mytemplate"
name="A silly template">
<pattern>
fafdsds fafdsda fdadsa
</pattern>
</template>
</extension>