org.eclipse.xtext.ui.IImageHelper.IImageDescriptorHelper Java Examples

The following examples show how to use org.eclipse.xtext.ui.IImageHelper.IImageDescriptorHelper. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AbstractNewXtendElementWizard.java    From xtext-xtend with Eclipse Public License 2.0 5 votes vote down vote up
public AbstractNewXtendElementWizard(IImageDescriptorHelper imgHelper, AbstractNewXtendElementWizardPage page, String title) {
	this.page= page;
	ImageDescriptor image = imgHelper.getImageDescriptor("xtend_wizard_big.png");
	setDefaultPageImageDescriptor(image);
	setDialogSettings(JavaPlugin.getDefault().getDialogSettings());
	setWindowTitle(title);
}
 
Example #2
Source File: AbstractNewSarlElementWizard.java    From sarl with Apache License 2.0 5 votes vote down vote up
/** Constructor.
 * @param imgHelper the helper for getting images.
 * @param page the wizard page.
 * @param title the title of the wizard.
 */
public AbstractNewSarlElementWizard(IImageDescriptorHelper imgHelper, AbstractNewSarlElementWizardPage page, String title) {
	this.page = page;
	final ImageDescriptor image = imgHelper.getImageDescriptor("sarl_64.png"); //$NON-NLS-1$
	setDefaultPageImageDescriptor(image);
	setDialogSettings(JavaPlugin.getDefault().getDialogSettings());
	setWindowTitle(title);
}
 
Example #3
Source File: NewSarlClassWizard.java    From sarl with Apache License 2.0 4 votes vote down vote up
/** Constructor.
 * @param imgHelper the helper for getting images.
 * @param page the page of the wizard.
 */
@Inject
public NewSarlClassWizard(IImageDescriptorHelper imgHelper, NewSarlClassWizardPage page) {
	super(imgHelper, page, Messages.NewSarlClassWizard_0);
}
 
Example #4
Source File: NewSarlBehaviorWizard.java    From sarl with Apache License 2.0 4 votes vote down vote up
/** Constructor.
 * @param imgHelper the helper for getting images.
 * @param page the page of the wizard.
 */
@Inject
public NewSarlBehaviorWizard(IImageDescriptorHelper imgHelper, NewSarlBehaviorWizardPage page) {
	super(imgHelper, page, Messages.NewSarlBehavior_0);
}
 
Example #5
Source File: NewSarlAgentWizard.java    From sarl with Apache License 2.0 4 votes vote down vote up
/** Constructor.
 * @param imgHelper the helper for getting images.
 * @param page the page of the wizard.
 */
@Inject
public NewSarlAgentWizard(IImageDescriptorHelper imgHelper, NewSarlAgentWizardPage page) {
	super(imgHelper, page, Messages.NewSarlAgent_0);
}
 
Example #6
Source File: NewSarlCapacityWizard.java    From sarl with Apache License 2.0 4 votes vote down vote up
/** Constructor.
 * @param imgHelper the helper for getting images.
 * @param page the page of the wizard.
 */
@Inject
public NewSarlCapacityWizard(IImageDescriptorHelper imgHelper, NewSarlCapacityWizardPage page) {
	super(imgHelper, page, Messages.NewSarlCapacity_0);
}
 
Example #7
Source File: NewSarlEventWizard.java    From sarl with Apache License 2.0 4 votes vote down vote up
/** Constructor.
 * @param imgHelper the helper for getting images.
 * @param page the page of the wizard.
 */
@Inject
public NewSarlEventWizard(IImageDescriptorHelper imgHelper, NewSarlEventWizardPage page) {
	super(imgHelper, page, Messages.NewSarlEvent_0);
}
 
Example #8
Source File: NewSarlSkillWizard.java    From sarl with Apache License 2.0 4 votes vote down vote up
/** Constructor.
 * @param imgHelper the helper for getting images.
 * @param page the page of the wizard.
 */
@Inject
public NewSarlSkillWizard(IImageDescriptorHelper imgHelper, NewSarlSkillWizardPage page) {
	super(imgHelper, page, Messages.NewSarlSkill_0);
}
 
Example #9
Source File: NewSarlAnnotationWizard.java    From sarl with Apache License 2.0 4 votes vote down vote up
/** Constructor.
 * @param imgHelper the helper for getting images.
 * @param page the page of the wizard.
 */
@Inject
public NewSarlAnnotationWizard(IImageDescriptorHelper imgHelper, NewSarlAnnotationWizardPage page) {
	super(imgHelper, page, Messages.NewSarlAnnotationWizard_0);
}
 
Example #10
Source File: NewSarlInterfaceWizard.java    From sarl with Apache License 2.0 4 votes vote down vote up
/** Constructor.
 * @param imgHelper the helper for getting images.
 * @param page the page of the wizard.
 */
@Inject
public NewSarlInterfaceWizard(IImageDescriptorHelper imgHelper, NewSarlInterfaceWizardPage page) {
	super(imgHelper, page, Messages.NewSarlInterfaceWizard_0);
}
 
Example #11
Source File: NewSarlEnumerationWizard.java    From sarl with Apache License 2.0 4 votes vote down vote up
/** Constructor.
 * @param imgHelper the helper for getting images.
 * @param page the page of the wizard.
 */
@Inject
public NewSarlEnumerationWizard(IImageDescriptorHelper imgHelper, NewSarlEnumerationWizardPage page) {
	super(imgHelper, page, Messages.NewSarlEnumerationWizard_0);
}
 
Example #12
Source File: DefaultUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
/**
 * @since 2.4
 */
public Class<? extends IImageDescriptorHelper> bindIImageDescriptorHelper() {
	return PluginImageHelper.class;
}
 
Example #13
Source File: GamlUiModule.java    From gama with GNU General Public License v3.0 4 votes vote down vote up
@Override
public Class<? extends IImageDescriptorHelper> bindIImageDescriptorHelper() {
	return GamlImageHelper.class;
}
 
Example #14
Source File: NewXtendAnnotationWizard.java    From xtext-xtend with Eclipse Public License 2.0 4 votes vote down vote up
@Inject
public NewXtendAnnotationWizard(IImageDescriptorHelper imgHelper, NewXtendAnnotationWizardPage page) {
	super(imgHelper, page, TITLE);
}
 
Example #15
Source File: NewXtendEnumWizard.java    From xtext-xtend with Eclipse Public License 2.0 4 votes vote down vote up
@Inject
public NewXtendEnumWizard(IImageDescriptorHelper imgHelper, NewXtendEnumWizardPage page) {
	super(imgHelper, page, TITLE);
}
 
Example #16
Source File: NewXtendClassWizard.java    From xtext-xtend with Eclipse Public License 2.0 4 votes vote down vote up
@Inject
public NewXtendClassWizard(IImageDescriptorHelper imgHelper, NewXtendClassWizardPage page) {
	super(imgHelper, page, TITLE);
}
 
Example #17
Source File: NewXtendInterfaceWizard.java    From xtext-xtend with Eclipse Public License 2.0 4 votes vote down vote up
@Inject
public NewXtendInterfaceWizard(IImageDescriptorHelper imgHelper, NewXtendInterfaceWizardPage page) {
	super(imgHelper, page, TITLE);
}