Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2014 itemis AG (http://www.itemis.eu) and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html /
  
  package org.eclipse.xtext.ui.tasks.preferences;
  
 import  org.eclipse.core.resources.IProject;
 import  org.eclipse.core.runtime.IAdaptable;
 import  org.eclipse.jface.preference.IPreferencePageContainer;
 import  org.eclipse.jface.preference.IPreferenceStore;
 import  org.eclipse.swt.widgets.Composite;
 import  org.eclipse.swt.widgets.Control;
 import  org.eclipse.ui.preferences.IWorkbenchPreferenceContainer;
 

Author(s):
Stefan Oehme - Initial contribution and API
 
 
 	private String languageName;
 	
 	public TaskTagPreferencePage() {
 	}
 
 	public void setLanguageName(@Named(.String languageName) {
 		this. = languageName;
 	}
 
 	public void setPreferenceStoreAccess(IPreferenceStoreAccess preferenceStoreAccess) {
 		this. = preferenceStoreAccess;
 	}
 
 	public void createControl(Composite parent) {
 		IWorkbenchPreferenceContainer container = (IWorkbenchPreferenceContainer) getContainer();
 		IPreferenceStore preferenceStore = .getWritablePreferenceStore(getProject());
 		 = new TaskTagConfigurationBlock(getProject(), preferenceStorecontainer);
 		super.createControl(parent);
 	}
 
 	protected Control createPreferenceContent(Composite composite, IPreferencePageContainer preferencePageContainer) {
 	}
 
 	protected boolean hasProjectSpecificOptions(IProject project) {
 	}
 
 	protected String getPreferencePageID() {
 		return  + ".task.preferencePage";
 	}
 
 	protected String getPropertyPageID() {
 		return  + ".task.propertyPage";
 	}
 
 	public void dispose() {
 		if ( != null) {
 		}
 		super.dispose();
 	}
 
 	protected void enableProjectSpecificSettings(boolean useProjectSpecificSettings) {
 		super.enableProjectSpecificSettings(useProjectSpecificSettings);
 		if ( != null) {
 		}
 	}
 
 	protected void performDefaults() {
 		super.performDefaults();
 		if ( != null) {
 		}
 	}
	public boolean performOk() {
		if ( != null) {
				return false;
			}
		}
		return super.performOk();
	}
	public void performApply() {
		if ( != null) {
		}
	}
	public void setElement(IAdaptable element) {
		super.setElement(element);
	}
New to GrepCode? Check out our FAQ X