Administration Tools

org.topcased.service.projecttotemplate.action
Class ProjectToTemplateAction

java.lang.Object
  extended by org.topcased.service.projecttotemplate.action.ProjectToTemplateAction
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IObjectActionDelegate

public class ProjectToTemplateAction
extends java.lang.Object
implements org.eclipse.ui.IObjectActionDelegate

ProjectToTemplateAction is a popup action on a repository. It launch wizard to create a template xml file from current repository


Constructor Summary
ProjectToTemplateAction()
           
 
Method Summary
 void run(org.eclipse.jface.action.IAction action)
          Call a wizard in order to create a template xml file from current repository.
 void selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection)
          Take the repository path selected
 void setActivePart(org.eclipse.jface.action.IAction action, org.eclipse.ui.IWorkbenchPart targetPart)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectToTemplateAction

public ProjectToTemplateAction()
Method Detail

setActivePart

public void setActivePart(org.eclipse.jface.action.IAction action,
                          org.eclipse.ui.IWorkbenchPart targetPart)
Specified by:
setActivePart in interface org.eclipse.ui.IObjectActionDelegate
See Also:
IObjectActionDelegate.setActivePart(IAction, IWorkbenchPart)

run

public void run(org.eclipse.jface.action.IAction action)
Call a wizard in order to create a template xml file from current repository.

Specified by:
run in interface org.eclipse.ui.IActionDelegate
See Also:
IActionDelegate.run(IAction)

selectionChanged

public void selectionChanged(org.eclipse.jface.action.IAction action,
                             org.eclipse.jface.viewers.ISelection selection)
Take the repository path selected

Specified by:
selectionChanged in interface org.eclipse.ui.IActionDelegate
See Also:
IActionDelegate.selectionChanged(IAction, ISelection)

Administration Tools

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.