Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2009 Bestsolution.at and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Common Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/cpl-v10.html Contributors: Tom Schindl<tom.schindl@bestsolution.at> - Initial API and implementation
package org.eclipse.emf.example.databinding.project.ui.rcp;
Adds special variables to the application context
{
  
The model resource variable
  public static final String MODEL_RESOURCE_NAME = "modelresource";
  
The committer variable
  public static final String COMMITTER_NAME = "committer";
  
The project variable
  public static final String PROJECT_NAME = "project";
  private HashMap<StringObjectmap = new HashMap<StringObject>();
  public void dispose()
  {
     = null;
  }
  public Map< ? , ? > getCurrentState()
  {
    return ;
  }
  {
    return new String []{  };
  }

  
Set the current model resource

Parameters:
resource the resource
  public void setModelResource(IModelResource resource)
  {
    .put(resource);
  }

  
Set the current committer

Parameters:
committer the committer
  public void setCommitter(CommitterShip committer)
  {
    .put(committer);
  }

  
Set the current project

Parameters:
project the project
  public void setProject(Project project)
  {
    .put(project);
  }
New to GrepCode? Check out our FAQ X