Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Creation of customized configuration window on clicking of newly created button on toolbar of eclips(Creation of customized configuration window on clicking of newly created button on toolbar of eclipse)
Creation of customized configuration window on clicking of newly created button on toolbar of eclips [message #1255260] Mon, 24 February 2014 08:58
vyv vyv is currently offline vyv vyvFriend
Messages: 3
Registered: April 2013
Junior Member
I am working on eclipse to create 2 new buttons and if I click on that button a configuration window should open which consist simple 2 options: 1.input directory followed by browse, 2.output directory followed by browse option. I have created 2 new buttons on toolbar by following code in plugin.xml file

<extension
point="org.eclipse.ui.actionSets">
<actionSet
label="Perspectives and Views Toolbar"
visible="true"
id="PerspectivesViewsToolbar.actionSet">
<action
class="perspectivesviewstoolbar.actions.ShowViewsPulldownMenuAction"
icon="icons/views.gif"
id="PerspectivesViewsToolbar.ViewsPulldownAction"
label="file1"
style="push"
toolbarPath="PerspectivesViewsToolbar/additions"
tooltip="Show Views">
</action>
<action
class="perspectivesviewstoolbar.actions.ShowPerspectivesPulldownMenuAction"
icon="icons/perspectives.gif"
id="PerspectivesViewsToolbar.PerspectivesPulldownAction"
label="file2"
style="push"
toolbarPath="PerspectivesViewsToolbar/additions"
tooltip="Show Perspectives">
</action>
</actionSet>
</extension>

It will create 2 new buttons file1 and file2 on toolbar of eclipse. But I am stuck with opening a configuration window when I click on those buttons. I am working on eclipse indigo version.
Previous Topic:How to resize UI elements (etc)?
Next Topic:Unable to launch packaged JavaFX app
Goto Forum:
  


Current Time: Fri Apr 26 02:40:50 GMT 2024

Powered by FUDForum. Page generated in 0.11143 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top