Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [spaces-dev] Managing publications

Hi,

- I think the PublishingArea should be responsible for how the data in a
publishing area can be changed (i.e. it knows about the structure inside
this area and any semantics).

- The Publishing operations that writes data into the area must naturally
abide to the area rules.

- It would be quite easy to show the EFS file tree for a publishing area in
a treeview and let the user do whatever she wants with the files - e.g.
delete them.

- The actions on files in a PublishingArea could be delegated to the
PublishingArea to handle. The publishing area could also provide
canDelete(IFileStore) (or similar) operations to guide the user interface.

- The PublishingArea could also provide some more advanced mechanism to
allow other types of actions like "remove all plugins and features that are
not the latest" - these would be implemented as methods on the
PublishingArea, and supported via Dialogs or Wizards (as needed if they
require more complex user interaction).

- Finally - how are these operations invoked by the user? Well, since the
resources may not be present in the workspace, the only option that I see is
to use the SpacesView, drill down into the space, drill down to the
publishing area, continue drill down to files if the PublishingArea is
"transparent", and invoke the operation from a context menu on a file. (Sort
of like the action "SVN add remove folder" in the repo view). Alternative if
area is opaque, invoke action from context menu over Area node in the
SpacesView tree.

Howzabout something like that?

- henrik

-----Original Message-----
From: spaces-dev-bounces@xxxxxxxxxxx [mailto:spaces-dev-bounces@xxxxxxxxxxx]
On Behalf Of Thomas Hallgren
Sent: fredag 25 januari 2008 22:03
To: Developer discussions for the Spaces project
Subject: [spaces-dev] Managing publications

I've implemented an IPublishingSelector that returns my 
OSGiPublishingOperation. The operation contains the space and the 
resource to publish. A wizard can be started where the user can enter 
additional information about the publishing etc. and finally start the 
actual publishing job. So far so good.

Now let's assume that I want to manage something that has been 
published. I want to remove some stuff that I no longer have in my 
workspace. How do I get hold of my publishing operation and wizard? I 
have no resource selected this time.

- thomas

_______________________________________________
spaces-dev mailing list
spaces-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/spaces-dev



Back to the top