Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
517221: Initialize Import Favorites with random favorites lists of ot…
…her users - Discover Favorites Lists - Show Favorites Lists in empty Import wizard - Fixed concurrency issue on drag&drop - Fine-tuned some of the discovery entry layouts - Show nicer user info message in empty Import wizard Bug: 517221 Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=517221
- Loading branch information
Showing
37 changed files
with
912 additions
and
325 deletions.
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
org.eclipse.epp.mpc.core/src/org/eclipse/epp/internal/mpc/core/model/FavoriteList.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2010 The Eclipse Foundation and others. | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v1.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v10.html | ||
* | ||
* Contributors: | ||
* The Eclipse Foundation - initial API and implementation | ||
*******************************************************************************/ | ||
package org.eclipse.epp.internal.mpc.core.model; | ||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
import org.eclipse.epp.mpc.core.model.IFavoriteList; | ||
import org.eclipse.epp.mpc.core.model.INode; | ||
|
||
public class FavoriteList extends Identifiable implements IFavoriteList { | ||
|
||
private List<INode> nodes = new ArrayList<INode>(); | ||
|
||
private String owner; | ||
|
||
public String getOwner() { | ||
return owner == null ? getId() : owner; | ||
} | ||
|
||
public void setOwner(String owner) { | ||
this.owner = owner; | ||
} | ||
|
||
public List<INode> getNodes() { | ||
return nodes; | ||
} | ||
|
||
public void setNodes(List<INode> nodes) { | ||
this.nodes = nodes; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.