|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.telelogic.synergy.integration.ui.toolbar.SelectedResourceAction
com.telelogic.integration.eclipse.guide.taskbar.FastCheckIn
public class FastCheckIn
Provides functionality to perform a checkin operation without confirmation on selected Synergy files in the Navigator view.
Our sample action implements workbench action delegate. The action proxy will be created by the workbench and shown in the UI. When the user tries to use the action, this delegate will be created and execution will be delegated to it.
You may copy, modify, and distribute these samples, or their modifications,
in any form, internally or as part of your application or related documentation.
These samples have not been tested under all conditions and are provided to you
by IBM without obligation of support of any kind. IBM PROVIDES THESE SAMPLES
"AS IS", SUBJECT TO ANY STATUTORY WARRANTIES THAT CANNOT BE EXCLUDED. IBM MAKES
NO WARRANTIES OR CONDITIONS, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OR CONDITIONS OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT REGARDING THESE SAMPLES OR
TECHNICAL SUPPORT, IF ANY.
Constructor Summary | |
---|---|
FastCheckIn()
The constructor. |
Method Summary | |
---|---|
java.lang.String |
Checkin(java.lang.String connectionName,
java.lang.String fileset,
java.lang.String comments,
org.eclipse.core.runtime.IProgressMonitor monitor)
This function checks in the selected resources. |
void |
dispose()
We can use this method to dispose of any system resources we previously allocated. |
void |
init(org.eclipse.ui.IWorkbenchWindow window)
|
void |
run(org.eclipse.jface.action.IAction action)
The action has been activated. |
void |
selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection)
Selection in the workbench has been changed. |
Methods inherited from class com.telelogic.synergy.integration.ui.toolbar.SelectedResourceAction |
---|
getSelectedResource |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FastCheckIn()
Method Detail |
---|
public void run(org.eclipse.jface.action.IAction action)
run
in interface org.eclipse.ui.IActionDelegate
run
in class com.telelogic.synergy.integration.ui.toolbar.SelectedResourceAction
IActionDelegate.run(org.eclipse.jface.action.IAction)
public java.lang.String Checkin(java.lang.String connectionName, java.lang.String fileset, java.lang.String comments, org.eclipse.core.runtime.IProgressMonitor monitor)
connectionName
- Connection Name of the database connection. If null or empty, operation will be aborted.fileset
- Full path of the file on the local system to perform an undo checkout operation on.comments
- Any comments associated with the undo checkout of the file. This is set to be null by default.monitor
- An instance of IProgressMonitor.
IActionDelegate.selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)
public void selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection)
selectionChanged
in interface org.eclipse.ui.IActionDelegate
selectionChanged
in class com.telelogic.synergy.integration.ui.toolbar.SelectedResourceAction
IActionDelegate.selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)
public void dispose()
dispose
in interface org.eclipse.ui.IWorkbenchWindowActionDelegate
dispose
in class com.telelogic.synergy.integration.ui.toolbar.SelectedResourceAction
IWorkbenchWindowActionDelegate.dispose()
public void init(org.eclipse.ui.IWorkbenchWindow window)
init
in interface org.eclipse.ui.IWorkbenchWindowActionDelegate
init
in class com.telelogic.synergy.integration.ui.toolbar.SelectedResourceAction
IWorkbenchWindowActionDelegate.init(org.eclipse.ui.IWorkbenchWindow)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |