Bundle-SymbolicName: org.argeo.cms.ui.workbench;singleton:=true
-Bundle-Activator: org.argeo.cms.ui.workbench.SecurityUiPlugin
+Bundle-Activator: org.argeo.cms.ui.workbench.WorkbenchUiPlugin
Bundle-ActivationPolicy: lazy
Require-Bundle: org.eclipse.core.runtime,\
WorkbenchUiPlugin.PLUGIN_ID + ".upperLeft", IPageLayout.LEFT,
0.4f, layout.getEditorArea());
upperLeft.addView(JcrBrowserView.ID);
-
}
}
\ No newline at end of file
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;
-/** Home perspective for the current user */
+/** First draft of a maintenance perspective. Not yet used */
public class MaintenancePerspective implements IPerspectiveFactory {
public final static String ID = WorkbenchUiPlugin.PLUGIN_ID
+ ".adminMaintenancePerspective";
IFolderLayout left = layout.createFolder("left", IPageLayout.LEFT,
0.30f, editorArea);
left.addView(UserProfile.ID);
- // left.addView(RolesView.ID);
}
}
\ No newline at end of file
return bundleContext;
}
- // * Returns the shared instance
- // *
- // * @return the shared instance
- // */
+ /*
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
public static WorkbenchUiPlugin getDefault() {
return plugin;
}
import org.osgi.service.useradmin.User;
import org.osgi.service.useradmin.UserAdmin;
-/** Opens the change password dialog. */
+/** Open the change password dialog */
public class OpenChangePasswordDialog extends AbstractHandler {
private final static Log log = LogFactory
.getLog(OpenChangePasswordDialog.class);
super.configureShell(shell);
shell.setText(changePassword.lead());
}
-
}
-}
+}
\ No newline at end of file
import org.argeo.eclipse.ui.EclipseUiException;
import org.argeo.eclipse.ui.TreeParent;
-/** Centralizes useful methods to manage the JCR Browser */
+/** Useful methods to manage the JCR Browser */
public class JcrBrowserUtils {
/** Insure that the UI component is not stale, refresh if needed */
e.printStackTrace();
return null;
}
-
}
-
-}
+}
\ No newline at end of file
return currentNode;
}
+ @SuppressWarnings("unchecked")
public Object getAdapter(@SuppressWarnings("rawtypes") Class adapter) {
return null;
}
this.queryType = queryType;
}
+ @SuppressWarnings("unchecked")
public Object getAdapter(@SuppressWarnings("rawtypes") Class adapter) {
return null;
}
this.path = path;
}
+ @SuppressWarnings("unchecked")
public Object getAdapter(@SuppressWarnings("rawtypes") Class adapter) {
return null;
}
this.workspaceName = workspaceName;
}
+ @SuppressWarnings("unchecked")
public Object getAdapter(@SuppressWarnings("rawtypes") Class adapter) {
return null;
}
this.username = username;
}
+ @SuppressWarnings("unchecked")
public Object getAdapter(@SuppressWarnings("rawtypes") Class adapter) {
return null;
}
this.username = username;
}
+ @SuppressWarnings("unchecked")
public Object getAdapter(@SuppressWarnings("rawtypes") Class adapter) {
return null;
}