Issue #429 add not yet implemented to a few buttons
Former-commit-id:d2a0bb20f6
[formerly31d2720a5c
] [formerly8083ddf51e
[formerly 2e263d7fe77e1451af775f0c55eb82c5d092e45c]] Former-commit-id:8083ddf51e
Former-commit-id:dde8229516
This commit is contained in:
parent
9f2e23f26b
commit
29668ee637
3 changed files with 20 additions and 0 deletions
|
@ -1150,6 +1150,11 @@ public class CollaborationGroupView extends ViewPart implements IPartListener {
|
|||
}
|
||||
|
||||
private void addUsersToGroup() {
|
||||
// TODO, one add user is implemented, remove this
|
||||
if (true) {
|
||||
nyiFeature("Add user is not yet implemented");
|
||||
return;
|
||||
}
|
||||
Set<CollaborationUser> users = getSelectedUsers();
|
||||
IStructuredSelection selection = (IStructuredSelection) usersTreeViewer
|
||||
.getSelection();
|
||||
|
|
|
@ -19,6 +19,10 @@
|
|||
**/
|
||||
package com.raytheon.uf.viz.collaboration.ui.actions;
|
||||
|
||||
import org.eclipse.swt.SWT;
|
||||
import org.eclipse.swt.widgets.Display;
|
||||
import org.eclipse.swt.widgets.MessageBox;
|
||||
|
||||
import com.raytheon.viz.ui.actions.ContributedEditorMenuAction;
|
||||
|
||||
/**
|
||||
|
@ -55,5 +59,11 @@ public class ShareEditorAction extends ContributedEditorMenuAction {
|
|||
public void run() {
|
||||
// TODO need to add this editor to the list of editors associated with
|
||||
// the collaboration session
|
||||
// remove the message box and the not yet implemented message
|
||||
MessageBox messageBox = new MessageBox(Display.getCurrent()
|
||||
.getActiveShell(), SWT.ICON_INFORMATION);
|
||||
messageBox.setText("Not Yet Implemented");
|
||||
messageBox.setMessage("Share Editor is not yet implemented");
|
||||
messageBox.open();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -140,6 +140,11 @@ public class CollaborationPathToolbar extends PathToolbar {
|
|||
DrawingLayer layer = getDrawingResource();
|
||||
CollaborationDrawingLayer dLayer = (CollaborationDrawingLayer) layer;
|
||||
dLayer.sendDisableOthers();
|
||||
if (leaderOnly.getSelection()) {
|
||||
lastTool.activate();
|
||||
} else {
|
||||
lastTool.deactivate();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue